I wonder if there is possibility to lock the application flash for R/W from an ISP interface, but still read eep/flash sections by a custom (or not) bootloader (and send the data over USB).
My goal is to protect my code and still be able to get some data, stored in flash/eep, extracted via the bootloader.
Using external flash would solve that problem, but that hardware change is not an option, no pins available and too little time.
Also, is there a way to lock FLASH but not EEP. I think there isn't, I thing it was possible for the Mega family, but not for the XMega?
Thanks in advance!