checking fuses

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am programming, ISP with 6 wires, an atmega48 mounted on my PCB. All is well, sort of ...the programming fails!! (using stk500 as the "programmer".

It also fails when I do a "verify fuses"....is there a way to tell WHAT fuses are failing?

I get::
reading fuses 0x53, 0x535 ok
WARNING fuse bit verification failed ----but no other info. how do you diagnose this??
By the way iu may have programmed the reset line to be disabled---can this be undone? And how?

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

Have you tried slowing down the programming clock? Using Studio and the STK500 you would go to the Board tab of the STK500 window in Studio. Then change the Oscillator (I think that is what it is called) frequency to 1MHz and then click on Write Osc. (or something like that...going from memory). The mega48 uses the 1MHz internal RC oscillator as its default clock. If the STK500 clock is running at 3.69MHz (which "seems" to be the default) then the signals are too fast for the mega48.

[edit] oops, just saw your last sentence. You will need to check into one of the High Voltage programming modes. Not sure if this can be done easily on your target board.

Regards,
Steve