Pinetime and P8 Integration testing framework
#3
The wiring of the test node is the first image of my first post.

The ina219 board can be found here:
https://www.adafruit.com/product/904
or
https://www.aliexpress.com/item/40009835...web201603_

the servo is any "9g servo"

the relay is something simular to this:
https://www.aliexpress.com/item/40009560...web201603_

for flashing, i have used in the past:
rpi gpio flashing, jlink (nrf dev board), stlinkv2, stlinkv2 (flashed with blackmagicprobe).
Currently i use the nRF52 DK as a flasher, as show in the image above.

If you want to use UART instead of RTT, then hook up rx/tx between target and RPI.

I will CAD and 3d print some mechanics to neatly hold the PCBA while being able to tilt the device and provide some kind of strain relief on the wires.

hopefully i will get some time over this week to get the "real" test nodes up and running. I am expecting my two P8 devices this week.

After my initial release, i will start to add database support (TinySQL). right now all the files are stored as filesystem files / folders. This works well and was good for single / few developers in a controlled environment. But it does not scale well.


The testscript on the node calls some "interface" files, located in the node/interface/ folder. in the past it have been "buttonIn.sh, buttonOut.sh, readSerial.sh, readPower.sh, chargerOn.sh, chargerOff.sh, flash.sh", when i used the .sh files, they where called in new threads, but cleanup of readSerial and readPower threads caused issues. so now i have changed to python files where i can have more flexibility.
Right now, the cleanup of JLinkRTTClient is hardcoded to a "killall JLinkRTTClient" inside the actual test node code. this should be moved to a execute and a cleanup function call inside the interface file.

The communication between testnode / testmanager / testAPI is json structures sent through TCP. most data sent is serialized as hex, (i will probably move to base64 when i get time).


Messages In This Thread
RE: Pinetime and P8 Integration testing framework - by maiden - 10-04-2020, 01:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinetime - Kids with special needs hidara 0 606 06-11-2024, 10:42 PM
Last Post: hidara
  Develop a new firmware for PineTime belushi 2 2,083 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 920 08-20-2023, 05:17 AM
Last Post: Luno
  Zephyr Backlight Examples for PineTime lcj 0 1,116 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 2,760 05-06-2023, 02:15 PM
Last Post: lcj
  Send a message from Android to pinetime via BLE razrosman 0 1,307 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 2,689 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 2,192 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 1,921 03-20-2022, 08:58 PM
Last Post: jandy
  "Pine64 USB JTAG Adapter + OpenOCD + PineTime" should it work? ITCactus 4 5,027 03-02-2022, 05:58 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 3 Guest(s)