Skip to content

"Unable to parse SVD file" error when starting debugger #276

Closed
@per1234

Description

@per1234

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:

image

🐛 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

  1. Connect the board to your computer as appropriate (directly via USB cable if using UNO R4 WiFi, via external debug probe if using UNO R4 Minima).
  2. Select the board from the Arduino IDE menus.
  3. Select Tools > Programmer > ARM CMSIS-DAP compatible from the Arduino IDE menus.
  4. Select Sketch > Verify/Compile from the Arduino IDE menus.
  5. Wait for the compilation to finish successfully.
  6. Click the "Start Debugging" button on the Arduino IDE toolbar.

🐛 An error notification appears:

Unable to parse SVD file C:\Users\per\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.1.0/svd/R7FA4M1AB.svd: Error: SVD error: Invalid 'derivedFrom' "P100PFS" for register "P30%sPFS"

Expected behavior

Debugger starts without any errors.

"Arduino UNO R4 Boards" version

1.1.0

Operating system

  • Windows
  • Linux

Operating system version

  • Windows 11
  • Ubuntu 22.04

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions