Enable semihosting and use Printf Messages in Kinetis design Studio v3.2

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

Enable semihosting and use Printf Messages in Kinetis design Studio v3.2

18,323 次查看
vigneshbalaji
Senior Contributor I

Hi,

     I want to know How to Enable semihosting and use Printf Messages in Kinetis design Studio? Please give me a detailed explanation with Example code. I am using KDSv3.2 .

标签 (1)
标记 (1)
9 回复数

17,807 次查看
BlackNight
NXP Employee
NXP Employee

Hi Vignesh,

this depends if (and which) SDK you are using.

For SDK V2.0 see https://mcuoneclipse.com/2016/08/06/semihosting-again-with-nxp-kinetis-sdk-v2-0/

Otherwise see https://mcuoneclipse.com/2015/05/27/semihosting-for-kinetis-design-studio-v3-0-0-and-gnu-arm-embedde...

Keep in mind that the semihosting implementation for Segger and P&E are different too.

I hope this helps,

Erich

0 项奖励
回复

17,808 次查看
vigneshbalaji
Senior Contributor I

Hi Erich,

              I followed your post and created a project but still I am not able to get semihosting working on KDS.I have attached the project also.Please say me the changes that I have to make to make that project workiing?

0 项奖励
回复

17,808 次查看
BlackNight
NXP Employee
NXP Employee

Hi Vignesh,

that project you have posted here is not a KDS V3.2.0 or KDS V3.0.0 project.

From the options and the project content you have not created the project with the steps outlined in the above articles?

Erich

17,808 次查看
vigneshbalaji
Senior Contributor I

Can you say me the Changes that I have to make to that project to Make Semihosting Working in it?

0 项奖励
回复

17,808 次查看
BlackNight
NXP Employee
NXP Employee

No, that project won't work as you have it created for a Cortex-M3. I recommend that you start with a project created with File > New Processor Expert.

Erich

17,793 次查看
vigneshbalaji
Senior Contributor I

Hi,

     I want to use Semihoosting Working on a Non-processor expert project.I have created a project from scratch and I have posted The screenshot of each and every step and the problems I faced in it.I have also attached the Project .In this i have selected the Target Processor as ARM Cortex-M0plus

0 项奖励
回复

17,793 次查看
BlackNight
NXP Employee
NXP Employee

With File > New Processor Expert. you can create non-Processor Expert projects too. I recommend that you use that approach as with this you get a correct project with all the correct settings.

I hope this helps,

Erich

0 项奖励
回复

17,793 次查看
vigneshbalaji
Senior Contributor I

Hi,

     I want to use Semihoosting Working on a Non-processor expert project.I have created a project from scratch and I have posted The screenshot of each and every step and the problems I faced in it.I have also attached the Project .In this i have selected the Target Processor as ARM Cortex-M0pluus

0 项奖励
回复

17,793 次查看
vigneshbalaji
Senior Contributor I

   Hi Erich,

                 I am using TRK-KEA-128 Board which is not supported under KDS SDK Package.For which I have attached the Screenshot and the Question that I asked in the forum Why KSDK is not supporting KEA-128 Still??? .So I was not able to follow this post of yours  https://mcuoneclipse.com/2016/08/06/semihosting-again-with-nxp-kinetis-sdk-v2-0/ but I followed the second post https://mcuoneclipse.com/2015/05/27/semihosting-for-kinetis-design-studio-v3-0-0-and-gnu-arm-embedde... and created a C project and attached the Project in this thread.

0 项奖励
回复