1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 06:29:22 +02:00

m1rc3/norruption/: loop5 test: cut power while in standby

This commit is contained in:
Werner Almesberger 2011-09-09 11:07:06 -03:00
parent 2e3553d458
commit db7ae94e64
2 changed files with 20 additions and 0 deletions

View File

@ -151,3 +151,11 @@ All CRC checks pass. Verified that NOR was unlocked:
poke 0 0x40 0 0x0000 # Word Program
peek 0 # read back status (0x80 if okay, 0x92 if locked)
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
View 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