15 lines
517 B
Markdown
15 lines
517 B
Markdown
# erase
|
|
bash erase_all.sh -i swd0
|
|
|
|
# flash
|
|
bash flash.sh -i swd0 -f blinky_nrf52dongl_no_bootloader.hex
|
|
|
|
# hex
|
|
number in hexfile is uart baud rate
|
|
- blinky_nrf52dongle_no_bootloader.hex is blinky without a bootloader
|
|
- blinky_nrf52dongle_gpio_uart.hex is blinky with uart terminal on P0.13 and P0.15
|
|
- blinky_nrf52_rtscts_115200.hex blinky with uart terminal with flow control
|
|
- blinky_nrf52_rtscts_1M.hex blinky with uart terminal with flow control
|
|
|
|
# connect with minicom
|
|
- minicom -D /dev/ttyAMA2 -b 1000000 -s |