Skip to content
xiew edited this page Sep 22, 2011 · 6 revisions

Enabling Debug Fuses

##Introduction

Before debugging, the JTAG and On Chip Debug Enable Fuses have to be programmed in the ATMega 1280 or ATMega 2560 board. This section walks through the connections and steps of this procedure.

Note: This section assumes you have the required hardware prescribed on the main [Debug Debugging] page.

##Procedure

  • Separate the ArduPilotMega (APM) and Oilpan boards
  • Locate the SPI header on the APM board

##Advaned Section

  • How to calculate your AVR Fuses http://www.engbedded.com/fusecalc/
  • Watch out setting lfuse, DO NOT CHANGE THE CLOCK FREQUENCY!! If you do this we were only able to recover the device through the jtag ice mkii cn debugger using the -U lfuse:w:0xc2:m command for the 1280/2560 chips.

[Home] (/arktools/ardupilotone/wiki/Home)


[Hardware-in-the-loop Testing] (/arktools/ardupilotone/wiki/HIL)


[RoadMap] (/arktools/ardupilotone/wiki/RoadMap)

[Troubleshooting] (/arktools/ardupilotone/wiki/TroubleShooting)

Clone this wiki locally