How To Program The Scope
How To Program The Scope
The firmware of the scope resides in its core controller, ATmega64. This is an AVR series
micro-controller from Atmel. There two ways to program the chip for 06201. One is using a
programmer. The other is via the pre-loaded bootloader. This design note explains both.
Fig. 1 Fig. 2
7) Run command
avrsp -pl1 113-06201-050.eep
to burn in the EEPROM data (You need to program EEPROM if the board is the
first time being programmed).
8) Program fuse bytes in the following order (This is only needed at the chip is
programmed the first time or the fuses was changed).
avrsp -pl1 -fx11111111 (Fuse extended byte)
avrsp -pl1 -fh11000000 (Fuse higher byte)
avrsp -pl1 -fl10101110 (Fuse lower byte)
9) If no error reported the programming is done. Power down scope and remove
programming cable.
Oscilloscope PC
Level Converter
Board
Fig. 3
Fig. 4 Fig. 5
Fig. 6 Fig. 7
8) Keep scope power down off. Click on “Dn”icon (see Fig. 7. Alternatively you can click
on “Operate –Download”from the main menu) and power up the scope right after. You
will see AVRUBD is trying to communicate with the scope board. If handshake failed
you would see screen like that of Fig. 8.
9) Otherwise, Download is successful if you see screen like Fig. 9.
Fig. 8 Fig. 9
Notes
Fuse configuration of ATmega64 is as follows. Usually these settings should not be changed.
In case of these bytes are modified programmer is needed to restore them. They can not be
modified with bootloader.
Fuse Extended Byte: 0bxxxxxx11
Fuse Higher Byte: 0b11x00000
Fuse Lower Byte: 0b10101110
Revision History
Version Date Descriptions
01 2008.09.28 First created