Groups
Groups
Sign in
Groups
Groups
STM32TW
Conversations
About
Send feedback
Help
STM32F4 virtual com port
118 views
Skip to first unread message
mark
unread,
Aug 1, 2016, 6:18:30 AM
8/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to STM32TW
我想請問一下
STM32F4 我直接用USB插頭連接,但是沒有COM port出現
所以是要用virtual com port 來進行設定嗎?
也想請問一下有人設定過的嗎?
MCUApps
unread,
Aug 1, 2016, 6:23:32 AM
8/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to STM32TW
Discovery 系列需要有支援 mbed 的版本才會有虛擬 com port.
更進一步說,燒錄器需要事 ST/Link 2-1 版本才有,而 STM32F4 Discovery 則否。
新的 STM32F407G-DISC1 會有 virtual com port,與 STM32F4 Discovery 的差異也就在燒錄器版本。
mark於 2016年8月1日星期一 UTC+8下午6時18分30秒寫道:
mark
unread,
Aug 1, 2016, 7:19:42 AM
8/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to STM32TW
那我的板子是STM32F407IGH6
ST Link的版本是ST-LINK/V2
我這樣會有辦法使用Com port嗎?
然後就是如果沒有辦法使用com port的話
要如何像Arduino一樣有監控序列視窗可以觀察呢?
mark於 2016年8月1日星期一 UTC+8下午6時18分30秒寫道:
MCUApps
unread,
Aug 1, 2016, 7:27:22 AM
8/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to STM32TW
自己接線。市面上有那種 USB 轉 UART 的轉板,
STM32F4 上 (TX on PA2, RX on PA3),然後轉板上的 UART TX 去接 STM32F4 的 RX,轉板上的 UART RX 去接 STM32F4 的 TX
之後你要找個 UART 範例去驅動 STM32F4 的 USART,就可以輸出資料了
如果要深入了解的話,這邊有中文資料
http://wiki.csie.ncku.edu.tw/embedded/USART
mark於 2016年8月1日星期一 UTC+8下午7時19分42秒寫道:
mark
unread,
Aug 1, 2016, 7:40:12 AM
8/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to STM32TW
謝謝你,RX TX以及UART的部分我都了解
我之後會去找條轉接線來接,然後再試試看
Reply all
Reply to author
Forward
0 new messages