Hello to all,
I have verified that my AVRISP mkII programmer is working with my other boards (one of which has a ATmega644p on it), so I feel confident its not my programmer. What I’m finding with the AVcore module is that when I program the Fuses with the settings of a known working AVcore unit I’m noticing what is being written (fuses) is not what is being read back and I believe that could be causing the “WARNING: Fuse bits verification… FAILED” error. I could be off base as to my understanding of these fuses still may not be totally clear. Any help would be most appreciated. Basically, at this time I have an AVcore mod that all it does is play ESD Attack!!!
Thanks,
Mike
Latest programmer settings and readings:
Setting Used: Based on Alex confirmed working on his AVcore.
Fuses Tab
BODLEVEL = Brown-out detection disable;[BODLEVEL=111]
SPIEN = checked
EESAVE = Will not pass verify if checked
BOOTSZ = Will not pass verify if selected = Boot Flash size=2048 words Boot start address=$7800
BOOTRST = Will not pass verify if checked
SUT_CLSEL = Ext. Crystal Osc. 8.0- MHz; Start-up time: 1K CK + 4.1 ms
EXTENDED = 0xFF
HIGH = 0xD2
LOW = 0xFE
Results of trying to program the above settings:
Setting mode and device parameters… OK!
Entering programming mode… OK!
Writing fuses address 0 to 2… 0xFE, 0xD2, 0xFF … OK!
Reading fuses address 0 to 2… 0xFE, 0xDF, 0xFF … OK!
WARNING: Fuse bits verification… FAILED
Leaving programming mode… OK!
It is reading the second set of numbers differently 0xD2 & 0xDF.
When I use the settings it allows for passing verification or programming;
Fuses Tab
BODLEVEL = Brown-out detection disable;[BODLEVEL=111]
SPIEN = checked
BOOTSZ = Will only Program or Verify with this selection = Boot Flash size=512 words Boot start address=$7E00
SUT_CLSEL = Ext. Crystal Osc. 8.0- MHz; Start-up time: 1K CK + 4.1 ms
I get this result:
Setting mode and device parameters… OK!
Entering programming mode… OK!
Reading fuses address 0 to 2… 0xFE, 0xDF, 0xFF … OK!
Fuse bits verification… OK
Leaving programming mode… OK!
EXTENDED = 0xFF
HIGH = 0xDF
LOW = 0xFE
And when I program the flash with these settings I get this result:
Getting isp parameter… SD=0x06 … OKOK
Reading FLASH input file… OK
Setting mode and device parameters… OK!
Entering programming mode… OK!
Erasing device… OK!
Programming FLASH … OK!
Reading FLASH … OK!
WARNING: FLASH byte address 0x0002 is 0x08 (should be 0xE2)… FAILED!
Leaving programming mode… OK!