High voltage programmer can reset lock bits without loosing code or program from atmega328?

anyone explain :
High voltage programmer can reset lock bits without loosing code or program from atmega328?

No, the current code in the flash will be deleted
Otherwise there would be no point in lock bits

From the Atmega328 datasheet (chapter 26.5):

Lock bits can be set in software in Serial or Parallel Programming mode, but they can be cleared by a Chip Erase command only.

2 Likes

To do this you need to edit bootloader first. But you can't if the lock bits forbids it.

2 Likes

please see in this video programmer jumper prevent the code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.