Answer the question
In order to leave comments, you need to log in
SAMD21 Arduino Zero - how to activate the protection bit?
There is a Chinese clone of Arduino Zero /
You need to protect it from copying. The documentation shows the presence of "Set Security Bit (SSB)".
Using Microchip Studio 7 and the "J-link" programmer, I open the corresponding section:
I press the button and receive confirmation.
I turn off the power of the controller and after turning it on I try to copy the memory.
And everything is perfectly copied. No security features appear.
Against the backdrop of a convenient and simple copy protection mechanism available in the AVR family of controllers, this situation is somewhat discouraging.
Question:
How does protection work for the ATSAMD21G18A controller and what is needed to activate it?
Answer the question
In order to leave comments, you need to log in
The solution (itself) was found, maybe someone will need it.
https://forum.arduino.cc/t/code-protection-for-sam...
The principle is this:
Apparently ... Arduino bootloader for some reason to edit Fuse at the time of startup. There are C commands with which we can also return everything as it should.
The method is simple. We always force the security bit to be set at startup.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question