a_p_u_r_o
a_p_u_r_o
I've made some progress. I was poking around the source code and noticed that pyocd-pemicro is related in someway. When I excluded PEMicroProbe from being used by means of modifying...
When installed by `pip install .` , following file will be created. ~/.local/lib/python3.9/site-packages/pyocd/_version.py You just need to copy this file into your working repository. Then you can invoke pyocd like...
Hmm, please try adding these lines to the end of pyocd/probe/aggregator.py . ```python from ..probe.jlink_probe import JLinkProbe PROBE_CLASSES["jlink"] = JLinkProbe ```
Or instead use this as a top level script. like: `python main.py list` [main.py](https://github.com/pyocd/pyOCD/files/8546725/main.py.txt) ```python from pyocd.probe.aggregator import PROBE_CLASSES from pyocd.probe.cmsis_dap_probe import CMSISDAPProbe from pyocd.probe.jlink_probe import JLinkProbe PROBE_CLASSES["cmsisdap"] = CMSISDAPProbe...
I admit I have personal preference to above wacky method. but it looks like sane people's choice is different. Which is discussed in https://github.com/pyocd/pyOCD/issues/938 . That is `pip install -e...
RAM regions for ATSAMD51N20A are defined like this. ``` ``` The problem is IRAM1 , IRAM2 and IRAM3 are overlapping and only IRAM3 and IRAM4 are being listed by [_extract_memories()](https://github.com/pyocd/pyOCD/blob/88222188de5ee553ada083efbdd54eb8f15974b0/pyocd/target/pack/cmsis_pack.py#L245-L307)...
This time it looks it's trying to read DP_IDR and failing. In the previous log there was `0001163 I DP IDR = 0x2ba01477 (v1 rev2) [dap]` , but not this...
I can test. if it helps. it is meant to be tested on MacOS, right?
pyOCD's '[User script](https://pyocd.io/docs/user_scripts.html)' feature is very handy to do things like this. And also there is a valuable accumulation of knowledge in pystlink's repo nicely licensed under MIT license. https://github.com/pavelrevak/pystlink/blob/master/lib/stm32devices.py
I guess this issue shares common root cause with this one https://github.com/pyocd/pyOCD/issues/1368 .