mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 10:36:17 +02:00
m1rc3/norruption/: loop5 test: cut power while in standby
This commit is contained in:
parent
2e3553d458
commit
db7ae94e64
@ -151,3 +151,11 @@ All CRC checks pass. Verified that NOR was unlocked:
|
|||||||
poke 0 0x40 0 0x0000 # Word Program
|
poke 0 0x40 0 0x0000 # Word Program
|
||||||
peek 0 # read back status (0x80 if okay, 0x92 if locked)
|
peek 0 # read back status (0x80 if okay, 0x92 if locked)
|
||||||
poke 0 0xff # Read Array (switch back to normal operation)
|
poke 0 0xff # Read Array (switch back to normal operation)
|
||||||
|
|
||||||
|
--- Fri 2011-09-09 ------------------------------------------------------------
|
||||||
|
|
||||||
|
New test with script "loop5". This time, we only power cycle but don't
|
||||||
|
try to boot out of standby. The purpose of this test is to confirm that
|
||||||
|
NOR corruption does not occur when powering down while in standby.
|
||||||
|
|
||||||
|
1 (11:04): started
|
||||||
|
12
m1rc3/norruption/loop5
Executable file
12
m1rc3/norruption/loop5
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
n=0
|
||||||
|
while true; do
|
||||||
|
n=`expr $n + 1`
|
||||||
|
echo ===== $n =====
|
||||||
|
|
||||||
|
labsw ch1=0 ch2=0
|
||||||
|
sleep 5
|
||||||
|
labsw ch1=1 ch2=1
|
||||||
|
sleep 2
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user