Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ -z "$1" ]
- then
- echo "Supply .bin file"
- exit 1
- fi
- sudo JLinkExe -device CC2538SF53 <<EOF
- exec device CC2538SF53
- speed auto
- halt
- loadbin $1 0x00200000
- SetPC 0x00200000
- g
- r0
- r1
- q
- EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement