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

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

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

Jump to solution
962 Views
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

 

Labels (1)
0 Kudos
Reply
1 Solution
939 Views
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

View solution in original post

3 Replies
923 Views
threeboystech
Contributor II

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

Thanks!

0 Kudos
Reply
940 Views
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

168 Views
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 Kudos
Reply