 |
| Author |
Message |
|
|
Posted: Sep 01, 2011 - 05:49 PM |
|

Joined: Jul 28, 2010
Posts: 28
|
|
Hello,
I'm trying to make work the AVR1605 bootloader for Xmega.
I'm working under Codevision compiler with an ATxmega128A1, and compiler supplies a compatible modified code of the Atmel bootloader AVR1605.
I have started tests and the following functions work : read signature, read fuse, erase a device, eeprom program, eeprom read.
But the programmer fails when I try to read or program FLASH. It tells me "Programmer page size is not set". I don't know if the error come from the bootloader firmware or from the AVROSP !
But the page size (512) is defined in the bootloader firmware !
Moreover, the correct page size is also indicated in the device XML file (512). But not in the reduce version created by AVROSP when finding the device.
Do you have an idea ?
Thanks
Aurelien
PS : I have also downloaded AVROSPII.547 but it does not seem to support this device ? The XML files are provided by AVR Studio 5.0. |
|
|
| |
|
|
|
|
|
Posted: Sep 01, 2011 - 06:46 PM |
|

Joined: Jul 28, 2010
Posts: 28
|
|
Well...I have downloaded the last version of AVROSP (atmel website is a little messy), and now I can read and program whole device.
The only function that does not work is flash dump.
The operation starts well, but after some time the shell indicates "Setting address for programming operation failed ! Programmer did not return CR after 'A'- command".
I don't know why it want to program something...
Aurelien |
|
|
| |
|
|
|
|
|
Posted: Sep 01, 2011 - 06:55 PM |
|

Joined: Jul 28, 2010
Posts: 28
|
|
| Just a remark : I said that fuse reading was working, but the bootloader provided by Atmel does not include the full fuse reading/writing. It can handle only 3 bytes, while there are 6 bytes in Xmega... |
|
|
| |
|
|
|
|
|
Posted: Sep 01, 2011 - 07:53 PM |
|


Joined: Jul 18, 2005
Posts: 62281
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
I said that fuse reading was working, but the bootloader provided by Atmel does not include the full fuse reading/writing
Fuse WRITING? From a BOOTLOADER? Do the Xmegas have some feature the other AVRs don't then? |
_________________
|
| |
|
|
|
|
|
|
|