Stop XMEGA bootloader from erasing EEPROM

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

I'm using the ATXMEGA128A1U in a project that I've been programming using the "atxmega128a1u_104.hex" bootloader provided in AVR1916.

 

This bootloader erases the EEPROM every time it's invoked. I need the EEPROM to retain it's memory so this is a hassle for me.

 

I have seen this mentioned in a few other places but much research has lead me to no other viable USB DFU bootloader and no fix.

 

Anything i'm missing here or do I need to add external EEPROM if I want to use the bootloader (ugh)?

Last Edited: Sun. Feb 17, 2019 - 06:37 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hvguy0 wrote:
... but much research has lead me to no other viable USB DFU bootloader ...
AVR1916's bootloader has been modified :

https://www.avrfreaks.net/forum/booting-xmega-application-code-bootloader-and-staying-there#comment-2330251

Last post in that thread is mojo-chan's XMEGA DFU bootloader.

 

"Dare to be naïve." - Buckminster Fuller

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

Thanks! I just tried it but windows is giving me a device descriptor error. I will post to the other thread regarding it.