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
- Host: GitHub
- URL: https://github.com/rune75/nrf_parallel_flash_and_rtt
- Owner: Rune75
- License: mit
- Created: 2023-11-08T06:54:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-20T18:01:35.000Z (over 1 year ago)
- Last Synced: 2025-01-03T07:48:37.926Z (4 months ago)
- Topics: j-link, nrf52, pylink, python, python-parallel-processing
- Language: Python
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.pyCombined log goes to stdOut, and device individual logs will go to separate files per JLink serial number.