-
-
Notifications
You must be signed in to change notification settings - Fork 86
"Unable to parse SVD file" error when starting debugger #276
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
Comments
In |
The error still occurs after replacing R7FA4M1AB.svd with the latest version. |
@LightningStalker I made a patched version. I added the definition of It seems to be working fine. But I don't know how to ask ARM or Keil to update it. 🤷 I explained how I made a patched version in here. |
@embedded-kiddie said:
Thank you it appears to be working. I can't test the register definitions though I have no code that uses them. |
@umbynos can you give it a try and eventually submit a PR to integrate the patched version in the core? |
While checking the details again before PR #293 is merged, I found a discrepancy between the RA4M1 user manual and the SVD file that is my mistake. The RA4M1 User’s Manual can be downloaded from here User’s Manual (Page 361 of 1454) says: ![]() ![]() But In the file I created, b11 & b10 are defined as: SVD file (diff in #293) <field>
<name>DSCR</name>
<description>Drive Strength Control Register</description>
<lsb>10</lsb>
<msb>11</msb>
<access>read-write</access>
<enumeratedValues>
<enumeratedValue>
<name>00</name>
<description>Normal drive output</description>
<value>#00</value>
</enumeratedValue>
<enumeratedValue>
<name>01</name>
<description>Middle drive output</description>
<value>#01</value>
</enumeratedValue>
<enumeratedValue>
<name>10</name>
<description>Setting prohibited</description>
<value>#10</value>
</enumeratedValue>
<enumeratedValue>
<name>11</name>
<description>High-drive output</description>
<value>#11</value>
</enumeratedValue>
</enumeratedValues>
</field> It should be (from the definition of <field>
<name>DSCR</name>
<description>Port Drive Capability</description>
<lsb>10</lsb>
<msb>10</msb>
<access>read-write</access>
<enumeratedValues>
<enumeratedValue>
<name>0</name>
<description>Low drive</description>
<value>#0</value>
</enumeratedValue>
<enumeratedValue>
<name>1</name>
<description>Middle drive.</description>
<value>#1</value>
</enumeratedValue>
</enumeratedValues>
</field> I'm now dedicating to check out the rest of the patched parts. So please wait to merge the PR #293 until I'm done. And I'm currently contacting Renesas regarding the discrepancies mentioned in the User’s Manual. They are now in vacation until 6th May. (We Japanese say it as "Golden Week" 😊) Sorry for bothering you 🙇 |
Hi, The version v0.0.1 can fix the issue 1 and issue 2 in the previous thread. So could you validate it? And if it's OK, then could you (@umbynos ?) reflect to the PR #293 ? Or should I fork ArduinoCore-renesas and make another PR? I'm not familiar with this type of open source collaboration. So please let me know what should I do. P.S. The end of line is |
Hi @embedded-kiddie , |
Describe the problem
An alarming looking error notification appears when the Arduino IDE 2.x integrated sketch debugger is started with an UNO R4 Minima / WiFi target:
🐛 The notification might lead the user to believe the debugger is in a non-functional state, even though it is functional.
🐛 The notification might serve as a "red herring", derailing the user's troubleshooting efforts when the debugger is in a non-functional state for a completely unrelated reason.
To reproduce
🐛 An error notification appears:
Expected behavior
Debugger starts without any errors.
"Arduino UNO R4 Boards" version
1.1.0
Operating system
Operating system version
Additional context
I am using Arduino IDE 2.3.2
I did not check whether it also occurs for Portenta C33 because I don't own that board.
Workaround
Simply close the error notification and carry on using the debugger as usual.
The text was updated successfully, but these errors were encountered: