Is there any way to make Keil MDK exchange information with other windows application through socket ?
I want to develop a debug software. so I need the MDK to send some information (like variable value) to a debug tool (like eclipse) and receive debug commands from debug tool. So my question is whether there is a way to exchange data between Keil and other windows application through socket ?
Thank you!
Take a look at this App Note:
http://www.keil.com/appnotes/docs/apnt_198.asp
Thank you for your reply! I almost have no hope to this topic until seeing your reply. one question is that ITM can only output debug information to outside, is there any way to input information to the program by ITM? thank you!
zhyihui2100 said:ITM can only output
Correct.
https://developer.arm.com/documentation/ddi0337/e/system-debug/itm
zhyihui2100 said:is there any way to input information to the program by ITM?
No.
But you might want to look at Semihosting ...
https://www.keil.com/support/man/docs/armcc/armcc_pge1358787046598.htm
https://wiki.segger.com/Semihosting
and, of course, there's always the good ol' UART ...