Hello there,
just working with the XMEGA_E5 series of microcontrollers. Since this family is quite new, I discovered some Extra that is not documented in the datasheet or manual.
- Erasing the application section erases the boot section too and vice versa. This is true for on chip memory programming (Bootloader) as well as for PDI programming. Maybe someone of the community is able to verify this behaviour.
Maybe there are other errata to be found.
BTW: The fact, that the CPU is halted when writing a flash page in the application section from the boot code, is quite worse. It is nearly useless to have a bootloader on the chip with an unidirectional upload interface. So the upload has to wait more than 4ms after the transmission of a page buffer, until the page is finished with writing. This way you can´t use a simple terminal program to update the micro. I can´t understand this step back, since all Megas and XMegas apart from the E5 are able to run the CPU inside of the Boot section when writing the application flash...