PINE64
Fresh install and i can't get my device to work - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: General Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=135)
+--- Thread: Fresh install and i can't get my device to work (/showthread.php?tid=18912)



Fresh install and i can't get my device to work - brenden_a - 11-28-2023

So i have a fairly old Dev pine time and i wanted to start it fresh.  So these are the steps i took

nrfjprog -f NRF52 --recover


//using this hex - https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/master/bin/softdevice/s132_nrf52_6.1.1_softdevice.hex
nrfjprog -f NRF52 --program aboveHexFile.hex --verify --sectorerase

//https://github.com/InfiniTimeOrg/InfiniTime/releases/download/1.13.0/pinetime-mcuboot-app-dfu-1.13.0.zip
nrfjprog -f NRF52 --program latestPinetime.hex --verify --sectorerase

nrfjprog -f NRF52 --reset

I followed these steps here.
https://wiki.pine64.org/wiki/Reprogramming_the_PineTime

After i did these steps nothing is working.

I'm guessing the softdevice version hasent changed because i updated my other watch from just bluetooth and it worked perfectly.  Any thoughts on how to solve this problem.


RE: Fresh install and i can't get my device to work - brenden_a - 12-01-2023

So my goal is to put espruino on it.

So i found this repo https://github.com/fanoush/ds-d6/tree/master/espruino/DFU/P8

So i flashed this hex file and it seemed to work.

https://github.com/fanoush/ds-d6/blob/master/espruino/DFU/P8/espruino_2v08.189_p8_SDK12_SD30.hex

nrfjprog -f NRF52 --recover

nrfjprog -f NRF52 --program espruino_2v08.189_p8_SDK12_SD30.hex --verify

nrfjprog -f NRF52 --reset

From here i can connect to the Espruino IDE over bluetooth!

Going to see now if i can get a newer version of the software


RE: Fresh install and i can't get my device to work - brenden_a - 12-01-2023

Almost have a new build.

Quick reminders. When you flash it the LCD is not current enabled, so it hard to tell if its on. So you need to click the button if you can't connect to the device. That will power the device on.

Copy the P8-SDK12.py, to the boards section of expruino then build it.

//setups up the code for the specific chip
source scripts/provision.sh NRF52832DK

make -j BOARDNAME=P8 BOARD=P8-SDK12 RELEASE=1 NRF_SDK12=1 VERBOSE=1 USE_BOOTLOADER=1

So you'll make a hex image and it will be in the bin folder.

nrfjprog -f NRF52 --program espruino_2v19.86_p8_SDK12_SD30.hex --verify