Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4 Forum Discussions

TeMa_2997106
Level 6
Level 6
10 likes received 10 solutions authored 250 replies posted

 

Is there a way to monitor (dump) the value of the internal RAM?

I want to dump a running program without breaking it, instead of referencing the variable in the debugger.

Thanks,
Tetsuo

0 Likes
5 Replies
Len_CONSULTRON
Level 9
Level 9
500 solutions authored 1000 replies posted 750 replies posted

Tetsuo,

You can send your RAM value(s) out the UART port.  This is a common method.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
TeMa_2997106
Level 6
Level 6
10 likes received 10 solutions authored 250 replies posted

Len-san,

Thank you for your support quickly.

Is it possible to monitor with a debugging tool such as ICE?

Currently, I am using the following tools.
(Sorry, this is a Japanese site)
http://desktoplab.co.jp/service.html

Called RAM Monitor, the tool can dump regardless of FW.

Thanks,
Tetsuo

0 Likes

Tetsuo-san,

The Cypress MiniProg3 has JTAG capability.  This should allow you to display the contents of RAM without stopping the debug session.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
TeMa_2997106
Level 6
Level 6
10 likes received 10 solutions authored 250 replies posted

Len-san,

Is the JTAG port independent of the UART?
If yes, I think the JTAG command cannot monitor data from the UART, is it correct?

Thanks,
Tetsuo

0 Likes

Hello, 

Please refer to the MiniProg3 user guide for more information on different interfaces supported. 

https://www.infineon.com/dgdl/Infineon-CY8CKIT-002_MiniProg3_Kit_Guide-UserManual-v01_00-EN.pdf?file...

Thanks,

P Yugandhar. 

0 Likes