Ford Peprah
Ford Peprah
Here's the [`UICR`](https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fuicr.html) register. The document I linked suggested that `APPROTECT` might be enabled and preventing debugger access: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Fdebugandtrace.html You can try and see by doing something like. ``` uicr...
Maybe this is the right documentation here? https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Fctrl-ap.html&cp=3_0_0_7_9 The URL I gave you before was wrong; I was looking at the right thing, but it looks like the Nordic website...
Hm. It seems like it the function doesn't expect any output string (read: error string), and raises an exception if there is one. Might not be the best way to...
It sounds like you're possibly programming an image that protects the flash? You will need to erase unless you're writing to a region of flash that is already erased. Some...
Hm. I'm having a hard time following. There is OTP that permanently locks flash on the Kinetis chips, so even if your image doesn't enable flash security, if you flashed...
You could implement it as part of the `unlock()`; see [here](https://github.com/square/pylink/blob/master/pylink/unlockers/__init__.py#L18). Behaviour would have to be implemented for unlocking the STM32; likely using the CoreSight APIs.
Hm. Sorry. I haven't looked too much into this. Maybe as a workaround, you could read the `$PC` via `register_read()`, and use that to lookup the breakpoint via `breakpoint_find()`, which...
I would try the above and see if that works for your use case. You should be able to compare the handle against the handle(s) you got when you created...
The `cpu_halt_reasons` structures don't have the handles, only the index in the breakpoint list. I would try using the address that the CPU is halted on to try and see...
Say you're on an [ARM Cortex-M33](https://developer.arm.com/documentation/100235/0004/the-cortex-m33-processor/programmer-s-model/core-registers), then your register list is this:  `PC` or `Program Counter` is `R15`, and indicates the current address of execution. So if you pass...