itsanjan / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

stk500v2 bootloader doesn't support reading fuses #544

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. avrdude -U Xfuse:r:-:h

What is the expected output? What do you see instead?
I expect to see the real fuse values.
Instead, all fuses return 0.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?

Arduino-0022, arduino mega2560 board.

Please provide any additional information below.
line 663 in 
https://github.com/arduino/Arduino/blob/master/hardware/arduino/bootloaders/stk5
00v2/stk500boot.c  (and also the comments in the header of the file)  say that 
this is simply not supported yet.

I can't find any other bug flagging this, so filed this.

Original issue reported on code.google.com by tweakne...@googlemail.com on 18 May 2011 at 5:25

GoogleCodeExporter commented 9 years ago
Does anyone have know where in the STK500 docs the specs for responding to the 
CMD_SPI_MULTI command are. I cant find how to figure out which one the request 
is for.

Mark

Original comment by mark.l.s...@gmail.com on 1 Jan 2012 at 9:34

GoogleCodeExporter commented 9 years ago
Note that fuse values are a bit irrelevant to a bootloader (and they can't be 
changed by the bootloader.)  Optiboot won't return real fuse values either.

Original comment by wes...@gmail.com on 30 Jul 2012 at 6:33

GoogleCodeExporter commented 9 years ago
Please look at the patch here:

https://github.com/arduino/Arduino/pull/1183

The updated hex bootloader is available here:

https://github.com/cmaglie/Arduino/blob/mega2560-bootloader/hardware/arduino/boo
tloaders/stk500v2/stk500boot_v2_mega2560.hex

Please check it out and report on github 
https://github.com/arduino/Arduino/pull/1183 success or failures.
Thank you!

C

Original comment by c.mag...@arduino.cc on 11 Feb 2013 at 3:01

GoogleCodeExporter commented 9 years ago

Original comment by c.mag...@arduino.cc on 11 Mar 2013 at 11:59