How to “Debug Ram Mode”?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to “Debug Ram Mode”?

2,370 次查看
limchae-sul
Contributor I

-. MCU: MC9S12ZVL

-. CodeWarrior 11.0

Hi, i would like to “Dubug Ram Mode” in codewarrior just like attached a picture.

but, i can’t find a method and example.

please let me know “Debug Ram Mode” method and example.

标记 (3)
0 项奖励
回复
3 回复数

2,185 次查看
limchae-sul
Contributor I

Thank you so much. 

Thank you in advance. 

0 项奖励
回复

2,185 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

You are welcome!

Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

2,185 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Lim,

By default, CW created project only has FLASH configuration. The RAM configuration should be added by the project owner.

If user wants to debug code in RAM, user can manually add RAM configuration. Steps:

1. Refer my last reply of this thread How switch from debug to release build?  to create a new build configuration called RAM

2. Create a new prm file to allocate code to RAM.

pastedImage_2.png

3. use RAM config prm for RAM configuration:

pastedImage_3.png

4. Name Artifact name as *-RAM for RAM configuration

pastedImage_7.png

5. In debug configuration, create new interface as below:

pastedImage_6.png

6. Click on debug, in debugger window, we will see all codes are in RAM

pastedImage_9.png


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复