Date:2011-09-09 16:07:06 (7 years 9 months ago)
Author:Werner Almesberger
Commit:db7ae94e646d1f27b13d2fb766a5803b66b8d5f9
Message:m1rc3/norruption/: loop5 test: cut power while in standby

Files: m1rc3/norruption/LOG (1 diff)
m1rc3/norruption/loop5 (1 diff)

Change Details

m1rc3/norruption/LOG
151151  poke 0 0x40 0 0x0000 # Word Program
152152  peek 0 # read back status (0x80 if okay, 0x92 if locked)
153153  poke 0 0xff # Read Array (switch back to normal operation)
154
155--- Fri 2011-09-09 ------------------------------------------------------------
156
157New test with script "loop5". This time, we only power cycle but don't
158try to boot out of standby. The purpose of this test is to confirm that
159NOR corruption does not occur when powering down while in standby.
160
1611 (11:04): started
m1rc3/norruption/loop5
1#!/bin/sh
2
3n=0
4while true; do
5    n=`expr $n + 1`
6    echo ===== $n =====
7
8    labsw ch1=0 ch2=0
9    sleep 5
10    labsw ch1=1 ch2=1
11    sleep 2
12done

Archive Download the corresponding diff file

Branches:
master



interactive