RTT support on MCX-N9XX-EVK does not work.

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

RTT support on MCX-N9XX-EVK does not work.

跳至解决方案
963 次查看
threeboystech
Contributor II

I've included the following SEGGER RTT files to my project, but the RTT Viewer does not seem to work.  Can anyone provide a reason as to why?

SEGGER_RTT_Syscalls_GCC.c

SEGGER_RTT.c

SEGGER_RTT.h

SEGGER_RTT_ASM_ARMv7M.S

SEGGER_RTT_Conf.h

SEGGER_RTT_printf.c

 

标签 (1)
0 项奖励
回复
1 解答
940 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @threeboystech 

When you add RTT related files.

You should check the _SEGGER_RTT Link Address in .map file.

Harry_Zhang_0-1733984204818.png

 

And when you open the J-Link RTT Viewer.

Harry_Zhang_1-1733984238399.png

Please input _SEGGER_RTT Link Address.

BR

Harry

在原帖中查看解决方案

3 回复数
924 次查看
threeboystech
Contributor II

I did find that I do need the call: SEGGER_RTT_Init()

Thanks!

0 项奖励
回复
941 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @threeboystech 

When you add RTT related files.

You should check the _SEGGER_RTT Link Address in .map file.

Harry_Zhang_0-1733984204818.png

 

And when you open the J-Link RTT Viewer.

Harry_Zhang_1-1733984238399.png

Please input _SEGGER_RTT Link Address.

BR

Harry

169 次查看
henrychenc
Contributor I

Hi @Harry_Zhang ,

MCXN235 also havs this issue,  after building project, the segger_rtt.o ram address will be changed, how to let Jlink RTT viewer auto detection the address.

or how can the segger_rtt.o be fixed at a specific RAM address? Thanks!

0 项奖励
回复