Root/m1rc3/norruption/1/loop4

1#!/bin/sh
2
3reset()
4{
5    jtag <<EOF
6cable milkymist
7detect
8instruction CFG_OUT 000100 BYPASS
9instruction CFG_IN 000101 BYPASS
10pld reconfigure
11EOF
12}
13n=0
14while true; do
15    n=`expr $n + 1`
16    echo ===== $n =====
17
18    reset
19    sleep 2
20
21    make -C ../../m1/jtag-boot boot
22
23    sleep 8
24    echo echo === $n === `date` >/dev/ttyUSB0
25    sleep 2
26done
27

Archive Download this file

Branches:
master



interactive