Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load SVD file GD32F30X_HD.svd #13

Open
gabrielrozn opened this issue Dec 30, 2021 · 1 comment
Open

Failed to load SVD file GD32F30X_HD.svd #13

gabrielrozn opened this issue Dec 30, 2021 · 1 comment

Comments

@gabrielrozn
Copy link

gabrielrozn commented Dec 30, 2021

The script failed to load the file GD32F30X_HD.svd downloaded from: (http://gd32mcu.com/data/documents/pack/GigaDevice.GD32F30x_DFP.2.0.0.pack)

The output is:

Traceback (most recent call last):
File "C:\Ghidra\SVD-Loader-Ghidra-master\SVD-Loader.py", line 101, in
length = peripheral.address_block.offset + peripheral.address_block.size
AttributeError: 'NoneType' object has no attribute 'offset'

I looked at the svd file, initially it had blank spaces in the beginning of the file, after removing the white spaces I got the error above. I cannot see any obvious problems apart from the NVIC peripheral which has two <addressBlock> tags. Commenting the second one did not solve the issue.

@wxz222123
Copy link

How is this problem solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants