I have been searching the web, yet I couldn't find final answer. I would like to lock Atmega328p, so no one could download it's content, yet I would still like to be able to program the uC through USART port using FTDI serial interface.
My sketches are written on Arduino IDE, and for now I have been uploading sketches directly via it's interface.
I would like to know is it possible to use Arduino bootloader for uploading and still prevent reading. If not, what bootloader should I install in order to upload sketches (hex format?) via USART but still disable someone from reading the code from uC - both via USART or SPI. I would still like to be able to use serial communication via USART when program in running.
Thanks for advices