target. During programming the LED will be yellow (red+green), either static
or blinking. When programming finishes the LED will become red if
programming failed or green if programming and erification succeeded.
User then must acknowledge the operation by pressing the button, which in
turn will cause the de ice to reattach its USB port.
LIMITATIONS OF THE MASS STORAGE MODE:
The current firmware for Mass Storage mode has the following limitations:
- Fuse and Lock bytes read, write and erification does not work on
most of the classic AVRs (AT90S2313, AT90S4433, AT90S8515)
due to inability of the chips to read back lock and fuse bytes and/
or due to their non-compatible ISP commands for doing that.
Flash writing works, though.
- The IHEX parser that is integrated into the firmware is ery basic.
Sometimes it will choke on perfectly alid IHEX images. In such
cases try to strip the IHEX from extraordinary IHEX records.
- File system must be formatted with FAT12. FAT16 and FAT32 will
not work. In most cases it will not be a problem as Windows
automatically chooses FAT12 for partitions less than 32Mbytes.
- The INI file parser is rather simple. It does not understand
comments and white spaces. It uses a simple substring search to
locate parameter alues. It is not case sensiti e, though.
- The INI parser scans only the first 128 characters, discarding the
rest of the file.
- The USB de ice is disconnected from USB Host while doing an
autonomous ISP operation.
SWITCHING OPERATING MODES:
Switching between STK500 2 and Mass Storage modes of operation is
achie ed by uploading the corresponding firmware image, using the same
process as de ice firmware upgrade.
See the section “Firmware Upgrade” for more information.
CLOCK OUTPUT:
Pin 3 of the ICSP10 connector is normally left unconnected by other ISP
programmers. Not ours. In normal programmer state this pin is tri-stated.
During programming operation, howe er, this pin is made output and a
square-wa e clock is generated. Clock frequency is fixed to 62.5kHz.
After programming operation finishes, this pin is again tri-stated in order
not to interfere with the target circuit.
This clock output can be really helpful when target AVR is accidentally
programmed with External Clock FUSE option. To resurrect it just wire
ICSP10 pin 3 to XTAL1 pin of the target AVR chip and initiate a
programming session to fix the FUSE alues.
CAV AT: If an error occurs in standalone mode, the “Lea e Programming
Mode” command will not be executed, so the external clock output will stay
acti e. Due to the AVR-ISP500 hardware implementation, this can cause
target VCC to be incorrectly read as Vtarget=5V.