Skip to content

GD32F303 SVD BUG not show #610

Open
Open

Description

@xzbaijj

2024-07-08_103619

Activity

  1. TommyMurphyTM1234 commented on Jul 6, 2024

    @TommyMurphyTM1234

    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.

  2. TommyMurphyTM1234 commented on Jul 8, 2024

    @TommyMurphyTM1234

    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.

  3. TommyMurphyTM1234 commented on Jul 8, 2024

    @TommyMurphyTM1234

    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?

  4. xzbaijj commented on Jul 9, 2024

    @xzbaijj
    Author

    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?

  5. TommyMurphyTM1234 commented on Jul 9, 2024

    @TommyMurphyTM1234

    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)?

  6. TommyMurphyTM1234 commented on Jul 9, 2024

    @TommyMurphyTM1234

    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:

  7. ilg-ul commented on Jul 9, 2024

    @ilg-ul
    Contributor

    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.

  8. TommyMurphyTM1234 commented on Jul 9, 2024

    @TommyMurphyTM1234

    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:

  9. TommyMurphyTM1234 commented on Jul 9, 2024

    @TommyMurphyTM1234

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions