Society of Robots - Robot Forum

Software => Software => Topic started by: airman00 on October 12, 2008, 10:01:23 AM

Title: Flash Byte Address Error
Post by: airman00 on October 12, 2008, 10:01:23 AM
When I program my ATmega8 I get this error

Code: [Select]
Programming FLASH ..      OK!
Reading FLASH ..      OK!
WARNING: FLASH byte address 0x0000 is 0x1F (should be 0x1B).. FAILED!
Leaving programming mode.. OK!

Anyone know what this means and what I can do to fix it?
Title: Re: Flash Byte Address Error
Post by: izua on October 12, 2008, 11:55:59 AM
Verification fails because of a number of reasons nothing was written at the respective address (verification checks each byte in the hex file agains each byte written to the chip). Try programming another chip and see if this repeats. If it does, there is be a hardware/programmer problem. If not, the first chip is fcuked.
Title: Re: Flash Byte Address Error
Post by: Admin on October 14, 2008, 03:11:41 AM
I figure you probably did this already with no luck, but just in case . . . try a full recompile of the code. That often fixes a lot of the weird errors . . .