Follow-up Comment #5, bug #29264 (project avrdude):

When the opcodes AVR_OP_LOADPAGE_LO and AVR_OP_READ_LO are not defined in
avrdude.conf for the mem type flash for this device, it uses a_div=1 (byte
addressing) instead of a_div=2 (word addressing). So this be easily fixed in
avrdude.conf.

>From stk500.c stk500_paged_write():
  if ((m->op[AVR_OP_LOADPAGE_LO]) || (m->op[AVR_OP_READ_LO]))
    a_div = 2;
  else
    a_div = 1;

Copy and adapt the definitions from ATmega2560.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29264>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to