I'm still in trouble using xboot and xmega32a4.
With xmega64a3 it works fine, but with xmega32a4 the programming is correct only the first time. Changing something in my own code and reprogram using xboot leads to a mismatch error in the memory cells changed.
I double checked the bootloader was programmed starting from 0x8000 (in byte). I read the actual contents of the flash and it is there.
Anyone used xboot on xmega32a4?
What do you recommend to find out the cause of the problem?
This is my fuses configuration:
FUSE SETTINGS ------------- FUSEBYTE0 = 0xFF FUSEBYTE1 = 0x77 FUSEBYTE2 = 0xBF FUSEBYTE4 = 0xF2 FUSEBYTE5 = 0xDA JTAGUSERID = 0xFF WDPD = 1KCLK WDP = 1KCLK DVSDON = 0 BOOTRST = BOOTLDR BODPD = DISABLED RSTDISBL = 0 SUT = 64MS WDLOCK = 0 BODACT = INSAMPLEDMODE EESAVE = 0 BODLVL = 2V9
Thank you very much