Questions tagged [semihosting]

Semihosting is a feature in ARM Cortex-based cores for letting the program interact with the debugger and the debugger machine. Features include sending text for printf() debugging and reading/writing files.

6
votes
1answer
591 views

why trace_printf(“%f”,x); triggers a HARD FAULT on a stm32 MCU?

I'm using a stm32 F413ZH microncontroller with HAL libraries (mainly written to be used with c but can also be used with c++) in eclipse, actually I managed to completely configure eclipse including ...
5
votes
1answer
257 views

Is there a way to check if semihosting is enabled at runtime

The ARM Cortex cores has a built-in feature called semihosting which is a way to interact with the attached debugger, for example to do printf() debugging without using a peripheral unit. However, ...