I have an Arduino UNO Rev3 and need to make sure that once programmed, no more information can be written to it. I'm guessing this can be done by clipping a pin or two on the microcontroller, but not familiar enough with the details to be sure.
|
I'm not aware of a way that this is ultimately possible, though (especially if you have a soldered-chip version) you can make it fairly difficult. So let's concentrate instead on things you could do to prevent accidental or casual modification:
Remember that nothing you do can overcome the relative ease of swapping out the ATMEGA part for a new one, or more simply swapping out the entire Arduino for a new one. (Well, I suppose you can bury the whole project in a large mass of potting compound...) |
||||
|
|
|
You can do it using the lock bits look at the datasheet under the memory programming section. You will probably need a programmer like the AVRISP mkII to do so. |
|||
|
|
|
I just wanted to add: If you have 2 arduinos, you can actually program one to be an in-serial-programmer to program the other. Ie: then you can do the fuse bits. (I would have added this to @Kvedaoro 's answer, but I don't have the reputation points for comments) |
|||
|
|