PyCortexMDebug
PyCortexMDebug copied to clipboard
A set of GDB/Python-based utilities to make life debugging ARM Cortex M processors a bit easier
Using this project on Windows 10 with Python 3.12.3 When source svd scripts, report errors: ```bash (gdb) source PyCortexMDebug/cmdebug/svd_gdb.py Traceback (most recent call last): File "c:\users\403283\scoop\apps\xpack-gcc-arm-none-eabi\current\arm-none-eabi\share\gdb/python\gdb\__init__.py", line 147, in _execute_file...
I've struggled getting these utilities to work with the Zephyr SDK due to the Python version. So here's a pull request that removes the lxml dependency in favour of Python...
https://github.com/posborne/cmsis-svd For the sake of deduplicating work. Plus they ship quite a lot of SVDs you can use out of the box.
Before this patch: (gdb) svd AON_PMCTL PWRCTL Cluster in peripheral AON_PMCTL does not exist! but "svd AON_PMCTL PWRCTL" works as intended Note the difference is two spaces ("does not exist"...
Hello. Doing some u-boot development for a hisilicon soc. No SVD exists for it (and I really doubt they *ever* exist for cortex-a socs with an mmu) so I wrote...
Print out more of what fails when loading a file, per suggestion from @hanetzer
Specifically in the case of dim/dimIndex type registers
Would be helpful in debugging if you've made a mistake writing the svd and mislabeled a value or so.
Hello @bnahill and co developers Thanks for this tool. I came across it in this [Interrupt](https://interrupt.memfault.com/blog/advanced-gdb#svd-files-and-peripheral-registers) blog. So I cloned the repo, installed it with python3 with setup.py. Then in...
The tar balls of cross-compilers tend to come nowadays with python support, e.g. `arm-none-eabi-gdb-py`, but this not yet the case for python3, there's no `arm-none-eabi-gdb-py3` binary. This means that your...