Example S32K312 Printf Semihosting DS3.5 RTD300

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

Example S32K312 Printf Semihosting DS3.5 RTD300

Example S32K312 Printf Semihosting DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the
Printf Semihosting for the S32K3xx MCU.

 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************

Create New project :--

Dinesh_Guleria_0-1707031699387.png



Select Semi hosting library in project Properties :--

Dinesh_Guleria_1-1707031800366.png



In Debugger setting :---

Dinesh_Guleria_2-1707031851198.png



Include file :--
#include <stdio.h>

Output :--

Dinesh_Guleria_3-1707031893795.png

 

 

添付
コメント

Hi @Dinesh_Guleria ,

 

Thanks for the information. It works but only with debugger.

I cannot run the code without debugger with given settings.

It runs without debugger when I select "libraries support" as non semihosting options like  newlib or newlib nano.

 

What could you suggest?

 

評価なし
バージョン履歴
最終更新日:
‎02-04-2024 12:32 AM
更新者: