From db7ae94e646d1f27b13d2fb766a5803b66b8d5f9 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 9 Sep 2011 11:07:06 -0300 Subject: [PATCH] m1rc3/norruption/: loop5 test: cut power while in standby --- m1rc3/norruption/LOG | 8 ++++++++ m1rc3/norruption/loop5 | 12 ++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 m1rc3/norruption/loop5 diff --git a/m1rc3/norruption/LOG b/m1rc3/norruption/LOG index b322ca4..822e408 100644 --- a/m1rc3/norruption/LOG +++ b/m1rc3/norruption/LOG @@ -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 diff --git a/m1rc3/norruption/loop5 b/m1rc3/norruption/loop5 new file mode 100755 index 0000000..a4ba22b --- /dev/null +++ b/m1rc3/norruption/loop5 @@ -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