You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

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:

  • Christoph Frauzem

This guide is for ATmega Flashing

For general information on ATmega chip see Low Level Controller

1. Atmel Studio 7.0

Start Atmel Studio 7.0 and load current vehicle firmware solution vehicle_atmega2560_firmware.atsln

2. ICE Programmer

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.

Pinout:

3. Flash ATmega

Turn ON vehicle and connect to ATmega Chip using Device Programming (Apply and Read).

Check Fuses

IMPORTANT: see Low Level Controller for more information on fuses and first time use


Flash chip using Start without Debugging

Turn OFF vehicle after flashing is complete BEFORE disconnecting programmer


For more information on general vehicle behaviour, Atmel code and debugging see Low Level Controller



  • No labels