Page History
...
- Current Firmware: https://github.com/embedded-software-laboratory/cpm_lab/tree/master/low_level_controller
For questions, please contact Patrick Scheffe
Info |
---|
Steps require Main Vehicle PCB to be connected to vehicle to provide power |
...
- Patrick Scheffe
1. Atmel Studio 7.0
- Start Atmel Studio 7.0
- Load current vehicle firmware solution "vehicle_atmega2560_firmware.atsln"
...
- Check pinout of Programmer, Vehicle and Connector Cable:
- With vehicle power OFF, connect ICE programmer AVR Port to JTAG header.
- Connect ICE programmer with USB cable to PC.
3. Fuses
- Turn ON vehicle
- Connect to ATmega Chip using Device with Tools→Device Programming
- Click Apply
- Click Read
- Set the correct fuses . The following fuses deviate from the default(see table and screenshot below)
- Click Program
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 |
...
Info |
---|
If vehicle is behaving irregularly i.e. servo steering is acting erratic, LEDs timing appears off, this is most likely due to an issue with the clock.
|
...
Overview
Content Tools