For my XMega256 application I wrote a simple bootloader to reprogram the application section, it's working as expected and I'm fine with it.
Now I'd like to explore the possiblity for the bootloader to reprogram itself.
I read all the bootloader FAQ and I found this sentence:
"Since the bootloader can't easily update itself and applications almost never modify the
bootloader, you will need an external programmer to write the bootloader to the MCU."
So I assume there is soem hard way to do it, but I read a lot of times the datasheet and I wasn't able to find any indication on how can I achieve my goal.
Any help will be appreciated.