[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #29264] avrdude upload to xmega using stk500 protocol
From: |
Michael Dreher |
Subject: |
[avrdude-dev] [bug #29264] avrdude upload to xmega using stk500 protocol using byte addresses rather than word addresses |
Date: |
Sun, 10 Mar 2013 20:12:45 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #29264] avrdude upload to xmega using stk500 protocol using byte addresses rather than word addresses,
Michael Dreher <=