I'm just got my pine time about a week ago and an st link v2 and have been trying to reprogram the pinetime. Here is the read from the terminal. Im running manjaro btw
----- Flashing /tmp/mynewt_nosemi.elf.bin to address 0x0...
xpack-openocd/bin/openocd -c ' set filename "/tmp/mynewt_nosemi.elf.bin" ' -c ' set address "0x0" ' -f scripts/swd-stlink.ocd -f scripts/flash-program.ocd
xPack OpenOCD, x86_64 Open On-Chip Debugger 0.10.0+dev-00378-ge5be992df (2020-06-26-09:27)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
/tmp/mynewt_nosemi.elf.bin
0x0
nRF52 device has a CTRL-AP dedicated to recover the device from AP lock.
A high level adapter (like a ST-Link) you are currently using cannot access
the CTRL-AP so 'nrf52_recover' command will not work.
Do not enable UICR APPROTECT.
force hard breakpoints
Error: target voltage may be too low for reliable debugging
Error: init mode failed (unable to connect to the target)
I'm just got my pine time about a week ago and an st link v2 and have been trying to reprogram the pinetime. Here is the read from the terminal. Im running manjaro btw
----- Downloading https://github.com/lupyuen/pinetime-rust-mynewt/releases/download/v4.1.7/mynewt_nosemi.elf.bin to /tmp/mynewt_nosemi.elf.bin... (If it stops here, URL is invalid)
----- Flashing /tmp/mynewt_nosemi.elf.bin to address 0x0...
nRF52 device has a CTRL-AP dedicated to recover the device from AP lock. A high level adapter (like a ST-Link) you are currently using cannot access the CTRL-AP so 'nrf52_recover' command will not work. Do not enable UICR APPROTECT.
force hard breakpoints Error: target voltage may be too low for reliable debugging Error: init mode failed (unable to connect to the target)