06-14-2020, 11:14 AM
(06-14-2020, 10:03 AM)ichibon-brosan Wrote: Hello friends... I have received my first few batches of Pine hardware, specifically a USA version of the PineBook Pro, the PineTime developer kit, a clusterboard, and 7 modules. I have a PinePhone on order but no information on expected arrival.
I would like to start learning to program the PineTime but all the forum postings I have read so far refer to programming the watch using an Android phone, which I don't happen to own. So I have some easy questions, in no particular order...
Can I develop firmware for the PineTime using my PineBook Pro?
Can I do any of this before I receive my PinePhone or am I out of business until then?
Is my iPhone 7Plus of any value in this matrix in the mean time?
I have a j-link mini (edu) and a j-link edu. Can either of these be used to program the PineTime using OpenOCD?
Or do I need to buy something else specifically? If so what?
I am really looking forward to getting started :-)
Thanks, Douglas
The answer to all your questions is basically YES. I programmed my Pinetime using OpenOCD and an ST-Link without using an Android phone. I had to use a Raspberry Pi to unlock the Pinetime first, but I believe a J-Link can do that. Once a bootloader is installed using an St-Link or J-Link then the application code can be downloaded over Bluetooth using Linux or Android. Danielt supplies tools for doing this on Linux. Danielt and Lupyuen have excellent documentation.
https://github.com/daniel-thompson/wasp-os
https://github.com/lupyuen/visual-embedd.../README.md
I have a lot of experience with large computers, from mainframes to laptops, but not much experience with smaller devices. It took me a while and a learning curve but I got there.
Hugh