PineTime

From Dejvino's Knowledge Base
Revision as of 11:40, 27 August 2020 by Dejvino (talk | contribs)
Jump to navigation Jump to search

Open smartwatch from Pine64.

Hardware

TODO: Copy from the official page

Flashing

JLinkExe without nrfjprog

#!/bin/bash
# Resources: https://www.silabs.com/community/mcu/32-bit/knowledge-base.entry.html/2014/10/22/using_jlink_commande-YYdy
#
# == Manual Steps ==
#
# (SWD mode)
# J-Link>si 1
# 
# (transfer speed)
# J-Link>speed 4000
#
# (select the PineTime CPU)
# J-Link>device NRF52832_XXAA
#
# (clear the flash)
# J-Link>erase
#
# (flash the binary image)
# J-Link>loadbin src/pinetime-app.bin
#
# (reset)
# J-Link>r
#
# (start program execution)
# J-Link>g
#

cat <<EOF | /opt/SEGGER/JLink/JLinkExe
si 1
speed 4000
device NRF52832_XXAA
erase
loadbin src/pinetime-app.bin 0x0
r
g
q
EOF

External Links