Ford Peprah
Ford Peprah
Sorry about the late response here. The file should be cleaned up as a part of the `__del__` (the destructor) when the class instance is garbage collected. Is it possible...
`v1.1.0` should have this change in it now; sorry for the delay, and thank you for the patch!
Can you try running with verbose logging, and add here what the logs print out? ``` import logging logging.basicConfig(level=logging.DEBUG) ```
Could you try using the APIs around holding the [reset pin](https://pylink.readthedocs.io/en/latest/pylink.html#pylink.jlink.JLink.set_reset_pin_high) or [reset strategy](https://pylink.readthedocs.io/en/latest/pylink.html#pylink.jlink.JLink.set_reset_strategy)? It seems like the issue is that it's failing to connect under reset.
Depends on your target. I would try `low -> high` and `high -> low` to see if it makes a difference. E.g. ``` set_reset_pin_low() connect() ```
Looking at the above, I think the difference is that the flash EXE has extra logic in it to handle per-target differences, whereas this library is low-level and does not...
That is not an exhaustive list, no.
By extra logic, I mean that the EXE may be talking to the CoreSight interface, and using that to halt both cores, for instance. On some Cortex-M33s, the CoreSight interface...
You'd have to bring up the reference manual for your chip. This is the [ARM Register List](https://developer.arm.com/documentation/100230/0004/appendices/debug-access-port/dap-register-summary/ahb-ap-register-summary), but for what values to right you would need the NRF's manual. There...