Step-by-Step Guide to Software-Installation
1. Build the board and double-check it.
2. Set the reset-select jumper near the ATMega16 to "ISP ATmega16".
3. Set the reset-select jumper near the ATMega8535 to "ISP ATmega8535".
4. Connect your
Programmer (STK200-dongle or whatever) to the ATmega16 ISP-Port.
5. Connect an external power supply to the Evertools board if STK200-PPI, AVRISP or
AVR910-type
Programmer is used.
6. Upload the Evertool bootloader into the ATmega16 flash using PonyProg or avrdude or whatever software can talk to you programmer.
7. Program the ATmega16 fuses and lock-bits (external high freq. crystal, boot-reset, boot-size 1024 words, SPM in boot-section locked).
8. Connect your
Programmer (STK200-dongle or whatever) to the ATmega8535 ISP-Port.
9. Program the ATmega8535 fuses (external high freq. crystal, AT90S8535-compatibility flag (not needed - but can not do any harm)).
10. Set the reset-select jumper near the ATmega16 to "Normal/ATmega8535 programming".
11. Power-down the Evertool board.
12. Connect your PCs serial port to the Evertool board with a serial/RS232 cable.
13. Select the UART-Jumpers/Switch to connect to the ATmega16.
14. Close the "enable Bootloader (BL)" Jumper near the ATmega16.
15. Connect the ATmega16
ISP Pin-Header ("ISP mega16") to the ATmega8535
ISP Pin-Header ("ISP mega8535") with a 10-wire cable (You will need such a cable to connect Evertool to you target boards - so this is no extra part).
16. Power-up the board.
17. Start AVRStudio, start Tools/AVRProg. (2)
18. Select "ATmega16 boot" from the AVRProg device selection.
19. Select [Browse] and browse to /programs/Atmel/AVR Tools/JTAGICE in the file-dialog, select the file Upgrade.ebn (set filter to *.*).
20. Press the [Program] button in the "Flash" frame. Now the JTAGICE firmware gets uploaded into the ATmega16 via "self-programming" aka bootloader-programming and verified from the Evertool-bootloader.
21. Select "ATmega8515 boot" (yes: no typo. It's 8515 not 8535) from the AVRProg device selection.(3)
22. Select [Browse] and browse /programs/Atmel/AVR Tools/STK500, select the file stk500.ebn (set filter to *.*).
23. Press the [Program]-Flash button. AVRProg will ask to continue since the Flash "overwrites boot", select "continue". The next message box will ask if the file should be truncated: say "no". Now the Evertool-bootloader uploads and verifies the AVRISP firmware into the ATmega8535 via serial-(in-system-)programming.(4)
24. Power-down the board
25. Remove the cable between ATmega16 ISP-connector and ATmega8535 ISP-connector.
26. Open the Bootloader-Enable ("enable BL") Jumper near the ATmega16
27. Set the reset-select jumper near the ATMega8535 to "normal/AVRISP mode"
28. Done.
Lesezeichen