Ford Peprah

Results 177 comments of Ford Peprah

I'm not sure. Have you tried to connect and use it with your target? What is the output?

I would try that.

Maybe something naive, but could you try passing a different target interface from here for the target interfaces? Maybe `C2`? https://github.com/square/pylink/blob/master/pylink/enums.py#L274

Are you sure your target is supported via C2? This seems to suggest that C2 is proprietary to Silicon Labs MCUs: https://community.silabs.com/s/article/jtag-and-c2-debug-interfaces?language=en_US, which to my understanding are ARM-based.

Maybe you need to perform your own connect sequence for cJTAG, and use that instead of C2: https://wiki.segger.com/J-Link_cJTAG_specifics

Do you happen to know what error you saw?

Feel free to make a PR to add the enum value.

Do you have any more logs? Is it possible that the chip is not being properly held in reset?

I would try playing around with the reset strategies here: https://pylink.readthedocs.io/en/latest/pylink.html#pylink.jlink.JLink.set_reset_strategy It's possible that the core starts running after you flash the first asset, and changing the reset strategy might...