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 .
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-embedded-launchpad/
Keep in mind that the semihosting implementation for Segger and P&E are different too.
I hope this helps,
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?
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?
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-embedded-launchpad/ and created a C project and attached the Project in this thread.
Can you say me the Changes that I have to make to that project to Make Semihosting Working in it?
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.
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
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
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.
Retrieving data ...