Closed honyczek closed 4 years ago
Hmmm we seem to be missing some steps... Perhaps you can refer to the latest instructions here:
There is a file scripts/config.sh
that says which OpenOCD script to use. Fo Pi, the file should contain...
# Select Raspberry Pi as SWD Programmer
swd_device=scripts/nrf52-pi/swd-pi.ocd
Then the script to flash should be...
scripts/nrf52/flash-boot.sh
Instead of
scripts/nrf52-pi/flash-boot.sh
May I know where you got the instructions? I will have to update that doc. Thanks!
I'm following description on the https://github.com/lupyuen/pinetime-rust-mynewt page. I suppose its text from README.md
I have updated the doc. Thanks!
Closing this issue because pinetime-rust-mynewt has been revamped for educational use.
I'm trying to flash PineTime from Raspberry Pi according to README.md, now I'm at step 8) Flash the bootloader. I know there is flash protection, so I'm trying to run
script/nrf52-pi/flash-unprotect.sh
at first and laterflash-boot.sh
but there is an error:The target folder is stored in parent folder and its subfolders - not
~/pinetime-rust-mynewt/target/
but~/openocd-spi/tcl/target/
- so find command can't look it up.