Hi there!
This is Daisuke FUKUDA with NEXTY Electronics Japan. Thank you for support.
I'm trying to use SEMIHOSTING with MCU-LINK and LPC11U68JBD100. However I still cannot see SEMIHOSTING works successfully. What I did is below.
1. I build the software for LPC11U68JBD100 with DEBUG mode and SEMIHOSTING based on LPCOpen.
2. I connect Cortex Debug Connector in MCU-LINK to LPC11U68JBD100 in my board. After that, I turn the board on.
3. I press Debug ... (Green insect) in MCUxpresso.
After 3, It looks like the target and MCUxpresso is frozen.
However I disable SEMIHOSTING as the define and connect UART cable in MCU-LINK to LPC11U68JBD100. And then, I press Debug. Finally I see it works so well and the result of printf redirects to UART. So I can see the result via TeraTerm.
In addition to that, SEMIHOSTING works so well when I connect LPC-Link2 to my LPC11U68JBD100.
Am I able to use SEMIHOSTING on MCU-LINK? Now I think SEMIHOSTING doesn't work in MCU-LINK. If I wanna use SEMIHOSTING, I have to use LPC-LINK2, right?
Best regards,
FUKUDA
已解决! 转到解答。
Hi Alice,
This is Daisuke FUKUDA with NEXTY Electronics Japan. I'm sorry for being late to reply.
I could connect MCU-Link to my board at last based on your advice. Now I'm migrate to it from LPC-Link2 in my software.
Your answer is what I was looking for. Thanks!
Best regards,
FUKUDA
Hello FUKUDA,
I use MCU-LINK debug LPC11u68, the Semihost can work well. Pay attention, when print to Console view,
need debug your project, click the "Debug" button as below picture.
Enable :
#define DEBUG_SEMIHOSTING
I also attached my test project, you can test on you side, it based on LPCopen.
BR
Alice
Hi Alice,
This is Daisuke FUKUDA with NEXTY Electronics Japan. I'm sorry for being late to reply.
I could connect MCU-Link to my board at last based on your advice. Now I'm migrate to it from LPC-Link2 in my software.
Your answer is what I was looking for. Thanks!
Best regards,
FUKUDA