ITM console view with FreeMaster

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ITM console view with FreeMaster

ソリューションへジャンプ
1,658件の閲覧回数
Maurizio2
Contributor II

Is it possibile to show the ITM printf with Freemaster tool? I need a software like SWO ITM Console ( in MCUxpresso ). MCUxpresso (SWO ITM Console windows) works very fine but it works only in debug session. I need a standalone software for ITM printf.

タグ(4)
0 件の賞賛
返信
1 解決策
1,590件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello, 

the RTT only works with Segger J-Link probes. The FreeMASTER PD-BDM technology is somewhat similar to RTT in a sense that JTAG interface is used for physical transfer and serves as a transport layer for FreeMASTER protocol. This enables FreeMASTER features like Oscilloscope, Recorder and Pipes to work over JTAG.

The PD-BDM plug-in can be configured in FreeMASTER to use J-Link or CMSIS-DAP as a low-layer access to JTAG.

You should be able to see it working in fmstr_pdbdm example application. As I wrote previously, one of Pipes could be then used for your console-like output.

 

MichalH_0-1748239984766.png

 

Regards,
Michal

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,648件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Dear Maurizio,

there is no option for ITM read-out in FreeMASTER. I would recommend two other options which are more or less compatible with FreeMASTER:

  • If you use J-Link probe, then Segger RTT could be what you need - a data streaming over JTAG with a standalone PC tools like RTT console (JlinkRTTViewer). The NXP MCUXpresso SDK includes the Segger RTT driver as reusable software component. Note that FreeMASTER supports communication over RTT too, so once your application would support the RTT, you could then easily switch between console and FreeMASTER modes or even run both simultaneously each on a separate RTT port. There is fmstr_rtt demo application in MCUXpresso SDK packages for most of the CortexM microcontroller parts.
  • Use FreeMASTER Pipes and the FMSTR_PipeWrite, FMSTR_PipePuts, FMSTR_PipePrintf and similar methods. This will enable you to print any text output to FreeMASTER pipe view over the FreeMASTER protocol (so it will work the same over UART, CAN, Ethernet and also Segger RTT).

Regards,
Michal

0 件の賞賛
返信
1,627件の閲覧回数
Maurizio2
Contributor II
I haven't J-Link probe I use MCU Link debug probe. Is it possible with MCU Link (CMSIS-DAP) ?
0 件の賞賛
返信
1,591件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello, 

the RTT only works with Segger J-Link probes. The FreeMASTER PD-BDM technology is somewhat similar to RTT in a sense that JTAG interface is used for physical transfer and serves as a transport layer for FreeMASTER protocol. This enables FreeMASTER features like Oscilloscope, Recorder and Pipes to work over JTAG.

The PD-BDM plug-in can be configured in FreeMASTER to use J-Link or CMSIS-DAP as a low-layer access to JTAG.

You should be able to see it working in fmstr_pdbdm example application. As I wrote previously, one of Pipes could be then used for your console-like output.

 

MichalH_0-1748239984766.png

 

Regards,
Michal

0 件の賞賛
返信