Skip to content

Instantly share code, notes, and snippets.

@s-kostyuk
Last active September 16, 2018 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s-kostyuk/4a9c04d54f24b7d866a5950fb53c6995 to your computer and use it in GitHub Desktop.
Save s-kostyuk/4a9c04d54f24b7d866a5950fb53c6995 to your computer and use it in GitHub Desktop.

Revisions

  1. s-kostyuk revised this gist Sep 16, 2018. 1 changed file with 165 additions and 1 deletion.
    166 changes: 165 additions & 1 deletion avrdude.conf
    @@ -206,6 +206,10 @@
    #define ATTINY28 0x22 #define ATTINY28 0x22
    #define ATTINY2313 0x23 #define ATTINY2313 0x23


    #define AT89START 0xE0
    #define AT89S51 0xE0
    #define AT89S52 0xE1

    #define AT90S1200 0x33 #define AT90S1200 0x33


    #define AT90S2313 0x40 #define AT90S2313 0x40
    @@ -247,6 +251,10 @@


    #define AT86RF401 0xD0 #define AT86RF401 0xD0


    #define AT89START 0xE0
    #define AT89S51 0xE0
    #define AT89S52 0xE1

    # The following table lists the devices in the original AVR910 # The following table lists the devices in the original AVR910
    # appnote: # appnote:
    # |Device |Signature | Code | # |Device |Signature | Code |
    @@ -16940,4 +16948,160 @@ part
    offset = 0x3f00; offset = 0x3f00;
    page_size = 16; page_size = 16;
    ; ;
    ; ;


    #------------------------------------------------------------
    # AT89S51
    #------------------------------------------------------------
    part
    id = "8052";
    desc = "AT89S51";
    signature = 0x1E 0x51 0x06;
    chip_erase_delay = 500000;
    pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
    "x x x x x x x x x x x x x x x x";

    chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x",
    "x x x x x x x x x x x x x x x x";

    timeout = 200;
    stabdelay = 100;
    cmdexedelay = 25;
    synchloops = 32;
    bytedelay = 0;
    pollindex = 3;
    pollvalue = 0x53;
    predelay = 1;
    postdelay = 1;
    pollmethod = 0;

    memory "flash"
    size = 4096;
    paged = no;
    min_write_delay = 4000;
    max_write_delay = 9000;
    readback_p1 = 0xff;
    readback_p2 = 0xff;
    read = " 0 0 1 0 0 0 0 0",
    " x x x a12 a11 a10 a9 a8",
    " a7 a6 a5 a4 a3 a2 a1 a0",
    " o o o o o o o o";

    write = " 0 1 0 0 0 0 0 0",
    " x x x a12 a11 a10 a9 a8",
    " a7 a6 a5 a4 a3 a2 a1 a0",
    " i i i i i i i i";
    mode = 0x21;
    delay = 12;
    ;

    memory "signature"
    size = 3;
    read = "0 0 1 0 1 0 0 0 x x x 0 0 0 a1 a0",
    "0 0 0 0 0 0 0 0 o o o o o o o o";
    ;
    ;
    #------------------------------------------------------------
    # AT89S52
    #------------------------------------------------------------
    part
    id = "8052";
    desc = "AT89S52";
    signature = 0x1E 0x52 0x06;
    chip_erase_delay = 500000;
    pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
    "x x x x x x x x x x x x x x x x";

    chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x",
    "x x x x x x x x x x x x x x x x";

    timeout = 200;
    stabdelay = 100;
    cmdexedelay = 25;
    synchloops = 32;
    bytedelay = 0;
    pollindex = 3;
    pollvalue = 0x53;
    predelay = 1;
    postdelay = 1;
    pollmethod = 0;

    memory "flash"
    size = 8192;
    paged = no;
    min_write_delay = 4000;
    max_write_delay = 9000;
    readback_p1 = 0xff;
    readback_p2 = 0xff;
    read = " 0 0 1 0 0 0 0 0",
    " x x x a12 a11 a10 a9 a8",
    " a7 a6 a5 a4 a3 a2 a1 a0",
    " o o o o o o o o";

    write = " 0 1 0 0 0 0 0 0",
    " x x x a12 a11 a10 a9 a8",
    " a7 a6 a5 a4 a3 a2 a1 a0",
    " i i i i i i i i";
    mode = 0x21;
    delay = 12;
    ;

    memory "signature"
    size = 3;
    read = "0 0 1 0 1 0 0 0 x x x 0 0 0 a1 a0",
    "0 0 0 0 0 0 0 0 o o o o o o o o";
    ;
    ;
    #------------------------------------------------------------
    # AT89S8253
    #------------------------------------------------------------
    part
    id = "8253";
    desc = "AT89S8253";
    chip_erase_delay = 20000;
    pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
    "x x x x x x x x x x x x x x x x";

    chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x",
    "x x x x x x x x x x x x x x x x";

    timeout = 200;
    stabdelay = 100;
    cmdexedelay = 25;
    synchloops = 32;
    bytedelay = 0;
    pollindex = 3;
    pollvalue = 0x53;
    predelay = 1;
    postdelay = 1;
    pollmethod = 0;

    memory "flash"
    size = 12288;
    paged = no;
    min_write_delay = 4000;
    max_write_delay = 9000;
    readback_p1 = 0xff;
    readback_p2 = 0xff;
    read = " 0 0 1 0 0 0 0 0",
    " x x a13 a12 a11 a10 a9 a8",
    " a7 a6 a5 a4 a3 a2 a1 a0",
    " o o o o o o o o";

    write = " 0 1 0 0 0 0 0 0",
    " x x a13 a12 a11 a10 a9 a8",
    " a7 a6 a5 a4 a3 a2 a1 a0",
    " i i i i i i i i";
    mode = 0x21;
    delay = 12;
    ;

    memory "signature"
    size = 2;
    readback_p1 = 0x1E;
    readback_p2 = 0x73;
    read = "0 0 1 0 1 0 0 0 x x x x x x x x",
    "x x 1 1 0 0 0 a0 o o o o o o o o";
    ;
    ;
  2. s-kostyuk created this gist Sep 16, 2018.
    16,943 changes: 16,943 additions & 0 deletions avrdude.conf
    16,943 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.