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.
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.