Adding a new chip to Embsys Registers.

Document created by IvanRuiz Employee on May 12, 2017Last modified by IvanRuiz Employee on May 19, 2017
Version 1Show Document
  • View in full screen mode

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.

2. Go to eclipse folder.

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

4. \data

5. \SVD(CMSIS)

6. \Freescale

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

 

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: Generating a downloadable MCUXpresso SDK v.2 package 

 

2. \SDK_2.2_MKL28Z512xxx7.zip\devices

 

 

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

 

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

 

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

 

Paste it in Freescale's folder:

Go to EmbSysRegView again and now it will be available

 

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

 

By Ivan Ruiz.

1 person found this helpful

Attachments

    Outcomes