Skip to main content
DLim.16
Associate III
December 23, 2019
Question

How to use semihosting with STM32F405?

  • December 23, 2019
  • 2 replies
  • 693 views

Hi,

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

Thanks.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
December 23, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
DLim.16
DLim.16Author
Associate III
December 25, 2019

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,