S32DS how to properly dump RAM in debug session?

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

S32DS how to properly dump RAM in debug session?

3,826 次查看
embedded_eng
Contributor I

Hello,

I'm using MPC5744P PowerPc architecture uC for development. I'm trying to dump a small block of RAM after using Trace functions in uC/OS-III which is my main OS.

After I dump RAM, it seems like whole RAM is all zeros, but this is impossible.

Can you tell me what is the proper way to dump RAM as bin file?

P.S. I'm using PE Micro Multilink Universal programmer.

Thank you,

Regards

标签 (1)
0 项奖励
回复
2 回复数

3,326 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

unfortunately, I do not know Trace functions in uC/OS-III, but S32DS has it's own method, how to dump memory.

In debug session, click Memory tab and choose export. Export memory menu will appear. Please see figure below:

pastedImage_1.png

Now choose the required format, address range and path and click OK File with memory dump will be created.

Please let me know if this solution is suitable for you.

Regards,

Martin

3,326 次查看
embedded_eng
Contributor I

Hello Martin, thank you for your answer and detailed explanation.

It is working.

I used the same principle, but it seems I chose the wrong export format, and some variables were reseted to zero due to some other functions, so I was getting a wrong data out. I'm using this for uC/OS-III Trace data export.

Thank you again.

0 项奖励
回复