How to set up and enable semihost by Jlink for S32K118EVB

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

How to set up and enable semihost by Jlink for S32K118EVB

1,384 次查看
jacky_coretronic
Contributor I

Dear Sir:

I am a newbie for S32DS

I have some problems with a S32K118 .  I want to enable semihosting with SWD by jlink.

Now, I want to start from hello_world_s32K118 sample code!

How  I dump printf message by semihosting console ?

1 回复

603 次查看
mstroven
Contributor III

When setting this up on S32DS 3.4 using [ newlib Debugger Console ( -specs=rdimon.specs)  ] in project settings -> build -> Settings -> Target processor -> Libraries Support   AND "Enable Semihosting" checkbox = checked in my Debug Configuration -> Startup tab, I get the following error messages in the console window when a printf() is encountered:  [   "WARNING: Semihosting command SYS_FLEN failed. Handle is 0."
"WARNING: Semihosting command SYS_WRITE failed. Handle is 0." ]  Has anyone made this work in version 3.4 with JLink debugging?
"WARNING: Semihosting command SYS_WRITE failed. Handle is 0."  ]

0 项奖励
回复