Adding a new chip to Embsys Registers.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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.

評価なし
バージョン履歴
最終更新日:
‎05-12-2017 10:01 AM
更新者: