AVReAl update — 1.28r14
avreal v1.28r14 (Mon 2013-08-05) has been released.
- Error in ATmega128rfr2, ATmega256rfr2 signatures — fixed;
- ATmega32HVE, ATmega64HVE added.
. .. ..o .oO .oO failed
avreal v1.28r14 (Mon 2013-08-05) has been released.
avreal v1.28r13 (Sun 2013-06-02) has been released.
Bug was found in SCK-pulse synchronisation in following conditions:
Microcontroller can be programmed again via USB-based adapter after erasing via LPT-based adapter.
In my case the bug appears with AT90S8515 but not reproduced for ATmega168.
Bugfix will be published as soon as possible.
The bug has been fixed in version 1.28r13.
avreal v1.28r9 (Tue 2011-12-20) has been released.
AVR ISP-programming starts with RESET activation following by transmitting of programming enable instruction. Entry sequence requirement is that SCK must be set to ‘0’ during RESET activation. Otherwise SCK falling edge causes unintended programming hardware state change.
The falling edge distorts 4-byte programming instruction. The microcontroller does not recognise it and does not enter programming mode. There is no sense to send programming entry instruction again because byte-level command’s phase is shifted by one SCK period. The last SCK pulse of previous instruction will act as extra pulse for subsequent command.
Synchronisation can also be corrupted during programming process. Read more in publication about AVReAl “synchronisation lost” message.
Atmel datasheets describe two methods for synchronisation recovery.
I have accidentally noticed that in avreal and in site texts and as a tag name I use british writing “synchronisation”. Like Molière’s character Jourdain I didn’t know that I used british writing. It is strange because american “synchronization” is used in Atmel datasheet which I quoted in “avreal synchronisation lost” post.
avreal v1.28r5 (Tue 2010-10-12) has been released.
avreal v1.28r4 (Tue 2010-09-07) has been released.
A strange bug was found in avreal 1.28r2 and 1.28r3. At the coincidence of conditions
for some microcontroller types avreal fails with “synchronosation lost” error after the first verification.
As can be found in site log phrase “synchronisation lost” is one of most popular in site search, but no one asks the question in comments.
“synchronisation lost” message means programmer-to-microcontroller communication fault. SPI interconnection between programming adapter and microcontroller works in the same manner as between two microcontrollers.