Joined: 19 Jan 2012 Posts: 117 Location: Athens,Greece
Posted: Thu Jan 15, 2026 9:01 pm Post subject: How to lock avr-x devices ?
i have a 32dd32, working with program in it
i try with mcs updi (Serial) to set the lock "Lock key = read and write lock"
since i set it frm the fuse page, and push "write fuse" avr stops working ! no other config,
i try to a second one 32dd32 push "refresh fuse" first, the lock, again it briked !
a) How can i set lock correctly ?
b) isnt after lock, able to recover it witha chiperase ? (no updi disable offcourse)
c) is "Config Fuses=ON,Lock=ON" enought to program and lock in 1 step ?
a : there is only 1 lock. it is either locked or not. correct way is option c
c : the idea is that you compile with both on. then use auto program and then the chip is locked.
b: using the UNLOCK option of the programmer you should be able to use it again. it will erase the chip.
Check config fuses in the help. _________________ Mark
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum