ATxmega128a1 eeprom and boot loader

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

Hello, I searched for solutions for this but have had no luck.

I have an ATxmega128a1 and I have been having some trouble using the eeprom and boot loader.
First I started by trying to write to the eeprom using avr/eeprom.h but could never get anything to compile since certain values weren't assigned. But I found on atmel's website code to use the eeprom. So now I can write to eeprom without using avr/eeprom.h. Only problem is I need to use the boot loader and the code in avr/boot.h uses avr/eeprom.h which is a problem for me.
Is there anyway to write to the boot loader without using avr/boot.h?

Thanks in advance.

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

As far as I know the very latest WinAVR (and hence the latest AVR-LibC if you aren't on Windows) now has support for Xmega in eeprom.h

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

Alright I will try to update my AVR and see if I can get different results. Thanks