An open API service indexing awesome lists of open source software.

https://github.com/rune75/nrf_parallel_flash_and_rtt

Example code for flashing and configuring JLink connected devices over RTT in parallel
https://github.com/rune75/nrf_parallel_flash_and_rtt

j-link nrf52 pylink python python-parallel-processing

Last synced: 2 months ago
JSON representation

Example code for flashing and configuring JLink connected devices over RTT in parallel

Awesome Lists containing this project

README

        

# nRF devices parallel programming and RTT shell configuration
Example code in Python intended as a proof of concept for parallel flashing and RTT shell configuration of nRF devices from Nordic Semiconductor. The examples should also work the same for all setups using SEGGER JLink and RTT shell for device interface. The provided examples runs both flashing and RTT communication in parallel processes. Logging is done into separate files for each of the connected JLink programmers.

The flashing stage will upload a minimal RTT shell application to the connected device. the shell application wil not do anything else than presenting a few function interfaces with various simulated responses in the RTT shell. The shell application hex files is currently compiled for the nRF52840dk board. To build the firmware for another device the source code can be found here: https://github.com/Rune75/nRF_Dummy_RTT_shell
### Dependencies
pylink
SEGGER JLink
### Usage
Connect the nRF52840 devices to the computer trough multiple JLink USB adapters.
#### Execute the Python example
cd src
./main.py

Combined log goes to stdOut, and device individual logs will go to separate files per JLink serial number.