This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Not able to use printf/scanf in uVision 4 (MDK Tools for CortexM3)

When semihosting function printf/scanf are used, the execution breaks at BKPT 0xAB instruction while trying to execute __sys_open. BKPT 0xAB is used to allow semihosting, since vector catch is not possible in CortexM3(SVC 0xAB can not be used).
Could someone please help me if printf/scanf can be used in MDK tools for CortexM3 target?
Do I have to configure any setting to use semihosting? I do not want to use UART terminal to display debug message

Thanks