Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

How to lock avr-x devices ?

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR XTINY/MEGAX/AVRX
View previous topic :: View next topic  
Author Message
plouf

Bascom Member



Joined: 19 Jan 2012
Posts: 117
Location: Athens,Greece

greece.gif
PostPosted: Thu Jan 15, 2026 9:01 pm    Post subject: How to lock avr-x devices ? Reply with quote

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 ?

thanx

_________________
Christos
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6321
Location: Holland

blank.gif
PostPosted: Thu Jan 15, 2026 9:15 pm    Post subject: Reply with quote

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
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR XTINY/MEGAX/AVRX All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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