mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-22 22:47:42 +02:00
27 lines
320 B
Plaintext
27 lines
320 B
Plaintext
|
#!/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
|