Comments (3)
so I fed the svd thru svdconv and picked out the errors and fixed them up, and it loads now.
In the future it may be worthwhile to have svd_load report more errors as to why it fails.
from pycortexmdebug.
Agreed on the error reporting. See issue #49.
Does this file now load?
I'm surprised there aren't quite as established formats for application processors. I guess maybe because they more commonly provide their own drivers or run Linux? There's no reason you can't write your own SVD--or more preferably as you mentioned, stay away from writing XML and just convert.
from pycortexmdebug.
Yeah it was an error of mine; I had copypasta'd from a prior svd which had their uarts spread out every
0x1_0000 but this was every 0x1000, so there was overlap.
Yeah, full on linux-capable SoC's don't tend to have SVD files supplied, but I find this to be useful for two reasons:
- if you can dump the bootrom from the device, you can feed the svd to ghidra to help re it
- while you're at bootrom/u-boot level its still fairly 'dumb' and you can treat it as an MCU during debugging
from pycortexmdebug.
Related Issues (19)
- All svd files seem invalid HOT 2
- SVD accessType is not respected HOT 2
- svd_load by vendor + model HOT 2
- Unexpected Negative Values HOT 4
- Refactor and cleanup HOT 1
- Case-insensitive matching for peripheral and register names HOT 2
- SVDRegisterCluster instance has no attribute 'parent' HOT 1
- LPC176x5x_v0.2.svd fails to load HOT 2
- Python2 compatibility HOT 5
- Consolidate source files HOT 16
- ModuleNotFoundError: No module named 'cmdebug' when sourcing in gdb HOT 2
- derivedFrom registers don't seem to work.
- register fields with enumeratedValues should also print the value of the field
- registers within a peripheral should be sorted by their addresses.
- More verbose error handling on file load
- Consideration: use an existing svd lib instead of rolling your own. HOT 6
- unsupported operand type(s) for /: 'lxml.objectify.StringElement' and 'int' when attempting to use the `svd` command HOT 2
- Errors when output-radix not 10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycortexmdebug.