Self-Programmable Flash

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

I've tried using the example code provided by Atmel for the self-programmable Flash (AVR 1316) feature on the 128A3. The problem is that when it comes time to verify that what was loaded into Flash matches what it should be, it fails. Has anyone used this code before?

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

Just to say that you may want to read the Bootloader FAQ in the tutorial forum. One common pitfall is not placing the SPM code at the right address. In 128A3 it will be at 0x20000 (just above 128K) I think - but Atmel use word addressing and would call this 0x10000 which often confuses folks.