pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.08k stars 472 forks source link

WIP: nrf5340 support #1656

Open maxd-nordic opened 6 months ago

maxd-nordic commented 6 months ago

Adds support for the nrf5340

maxd-nordic commented 6 months ago

Still got a problem to solve here: Flashing works after a mass-erase. If there is already a program on the chip, it fails on the network core with a hard fault or something similar: 0008375 C target was not halted as expected after calling flash algorithm routine (IPSR=3) [__main__]

maxd-nordic commented 6 months ago

@flit Could you take a look? I'll try to understand the flash algo code (they are from the pack), maybe I can find something.