#!/bin/sh# This script resets a CC2538SF53 target using JLink called# with a pre-defined reset sequence.# @author Hauke Petersen <hauke.petersen@fu-berlin.de>BINDIR=$1# create JLink command file for resetting the boardecho"r" >> $BINDIR/reset.segecho"g" >> $BINDIR/reset.segecho"exit" >> $BINDIR/reset.seg# reset the boardJLinkExe -device CC2538SF53 < $BINDIR/reset.segecho""