From 98fe39c335fd66621fcaa3007feba3029595c0e4 Mon Sep 17 00:00:00 2001 From: Michael Schloh von Bennewitz Date: Sun, 28 Feb 2021 19:10:50 +0100 Subject: [PATCH] Annotate EEPROM flashing procedure with optional erase operation first. --- testplan/programrom.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/testplan/programrom.txt b/testplan/programrom.txt index a7803ca..8829a89 100644 --- a/testplan/programrom.txt +++ b/testplan/programrom.txt @@ -3,6 +3,12 @@ $ dtc -I dts -O dtb -o programrst.dtb programrst.dts $ ./eepmake programdat.txt programdat.eep programrst.dtb # now short J7 with a paperclip -$ sudo ./eepflash.sh -w -t=24c32 -f=programdat.eep +# +# optionally erase EEPROM first +$ dd if=/dev/zero ibs=1k count=4 of=blank.eep +$ hexdump blank.eep +# ./eepflash.sh -w -t=24c32 -f=blank.eep +# +# ./eepflash.sh -w -t=24c32 -f=programdat.eep # to clean binaries, rm programdat.eep programrst.dtb # to test reboot, blue button, and sendcommrst.sh