Open seanrivera opened 3 years ago
That's odd indeed! I verified that it does work ok for me with v0.32.1.
I don't know what could cause the RESET_MASK
register to fault on access. There doesn't seem to be a PPU controlling the System Control Block, as it always requires Secure Privileged accesses (which pyocd uses by default).
Without understanding why the fault is occurring, the best I can offer right now is to modify pyocd to remove the RESET_MASK
accesses. If you remove this statement, it will skip the accesses:
Hello,
I'm attempting to use pyocd to flash and debug the ARM Musca S1 board. Every time I attempt to communicate with the board I get a weird memory fault:
pyocd.core.exceptions.TransferFaultError: Memory transfer fault @ 0x50021104-0x50021107
Doing some initial digging, this seems like it is trying to read the reset handler and failing, and therefore crashing. As far as I can tell I am running the current version on pip (0.32.1), and I can find nothing about this error online.
I am able to flash the board with the traditional drag and drop method, and connect to it with cute-com and verify that the flash was successful.
Full trace: