1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-04-21 12:27:27 +03:00

m1rc3/norruption/: next round of tests, just resetting without power-cycling

This commit is contained in:
Werner Almesberger
2011-09-08 19:07:18 -03:00
parent b65ca3f49f
commit 852210cdfa
3 changed files with 48 additions and 0 deletions

26
m1rc3/norruption/loop4 Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/sh
reset()
{
jtag <<EOF
cable milkymist
detect
instruction CFG_OUT 000100 BYPASS
instruction CFG_IN 000101 BYPASS
pld reconfigure
EOF
}
n=0
while true; do
n=`expr $n + 1`
echo ===== $n =====
reset
sleep 2
make -C ../../m1/jtag-boot boot
sleep 8
echo echo === $n === `date` >/dev/ttyUSB0
sleep 2
done