How to protect the microcontroller from copying. Lock bits and how to work with them

Published: 15 March 2021
on channel: Neoalternator
3,394
136

In this video I will tell you how to protect the microcontroller from copying information from it. Let's take a look at what Lock bits are and how to work with them. I will demonstrate a sketch that allows you to read the set Lock bits and contains two options for changing the lock bits. And let's talk about some of the oddities when dealing with lock bits. I will give an example for ATtiny85 and ATtiny13. But this method is also suitable for other AVR microcontrollers.

Utility to change Fuse and Lock bits - https://drive.google.com/file/d/1u0FI...
Video sketch - https://drive.google.com/file/d/1nqCa...

Links to electronic components from the video:
ATtiny13 DIP - http://alii.pub/62nc0s
ATtiny13 SOP package - http://alii.pub/62nc25
ATtiny85 DIP package - http://alii.pub/62nc3w
SOP8-DIP8 adapter for ATtiny13 / 25/45/85 - http://alii.pub/62nc43

0:00 Is it possible to protect the microcontroller from copying?
0:26 What are Lock Bits
1:38 Lock bits of different microcontrollers
2:38 Description of Lock Bits
3:25 am Preparing a demo sketch
4:16 Read Lock Byte
5:06 Change the first Lock bit
7:31 Change of the second Lock bit
8:55 Unlocking the microcontroller
10:07 Lock bit feature on ATtiny13


Watch video How to protect the microcontroller from copying. Lock bits and how to work with them online without registration, duration hours minute second in high quality. This video was added by user Neoalternator 15 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,39 once and liked it 13 people.