PINE64
Flashing PineTime with 3rd party bootloader - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: PineTime Tutorials (https://forum.pine64.org/forumdisplay.php?fid=138)
+--- Thread: Flashing PineTime with 3rd party bootloader (/showthread.php?tid=13560)



Flashing PineTime with 3rd party bootloader - Mpoint - 04-05-2021

Since both pineTime and banglejs use has the same hardware chipset Would it be possible to flash bootloader.js to by converting javascript to binary https://stackoverflow.com/questions/1443158/binary-data-in-json-string-something-better-than-base64

Alternatively I am looking for HR and HRV App for PineTime
and Banglejs has one on github 
https://github.com/jabituyaben/Espruino-HRV


RE: Flashing PineTime with 3rd party bootloader - barray - 04-05-2021

(04-05-2021, 07:21 AM)Mpoint Wrote: Since both pineTime and banglejs use has the same hardware chipset

The controller might be the same, but absolutely everything else looks different: https://www.espruino.com/Bangle.js

The PineTime does not have a Magnetometer, tonnes of buttons, GPS, etc. That firmware will not work out of the box.

(04-05-2021, 07:21 AM)Mpoint Wrote: Would it be possible to flash bootloader.js to by converting javascript to binary https://stackoverflow.com/questions/1443158/binary-data-in-json-string-something-better-than-base64

BASE64 is not binary, it's simply an encoding. The watch has no way of processing Javascript without being told how to.

(04-05-2021, 07:21 AM)Mpoint Wrote: Alternatively I am looking for HR and HRV App for PineTime
and Banglejs has one on github 
https://github.com/jabituyaben/Espruino-HRV

The current PineTime firmware can read the HR sensor. It's unclear to me what is required to calculate HRV though. It mya not be possible with the current hardware.


RE: Flashing PineTime with 3rd party bootloader - wibble - 04-07-2021

The github readme describes the method used to calculate HRV from the heart rate sensor data, so I think it could be implemented with the existing hardware.