In “EmbSysRegView 0.2.6 for Eclipse Neon and Oxygen” I have described how to add CMSIS-SVD register detail files to Eclipse using the EmbSysRegView plugin.
But what I need to add vendor or any other SVD files to it? Here is how:
With the installation method described in , all the data comes in a large .jar file inside the plugins folder:
A .jar file is nothing else than a .zip archive file, so I can open the file as any other .zip file:
So the approach is to add extra SVD files (extension .xml) to that structure and .jar file.
Kinetis Design Studio 3.2.0
KDS 3.x uses the unchanged/stock EmbSysRegView plugin, this makes it very easy. The data files are located in
<KDS installation folder>\eclipse\plugins\org.eclipse.cdt.embsysregview.data_0.2.4.freescale\data
Copy the files into the data folder of the plugin, .e.g.
You can use any custom folder, e.g. I have used ‘KDS’ as folder below:
Now I have the files/devices available under that folder in the EmbSysReg selection:
That way I have all the extra NXP KDS register files available:
NXP S32 Design Studio
If using S32 Design Studio, this Eclipse distribution uses a custom and modified version of EmbSysRegView plugin. So the SVD files are hidden and part of devices support/service packs. You can find them after installation if searching for *.svd in the installation directory:
Copy the files into the data .jar file. Change the extension from .svd to .xml.
Other SVD files are inside device specific .jar files, inside the eclipse\plugins folder:
The files are named in the following format:
With this I get a set of S32 Design Studio SVD files I can add to my collection:
Inside the EmbSysRegister view, I can now open them under the S32 group:
Knowing the EmbSysRegView data structure and data file makes it possible to extend it with extra CMSIS-SVD files. A good place is to grab them from existing IDE installations: that way I can build up my set of SVD files for easier debugging.
Happy SVD-Jaring 🙂
- EmbSysRegView 0.2.6 for Eclipse Neon and Oxygen
- How to Add Register Details View in Eclipse
- SVD file description: https://www.keil.com/pack/doc/CMSIS/SVD/html/svd_Format_pg.html