It was a *** mess to set it up, but I got it working in Eclipse.
@David
I decided to "Fine tune" my PY32 ... And install an IDE to do debugging.
I tried the
Cube IDE w. Jlink - I have a Chinese Jlink-OB.
Works a few times (Run to breakpoint) ... But after setting a breakpoint, and "resuming" a few times GDB/Segger/IDE crashes , saying it has run out of breakpoints.
I don't think my OB has Flash BP's licensed.
But i only have the BP at main , and the "other BP" active ...
I then installed Eclipse Embedded (w. Embsys) , and is using my AirF103 DAP-Link probe.
I'm having quite some debug issues here ...
PyOCD is flashing "fine" (text show in red) ... Well it says flashing 3200 bytes , and the bin fills 3417 bytes
The breakpoints seem to work , but the MCU isn't blinking the led ....
Crazy enough BP's work, and show the "loop" variable.
If i "just" press "Run" - the led isn't blinking too.
If i move the project to "makefile" , and still use dap-link to program
The led is blinking
I'm in "deep do..do" here ...
Any hints would be much appreciated.
PC is x64 Mint 21.02
Attached Eclipse Project.
/Bingo