Skip to content

Commit 2e0567a

Browse files
Update README.md
1 parent 15b4c1d commit 2e0567a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,19 @@ However, with some effort you can protect access to EEPROM.
7474

7575
First of all you need a ISP programmer. You can either buy one or [build one](https://www.arduino.cc/en/Tutorial/ArduinoISP) using spare Arduino.
7676

77+
Please note, that default control pins for LCD overlap with ISP. For the time of programming LCD module must be disconnected.
78+
7779
Once communication to lazy-password via ISP is established, it is time to do the real work.
7880

79-
### Save content of flash
81+
#### Save content of flash
8082
```
8183
sudo avrdude -v -patmega32u4 -c avrisp -P/dev/ttyUSB0 -b19200 -U flash:r:eeprom.flash:r
8284
```
83-
### Save content of EEPROM
85+
#### Save content of EEPROM
8486
```
8587
sudo avrdude -v -patmega32u4 -c avrisp -P/dev/ttyUSB0 -b19200 -U eeprom:r:eeprom.bin:r
8688
```
87-
### Check the fuses
89+
#### Check the fuses
8890
```
8991
sudo avrdude -patmega32u4 -c avrisp -P/dev/ttyUSB0 -b19200 -t
9092
@@ -148,10 +150,10 @@ avrdude: safemode: Fuses OK (E:CB, H:D8, L:FF)
148150
avrdude done. Thank you.
149151
```
150152

151-
At this moment, you can no longer update anything using Arduino GUI. The avrdude will happy read content of flash and EEPROM but content will be all 0xFF.
153+
At this moment, you can no longer update anything using Arduino GUI. The avrdude will happy read content of flash and EEPROM but all you will find is garbage.
152154

153155

154-
### restore unprotected operation
156+
#### restore unprotected operation
155157
The only way to reverse conent of the lock register is to issue chip erase command. The chip erase command wipes out content of flash and EEPROM (if the EESAVE bit is inactive).
156158

157159
```
@@ -173,7 +175,7 @@ avrdude: safemode: Fuses OK (E:CB, H:D8, L:FF)
173175
avrdude done. Thank you.
174176
```
175177

176-
To restore normal operation, the original flash conent needs to be put back.
178+
And the last step to recover to original Arduino functionaliy, put back the original flash conent.
177179

178180
```
179181
sudo avrdude -patmega32u4 -c avrisp -P/dev/ttyUSB0 -b19200 -D -U flash:w:flash.bin:r

0 commit comments

Comments
 (0)