Difference between revisions of "PineTime"

From Dejvino's Knowledge Base
Jump to navigation Jump to search
(Created page with "Open smartwatch from Pine64. == Flashing == === JLinkExe without nrfjprog === <syntaxhighlight lang="bash"> #!/bin/bash # Resources: https://www.silabs.com/community/mcu/...")
 
Line 1: Line 1:
 
Open smartwatch from [[Pine64]].
 
Open smartwatch from [[Pine64]].
 +
 +
== Hardware ==
 +
{{todo|Copy from the official page}}
 +
* [[Bluetooth]]
 +
* ...
  
 
== Flashing ==
 
== Flashing ==

Revision as of 11:40, 27 August 2020

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