Page 1 of 1

Print String with stm32f407 discovery

Posted: Wed Sep 11, 2019 5:07 pm
by nami1216
Hi friends,
May you tell me how to write or make program to print String from stm32f407 to eclipse when we run or debug program?
As you know stlink of stm32f407 does not use UART port. Do you have any guide for that.
Thanks so much

Re: Print String with stm32f407 discovery

Posted: Wed Sep 11, 2019 5:29 pm
by Giovanni
Hi,

You need to use a serial port and an serial/USB adapter I think.

Giovanni

Re: Print String with stm32f407 discovery

Posted: Wed Sep 11, 2019 5:42 pm
by nami1216
Giovanni wrote:Hi,

You need to use a serial port and an serial/USB adapter I think.

Giovanni

Hi Giovanni,
May we use USB CDC for printing String?
if possible, do you have tutorial or how to setup USB CDC?
Thanks so much

Re: Print String with stm32f407 discovery

Posted: Wed Sep 11, 2019 6:14 pm
by Giovanni
Hi,

All USB demos do exactly that, the example is there.

Giovanni