JetForMe

ATmega16m1 avrdude part description

Jul 9th, 2016
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #------------------------------------------------------------
  2. # ATmega16M1
  3. #------------------------------------------------------------
  4.  
  5. part
  6.     id                  =   "m16m1";
  7.     desc                =   "ATmega16M1";
  8.     has_debugwire       =   yes;
  9.     stk500_devcode      =   0x86;
  10.     #avr910_devcode     =   0x;
  11.     flash_instr         =   0xB6, 0x01, 0x11;
  12.     eeprom_instr        =   0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00,
  13.                             0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF,
  14.                             0x99, 0xF9, 0xBB, 0xAF;
  15.     signature           =   0x1e 0x94 0x84;
  16.     pagel               =   0xd7;
  17.     bs2                 =   0xe2;
  18.    
  19.     timeout             =   200;
  20.     stabdelay           =   100;
  21.     cmdexedelay         =   25;
  22.     synchloops          =   32;
  23.     bytedelay           =   0;
  24.     pollindex           =   3;
  25.     pollvalue           =   0x53;
  26.     predelay            =   1;
  27.     postdelay           =   1;
  28.     pollmethod          =   1;
  29.  
  30.     pp_controlstack     =   0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F,
  31.                             0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F,
  32.                             0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B,
  33.                             0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00;
  34.     hventerstabdelay    =   100;
  35.     progmodedelay       =   0;
  36.     latchcycles         =   5;
  37.     togglevtg           =   1;
  38.     poweroffdelay       =   15;
  39.     resetdelayms        =   1;
  40.     resetdelayus        =   0;
  41.     hvleavestabdelay    =   15;
  42.     resetdelay          =   15;
  43.     chiperasepulsewidth =   0;
  44.     chiperasepolltimeout    =   10;
  45.     programfusepulsewidth   =   0;
  46.     programfusepolltimeout  =   5;
  47.     programlockpulsewidth   =   0;
  48.     programlockpolltimeout  =   5;
  49.  
  50.     ocdrev              =   1;
  51.  
  52.     pgm_enable          =   "1 0 1 0  1 1 0 0    0 1 0 1  0 0 1 1",
  53.                             "x x x x  x x x x    x x x x  x x x x";
  54.  
  55.     chip_erase_delay    =   9000;
  56.     chip_erase          =   "1 0 1 0  1 1 0 0    1 0 0 x  x x x x",
  57.                             "x x x x  x x x x    x x x x  x x x x";
  58.  
  59.     memory "flash"
  60.         paged           =   yes;
  61.         size            =   16384;
  62.         page_size       =   128;
  63.         num_pages       =   128;
  64.         min_write_delay =   4500;
  65.         max_write_delay =   4500;
  66.         readback_p1     =   0xff;
  67.         readback_p2     =   0xff;
  68.         read_lo         =   "  0   0   1   0      0   0   0   0",
  69.                             "  0   0   0 a12    a11 a10  a9  a8",
  70.                             " a7  a6  a5  a4     a3  a2  a1  a0",
  71.                             "  o   o   o   o      o   o   o   o";
  72.  
  73.         read_hi         =   "  0   0   1   0      1   0   0   0",
  74.                             "  0   0   0 a12    a11 a10  a9  a8",
  75.                             " a7  a6  a5  a4     a3  a2  a1  a0",
  76.                             "  o   o   o   o      o   o   o   o";
  77.  
  78.         loadpage_lo     =   "  0   1   0   0      0   0   0   0",
  79.                             "  0   0   x   x      x   x   x   x",
  80.                             " a7  a6  a5  a4     a3  a2  a1  a0",
  81.                             "  i   i   i   i      i   i   i   i";
  82.  
  83.         loadpage_hi     =   "  0   1   0   0      1   0   0   0",
  84.                             "  0   0   x   x      x   x   x   x",
  85.                             " a7  a6  a5  a4     a3  a2  a1  a0",
  86.                             "  i   i   i   i      i   i   i   i";
  87.  
  88.         writepage       =   "  0   1   0   0      1   1   0   0",
  89.                             "a15 a14 a13 a12    a11 a10  a9  a8",
  90.                             " a7  a6   x   x      x   x   x   x",
  91.                             "  x   x   x   x      x   x   x   x";
  92.  
  93.         mode        =   0x41;
  94.         delay       =   6;
  95.         blocksize   =   128;
  96.         readsize    =   256;
  97.  
  98.     ;
  99.  
  100.     memory "eeprom"
  101.         paged           =   no;
  102.         page_size       =   4;
  103.         size            =   512;
  104.         min_write_delay =   3600;
  105.         max_write_delay =   3600;
  106.         readback_p1     =   0xff;
  107.         readback_p2     =   0xff;
  108.         read            =   "  1   0   1   0      0   0   0   0",
  109.                             "  0   0   0   x      x   x  a9  a8",
  110.                             " a7  a6  a5  a4     a3  a2  a1  a0",
  111.                             "  o   o   o   o      o   o   o   o";
  112.  
  113.         write           =   "  1   1   0   0      0   0   0   0",
  114.                             "  0   0   0   x      x   x  a9  a8",
  115.                             " a7  a6  a5  a4     a3  a2  a1  a0",
  116.                             "  i   i   i   i      i   i   i   i";
  117.  
  118.         loadpage_lo     =   "  1   1   0   0      0   0   0   1",
  119.                             "  0   0   0   0      0   0   0   0",
  120.                             "  0   0   0   0      0   0  a1  a0",
  121.                             "  i   i   i   i      i   i   i   i";
  122.  
  123.         writepage       =   "  1   1   0   0      0   0   1   0",
  124.                             "  0   0   x   x      x   x  a9  a8",
  125.                             " a7  a6  a5  a4     a3  a2   0   0",
  126.                             "  x   x   x   x      x   x   x   x";
  127.         mode            =   0x41;
  128.         delay           =   10;
  129.         blocksize       =   128;
  130.         readsize        =   256;
  131.     ;
  132.  
  133.     memory "lock"
  134.         size            =   1;
  135.         read            =   "0 1 0 1  1 0 0 0   0 0 0 0  0 0 0 0",
  136.                             "x x x x  x x x x   x x o o  o o o o";
  137.  
  138.         write           =   "1 0 1 0  1 1 0 0   1 1 1 x  x x x x",
  139.                             "x x x x  x x x x   1 1 i i  i i i i";
  140.         min_write_delay =   4500;
  141.         max_write_delay =   4500;
  142.         ;
  143.  
  144.     memory "signature"
  145.         size            =   3;
  146.         read            =   "0  0  1  1   0  0  0  0   0  0  0  x   x  x  x  x",
  147.                             "x  x  x  x   x  x a1 a0   o  o  o  o   o  o  o  o";
  148.         ;
  149.  
  150.     memory "lfuse"
  151.         size            =   1;
  152.         read            =   "0 1 0 1  0 0 0 0   0 0 0 0  0 0 0 0",
  153.                             "x x x x  x x x x   o o o o  o o o o";
  154.  
  155.         write           =   "1 0 1 0  1 1 0 0   1 0 1 0  0 0 0 0",
  156.                             "x x x x  x x x x   i i i i  i i i i";
  157.         min_write_delay =   4500;
  158.         max_write_delay =   4500;
  159.         ;
  160.  
  161.     memory "hfuse"
  162.         size            =   1;
  163.         read            =   "0 1 0 1  1 0 0 0   0 0 0 0  1 0 0 0",
  164.                             "x x x x  x x x x   o o o o  o o o o";
  165.  
  166.         write           =   "1 0 1 0  1 1 0 0   1 0 1 0  1 0 0 0",
  167.                             "x x x x  x x x x   i i i i  i i i i";
  168.         min_write_delay =   4500;
  169.         max_write_delay =   4500;
  170.         ;
  171.  
  172.     memory "efuse"
  173.         size            =   1;
  174.         read            =   "0 1 0 1  0 0 0 0   0 0 0 0  1 0 0 0",
  175.                             "x x x x  x x x x   o o o o  o o o o";
  176.  
  177.         write           =   "1 0 1 0  1 1 0 0   1 0 1 0  0 1 0 0",
  178.                             "x x x x  x x x x   x x i i  i i i i";
  179.         min_write_delay =   4500;
  180.         max_write_delay =   4500;
  181.         ;
  182.  
  183.     memory "calibration"
  184.         size            =   1;
  185.         read            =   "0  0  1  1    1  0  0  0",
  186.                             "0  0  0  x    x  x  x  x",
  187.                             "0  0  0  0    0  0  0  0",
  188.                             "o  o  o  o    o  o  o  o";
  189.         ;
  190.  
  191.     ;
Advertisement
Add Comment
Please, Sign In to add comment