Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- TARGET=mecrisp-stellaris-hackaday-edition.bin
- arm-none-eabi-objcopy -O elf32-littlearm -B arm --adjust-vma 0x8000000 --rename-section .data=.text -I binary $TARGET blob.o
- arm-none-eabi-gdb -b 115200 -ex 'target extended-remote /dev/ttyACM0' -ex 'set confirm off' -ex 'monitor swdp_scan' -ex 'attach 1' -ex 'set mem inaccessible-by-default off' -ex 'monitor erase_mass' -ex 'kill' -ex 'quit'
- arm-none-eabi-gdb -b 115200 -ex 'target extended-remote /dev/ttyACM0' -ex 'set confirm off' -ex 'monitor swdp_scan' -ex 'attach 1' -ex 'set mem inaccessible-by-default off' -ex 'load' -ex 'kill' -ex 'quit' blob.o
- #connect: folie-linux64 -r -p "/dev/ttyACM1"
Add Comment
Please, Sign In to add comment