2021-10-18 01:14 AM
Hello,
I'm updating the STM32G0B1.svd file with the FDCAN RAM message registers because right now they are missing. Since it is a lot of registers arrays and clusters, I was willing to use those keywords in the svd file. However, when trying to debug, only the first array of register is displayed (correctly for that matter), but none of the clusters are shown.
Digging a bit further I saw in the <device> ... </device> that only the revision 1.1 of the CMSIS xsd file is supported. And cluster support is improved from revision 1.2.
I have found the latest revision (1.3.7) but I wonder how can I tell in the STM32G0B1.svd to use this file instead of the old one. I can't even find on my hard drive the file "CMSIS-SVD_Schema_1_1.xsd", which is the one that all SVD files refers to.
I'm using STM32CubeIDE 1.7.0.
Best regards.
2021-10-18 11:17 PM
Hi again,
A bit of clarification here: I'm updating the svd file because I want to see the registers with the SFR view while debugging with STMCubeIDE. After some more digging I realized that I made a mistake, as version 1.1 of SVD supports already clusters. V1.3 is needed for nested clusters, which I don't need. I will change the title of this discussion to reflect the real problem.
What is still relevant: while an array of register is correctly rendered in the SFR panel, a cluster does not show at all. Also I have found that if I only have an array of registers in a peripheral A and that I create a peripheral B with the keyword "DerivedFrom", the offsets of the derived registers are not taken in account.
Is this a known issue that will get fixed some day ?
Best regards.