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

GD32F303 SVD BUG not show #610

Open
xzbaijj opened this issue Jul 6, 2024 · 9 comments
Open

GD32F303 SVD BUG not show #610

xzbaijj opened this issue Jul 6, 2024 · 9 comments

Comments

@xzbaijj
Copy link

xzbaijj commented Jul 6, 2024

2024-07-08_103619

@TommyMurphyTM1234
Copy link

TommyMurphyTM1234 commented Jul 6, 2024

You haven't provided any description of the issue and the screenshot image links don't seem to work (they seem to link back to this issue).

You need to describe the issue as per the new issue guidelines in order to get useful feedback:

Prerequisites

In case you encounter problems while using the plug-ins, please consider the following:

If you still could not find a solution, if you have interesting use cases, if you have custom
configurations, and generally if you have any experience that you want to share with others,
use the GNU MCU Eclipse forum.

If you are convinced that you identified a bug (if you have doubts, use the forum), or you have a
pertinent suggestion how to enhance the GNU MCU Eclipse plug-ins, continue and register
an issue.

Description

[Description of the bug or feature]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behaviour: [What you expected to happen]

Actual behaviour: [What actually happened]

Versions

  • [plug-in version]
  • [Eclipse version]
  • [Java version]
  • [operating system]
  • [toolchain version]

Please understand that without being able to reproduce the bug we cannot identify your problem.


Note: Remove unnecessary text after reading, before entering your ticket.

@TommyMurphyTM1234
Copy link

TommyMurphyTM1234 commented Jul 8, 2024

Duplicate of this?

the screenshot image links don't seem to work (they seem to link back to this issue).

The original post has been edited to fix the screenshot image link since I made this comment.

@TommyMurphyTM1234
Copy link

TommyMurphyTM1234 commented Jul 8, 2024

Maybe related to, or the same issue, as mentioned here?

Maybe the workspace/.metadata/.log file contains some clues as to what's going on/wrong here?

@xzbaijj
Copy link
Author

xzbaijj commented Jul 9, 2024

Yes, there are spaces at the beginning of the SVD file, which prevents normal use. Can the plug-in automatically handle the spaces at the beginning?

@TommyMurphyTM1234
Copy link

TommyMurphyTM1234 commented Jul 9, 2024

I presume that the plugin caters for SVD files that adhere to the relevant schema:

Perhaps the SVD file in question with extraneous (?) spaces at the start of the file is not valid in terms of that schema?

If that is the case then presumably it's the SVD file and not the plugin that should change (be fixed)?

@TommyMurphyTM1234
Copy link

I don't know where the master/authoritative version of this file lives but this version doesn't seem to have any spaces at the start of the file:

@ilg-ul
Copy link
Contributor

ilg-ul commented Jul 9, 2024

Can the plug-in automatically handle the spaces at the beginning?

The plug-in uses standard parsers from the Java library; if your file fails, I would say it is non-conforming and should be fixed.

@TommyMurphyTM1234
Copy link

OK - I guess that the Pack file mentioned here:

namely, this:

is the one that is being used and each of the SVD files contained therein do contain extraneous (?) spaces at the start of the files:

  • ./SVD/GD32F30x_CL.svd
  • ./GD32F30x_HD.svd
  • ./GD32F30x_XD.svd

For example:

2024-07-09 12 25 19

I think that the validity or otherwise of these files can be checked using the arm CMSIS-Packs SVDConv.exe utility:

but unfortunately I cannot find how/where to download the CMSIS-Packs utilities and this page doesn't work for me and just says "Loading, please wait..." and never completely loads:

@TommyMurphyTM1234
Copy link

TommyMurphyTM1234 commented Jul 9, 2024

Ah - found SVDConv here:

And running it on the aforementioned SVD files with the recommended --strict option generates many INFO, several WARNING and one ERROR messages for each of these files.

You probably need to flag the issue with GigaDevices (assuming that the relevant CMSIS-Packs file(s) originate from them?) so that they can fix any issues with their files.

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

3 participants