johnny78
Full Member level 5

hello Guys
im trying to lock the code in the ATMEGA328P & i have tried almost all the lock bit settings in atmel studio7
Further programming disabled
lpm & spm prohibited in application section
lpm & spm prohibited in boot section
after i set this lock bits what should happen ?
i have tried to read the chip after setting the lock bits & its read
in PIC MCU's the read is set of 0's so no program can be re write
what im testing here is simple but its not locking the code
im reading it again & programming it on another chip & it works
how to protect my code ?
thanks
Johnny
im trying to lock the code in the ATMEGA328P & i have tried almost all the lock bit settings in atmel studio7
Further programming disabled
lpm & spm prohibited in application section
lpm & spm prohibited in boot section
after i set this lock bits what should happen ?
i have tried to read the chip after setting the lock bits & its read
in PIC MCU's the read is set of 0's so no program can be re write
what im testing here is simple but its not locking the code
im reading it again & programming it on another chip & it works
how to protect my code ?
thanks
Johnny