Date:2011-09-10 21:33:18 (7 years 9 months ago)
Author:Werner Almesberger
Commit:231046680563740532a38ab673cfa51f3f094ac1
Message:m1rc3/norruption/: update of on-going testing; new test loop7 simulating "false start"

Files: m1rc3/norruption/LOG (2 diffs)
m1rc3/norruption/loop7 (1 diff)

Change Details

m1rc3/norruption/LOG
152152  peek 0 # read back status (0x80 if okay, 0x92 if locked)
153153  poke 0 0xff # Read Array (switch back to normal operation)
154154
155Took labsw offline to analyze occasional failure to switch. Failure
156was difficult to reproduce. Also opened labsw to tighten a loose nut.
157Afterwards (Friday run), labsw showed much fewer switch failures.
158
155159--- Fri 2011-09-09 ------------------------------------------------------------
156160
157161New test with script "loop5". This time, we only power cycle but don't
...... 
159163NOR corruption does not occur when powering down while in standby.
160164
1611651 (11:04): started
166200 (11:28:): stopped to issue "unlockflash 0 105" to make sure all of
167  the NOR is unlocked, just in case
168
169Also checked CRCs. All is well.
170
1711 (11:31): started
1722637 (16:53): stopped. standby looks good.
173
174All partitions pass the CRC check.
175
176Repeating loop2 to make sure the NOR corruption hasn't disappeared for
177an unrelated reason. System is connected to oscilloscope monitoring the
178M1 DC in voltage. This connection provides grounding of DC in.
179
1801 (16:56): started
181
182--- Sat 2011-09-10 ------------------------------------------------------------
183
1842428 (04:57): standby still okay
1852440 (05::01): disconnected oscilloscope
1862463 (05:08): stopped test
187
188All partitions pass the CRC check. Read back the standby partition and
189also found no corruption in bitwise comparison. Furthermore, the unused
190area showed the expected 0xffff pattern.
191
1921 (05:14): restarted test, without oscilloscope.
1932213 (16:11): standby still okay
194
195All partitions pass the CRC check. Unused area of standby shows 0xffff.
196
197Prepared new test (loop7): like loop2, but make a "false start" of
198turning on both channels and immediately turn them off again, wait 16
199seconds, and only then power up properly. This would roughly correspond
200to labsw failing to turn on, as observed in the test runs in which NOR
201corruption occurred.
202
2031 (16:27): started loop7 test
2045 (16:32): standby okay
m1rc3/norruption/loop7
1#!/bin/sh
2n=0
3while true; do
4    n=`expr $n + 1`
5    echo ===== $n =====
6
7    labsw ch1=0 ch2=0
8    sleep 5
9    labsw ch1=1 ch2=1
10    sleep 0.002
11    labsw ch1=0 ch2=0
12    sleep 17
13    labsw ch1=1 ch2=1
14    sleep 2
15
16    make -C ../../m1/jtag-boot boot
17
18    sleep 8
19    echo echo === $n === `date` >/dev/ttyUSB0
20    sleep 2
21done

Archive Download the corresponding diff file

Branches:
master



interactive