Hi guys,
I have an ATXMega32D3 hooked up to a bluetooth chip and I would like to be able to reprogram it using a bootloader. I found https://github.com/bandtank/Xmega_Bootloader and installed it to my board. Then using AVRDUDE I ran
avrdude -p x32d3 -P com6 -b 9600 -c avr911 -U flash:w:ClipCounter.hex
Since AVRDUDE does not currently support the xmega32d3 I had to add it to the config file
#------------------------------------------------------------ # ATxmega32D3 #------------------------------------------------------------ part parent ".xmega" id = "x32d3"; desc = "ATxmega32D3"; signature = 0x1e 0x95 0x4a; memory "eeprom" size = 0x0800; offset = 0x08c0000; page_size = 0x20; readsize = 0x100; ; memory "application" size = 0x00008000; offset = 0x0800000; page_size = 0x100; readsize = 0x100; ; memory "apptable" size = 0x00000800; offset = 0x00800000; page_size = 0x100; readsize = 0x100; ; memory "boot" size = 0x00000800; offset = 0x00808000; page_size = 0x100; readsize = 0x100; ; memory "flash" size = 0x00008800; offset = 0x0800000; page_size = 0x100; readsize = 0x100; ; memory "usersig" size = 0x200; offset = 0x8e0400; page_size = 0x100; readsize = 0x100; ; ;
I believe that some of the values are wrong because when I try to upload a test program I get this: