cancel
Showing results for 
Search instead for 
Did you mean: 

How to use semihosting with STM32F405?

DLim.16
Associate II

Hi,

Does anybody know how to enable and use semihosting with STM32F405? If so, could you give me some guidance?

Thanks.

This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2

Keil doesn't support it, but can retarget printf(), putchar(), etc.

Semihosting is mentioned here

https://www.st.com/content/ccc/resource/technical/document/application_note/group0/3d/a5/0e/30/76/51/45/58/DM00354244/files/DM00354244.pdf/jcr:content/translations/en.DM00354244.pdf

What are you trying to do? File IO?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
DLim.16
Associate II

Hi,

Actually, sorry I forgot to mention that I'm using STM32Cube IDE. I just want to have some form of output to help debugging, especially when it comes to reading MEMS sensors.

Thanks,