How to “Debug Ram Mode”?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to “Debug Ram Mode”?

906 Views
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.

Tags (3)
0 Kudos
3 Replies

721 Views
limchae-sul
Contributor I

Thank you so much. 

Thank you in advance. 

0 Kudos

721 Views
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 Kudos

721 Views
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 Kudos