jaspreeth / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Debug Fuses for mega2560? #424

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
----
1. Using an AVRISP mkII Programmer, fuse the OCD and JTAG fuses with this 
command as prescribed on the ardupilot wiki: -U hfuse:w:0x1a:m

2. Uploading code to the board then gives a stk500v2 time out error and does 
not allow the uploading of code till the bootloader is burnt.

What is the expected output? What do you see instead?
----
With the mega1280, I was able to upload code right after I enabled the fuses 
with the above command on avrdude. However, with the mega2560 it seems to be 
the wrong fuses are enabled as the board becomes unprogrammable after the OCD 
and JTAG fuses are enabled.

What version of the product are you using? On what operating system?
----
ATMega 2560. Linux (Debian)

Please provide any additional information below.
----
I am guessing that the fuses are enabled wrongly, but if you think something 
else is wrong do chip in. Any help on the issue is greatly appreciated!

Original issue reported on code.google.com by NatX.St...@gmail.com on 27 Sep 2011 at 7:11

GoogleCodeExporter commented 8 years ago
The APM2560 uses different fuse settings. Use the Arduino Mega 2560 settings at 
arduino.cc

Original comment by analogue...@gmail.com on 29 Sep 2011 at 4:35

GoogleCodeExporter commented 8 years ago
Could someone point me in the right direction? I have tried searching the 
arduino.cc page to no avail.

Original comment by NatX.St...@gmail.com on 7 Oct 2011 at 1:43

GoogleCodeExporter commented 8 years ago
NatX: the fuse settings are in boards.txt in your Arduino hardware folder

Original comment by analogue...@gmail.com on 2 Jan 2012 at 9:13