ashtian01 / optiboot

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

Fuse bits for ATmega8 not compatible with historical boards.txt, or my SSS board #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Burn optiboot into an ATmega8 with the Makefile-specified fuses (0xBF, 0xDC
2. put the ATmega8 in an old resonator-equipped Single-sided-serial board
3. Attempt to use

What is the expected output? What do you see instead?
For some types of resonator (ECS ZTT series), the oscillator does not seem to 
start.  A scope shows no clock waveform on the oscillator pins.

What version of the product are you using? On what operating system?

Please provide any additional information below.
The ATmega8 datasheet says that bit 4 of the High fuses (CKOPT) should be 
programmed (0) for 8 to 16MHz operation with a resonator.  The current and 
historical boards.txt file uses a value with CKOPT=0 for ATmega8 on "NG or 
older" boards, and I think optiboot should use this setting as well (this makes 
the fuse settings for Mega8 be 0xBF, 0xCC, I think.)  My SSS board with the ZTT 
resonator was restored to life by these settings, and I think the only downside 
is somewhat higher power consumption on boards with more sensitive crystals...

Original issue reported on code.google.com by wes...@gmail.com on 16 Jan 2011 at 10:13

GoogleCodeExporter commented 8 years ago

Original comment by wes...@gmail.com on 29 Oct 2011 at 5:27

GoogleCodeExporter commented 8 years ago
Fixed as part of the great optiboot/Arduino sync-up
http://code.google.com/p/optiboot/source/detail?r=8559b64fd093d3976cae58778a1540
256cde5c8e

Original comment by wes...@gmail.com on 30 Oct 2011 at 8:19