1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00
oh/elink/sw/tests/set_halfspeed.sh
Andreas Olofsson 9feaa36dce Refactoring and adding some tests
- "infinite loop test"
- separating out common elink functions
-
2015-11-11 05:32:06 +00:00

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