Adding a new chip to Embsys Registers.

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a new chip to Embsys Registers.

Adding a new chip to Embsys Registers.

Normally when debugging you need to know the status of your registers in the Embsys Registers section. Most of the time when a board or chip are just released you are not able to select them (because they're not available) and therefore it makes it more difficult for you to debug.

In this document I will guide you through the process for adding any chip you are working with to EmbSys Registers section.

1. First of all it is needed to know where the Embsys Registers' Folder is located. Go to the folder where KDS is installed.

pastedImage_1.png

2. Go to eclipse folder.

pastedImage_2.png

3. \org.eclipse.cdt.embsysregview.data_0.2.4.freescale

pastedImage_3.png

4. \data

pastedImage_4.png

5. \SVD(CMSIS)

pastedImage_5.png

6. \Freescale

pastedImage_6.png

8. Finally this folder contains XML files, these files can be processed purely as data by the program.

pastedImage_10.png

To add a new XML file which describes the new chip:

1. go to your chip's package (In my case \SDK_2.2_MKL28Z512xxx7.zip).

Note: If you don't know where to build a package, please go to the following post: https://community.nxp.com/docs/DOC-333304 

2. \SDK_2.2_MKL28Z512xxx7.zip\devices

pastedImage_11.png

3. \SDK_2.2_MKL28Z512xxx7.zip\devices\MKL28Z7

As you can see, the MKL28Z7 is not available in EmbsysRegView.

pastedImage_15.png

Locate the XML and copy it to the route:

C:\Freescale\KDS_v3\eclipse\plugins\org.eclipse.cdt.embsysregview.data_0.2.4.freescale\data\SVD(CMSIS)\Freescale

pastedImage_1.png

Paste it in Freescale's folder:

pastedImage_16.png

Go to EmbSysRegView again and now it will be available

pastedImage_17.png

Restart Kinetis Design Studio and you'll be able to see your chip's registers:

pastedImage_18.png

By Ivan Ruiz.

Version history
Revision #:
1 of 1
Last update:
‎05-12-2017 10:01 AM
Updated by: