eclipse-embed-cdt / eclipse-plugins

The Eclipse Embedded CDT plug-ins for Arm & RISC-V C/C++ developers (formerly known as the GNU MCU Eclipse plug-ins). Includes the archive of previous plug-ins versions, as Releases.
http://eclipse-embed-cdt.github.io/
Eclipse Public License 2.0
554 stars 130 forks source link

The peripheral view is empty #491

Closed zhaoxuji closed 2 years ago

zhaoxuji commented 3 years ago

The problem description is like the title. 1623031093(1) 1623031135(1)

log.txt

ilg-ul commented 3 years ago

Your SVD files seem to contain non-parseable characters.

jonahgraham commented 3 years ago

@zhaoxuji Are you able to share the SVD file you used? The Xml reader (linked below) should be handling the encoding as declared in the SVD XML file. Is there a encoding="utf-8" or similar in the SVD? And if so, does it match the contents of the file?

https://github.com/eclipse-embed-cdt/eclipse-plugins/blob/c57bac116b482ee102ebbeb875efdaea1cf25b32/plugins/org.eclipse.embedcdt.core/src/org/eclipse/embedcdt/core/Xml.java#L50-L59

SoniaZotz commented 2 years ago

having the same problem perif

image

TommyMurphyTM1234 commented 2 years ago

having the same problem

You probably need to post your SVD XML file.

SoniaZotz commented 2 years ago

standard ARM Pscks -- Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.44.1\SVD nrf51.zip

ilg-ul commented 2 years ago

The file is ok, it was parsed properly:

Screenshot 2022-01-12 at 10 51 47

Screenshot 2022-01-12 at 10 50 59

You probably did something wrong.

SoniaZotz commented 2 years ago

yes thank -its working I used the wrong file in the SVD selection