Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $# -eq 1 ]
- then
- BIN=$1
- LOAD_BASE=0
- else
- BIN=$1
- LOAD_BASE=$2
- fi
- dfu-util -d 0x0471:0xDF55 -c 0 -t 2048 -R -D /usr/local/lpcxpresso/lpcxpresso/bin/LPCXpressoWIN.enc || true
- sleep 1
- /usr/local/lpcxpresso/lpcxpresso/bin/crt_emu_cm3_nxp -pLPC1768 -g -wire=winusb -load-base=$LOAD_BASE -flash-load-exec=$BIN
Add Comment
Please, Sign In to add comment