mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
9feaa36dce
- "infinite loop test" - separating out common elink functions -
19 lines
390 B
Bash
Executable File
19 lines
390 B
Bash
Executable File
#!/bin/bash
|
|
|
|
state=$1
|
|
|
|
SCRIPT=$(readlink -f "$0")
|
|
EXEPATH=$(dirname "$SCRIPT")
|
|
echo $EXEPATH
|
|
|
|
echo "--Set EAST routing ctrlmode in FPGA--"
|
|
$EXEPATH/../bin/e-access 00000000_00000150_810f0210_05
|
|
|
|
echo "--Set EAST Epiphany link to half speed--"
|
|
$EXEPATH/../bin/e-access 00000000_00000001_88bf0300_05
|
|
|
|
echo "--Clear ctrlmode in FPGA--"
|
|
$EXEPATH/../bin/e-access 00000000_00000000_810f0210_05
|
|
|
|
|