Root/m1rc3/norruption/loop4

Source at commit 852210cdfa0b62e85df9c7aa4ca0195ff93f19d6 created 8 years 5 months ago.
By Werner Almesberger, m1rc3/norruption/: next round of tests, just resetting without power-cycling
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