Hello SEGEGR users and Administrators,
I have a question on how to correctly use the __jlinkExecCommand with IAR Workbench to set location of the RAM buffer for RTT.
I need to set the RTT address as it was pointed out in FAQ for RTT, but I am having difficulty locating manual pages for __jlinkExecCommand.
After launching app in debugger and connecting to Jlink RTT Client I can set correct address in the Jlink Controll panel but
by then the output is "stale" -- i.e. not exactly real-time.
I think the __jlinkExecCommand ("SetRTTAddr 0x20000000") is the right answer but how do I get it compiled into the application? There may be
even better way to accomplift this. Advice is very welcome.
BTW would it be a good idea to set a standalone RTT section on this forum?
Thanks!
1/f
================================= from FAQ on RTT ===========================
Q:I do not see any output, although the use of RTT in my application is correct. What can I do?A:
In some cases J-Link cannot locate the RTT buffer in the known RAM region.
In this case the possible region or the exact address can be set manually via a J-Link exec command:
I have a question on how to correctly use the __jlinkExecCommand with IAR Workbench to set location of the RAM buffer for RTT.
I need to set the RTT address as it was pointed out in FAQ for RTT, but I am having difficulty locating manual pages for __jlinkExecCommand.
After launching app in debugger and connecting to Jlink RTT Client I can set correct address in the Jlink Controll panel but
by then the output is "stale" -- i.e. not exactly real-time.
I think the __jlinkExecCommand ("SetRTTAddr 0x20000000") is the right answer but how do I get it compiled into the application? There may be
even better way to accomplift this. Advice is very welcome.
BTW would it be a good idea to set a standalone RTT section on this forum?
Thanks!
1/f
================================= from FAQ on RTT ===========================
Q:I do not see any output, although the use of RTT in my application is correct. What can I do?A:
In some cases J-Link cannot locate the RTT buffer in the known RAM region.
In this case the possible region or the exact address can be set manually via a J-Link exec command:
- Set ranges to be searched for RTT buffer: SetRTTSearchRanges <RangeStart [Hex]> <RangeSize >[, <Range1Start [Hex]> <Range1Size>, ...] (e.g. "SetRTTSearchRanges 0x10000000 0x1000, 0x2000000 0x1000")
- Set address of the RTT buffer: SetRTTAddr <RTTBufferAddress [Hex]> (e.g. "SetRTTAddr 0x20000000")
- Set address of the RTT buffer via J-Link Control Panel -> RTTerminal