Print String with stm32f407 discovery

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

nami1216
Posts: 9
Joined: Wed Aug 21, 2019 5:05 pm
Has thanked: 2 times

Print String with stm32f407 discovery

Postby nami1216 » Wed Sep 11, 2019 5:07 pm

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

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Print String with stm32f407 discovery

Postby Giovanni » Wed Sep 11, 2019 5:29 pm

Hi,

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

Giovanni

nami1216
Posts: 9
Joined: Wed Aug 21, 2019 5:05 pm
Has thanked: 2 times

Re: Print String with stm32f407 discovery

Postby nami1216 » Wed Sep 11, 2019 5:42 pm

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

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Print String with stm32f407 discovery

Postby Giovanni » Wed Sep 11, 2019 6:14 pm

Hi,

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

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 49 guests