Please follow steps to flash ATmega with current CPM ATmega Firmware.
Steps require Main Vehicle PCB to be connected to vehicle to provide power |
For questions, please contact:
Start Atmel Studio 7.0 and load current vehicle firmware solution vehicle_atmega2560_firmware.atsln
Make sure vehicle is powered off before connecting programmer |
With vehicle power OFF, connect ICE programmer AVR Port to JTAG header.
Make sure to check pinout of Programmer, Vehicle and Connector Cable:
Turn ON vehicle and connect to ATmega Chip using Device Programming (Apply and Read).
Check Fuses See Low Level Controller for more information on fuses and first time use |
Here the fuses that deviate from the default that should be set correctly:
Fuse | Correct Setting |
---|---|
HIGH.SPIEN | Unchecked |
HIGH.EESAVE | Optional i.e. checked or unchecked |
LOW.CKDIV8 | Unchecked |
LOW_SUT_CKSEL | Ext. Crystal Osc. 8.0- MHz; Start-up time: 16 CK + 65ms |
Flash chip using Start without Debugging
Turn OFF vehicle after flashing is complete BEFORE disconnecting programmer |