STM32F411 Discovery board Blink LED program error
10 ビュー (過去 30 日間)
古いコメントを表示
I am trying to run the Getting started with stm32f4discovery project in matlab simulink. the code simple wont run. I tried multiple methods and answers however my error is always related to USB connection issues.
"Error while trying to establish USB communication with the STM32F4-Discovery board. Please reset the USB communication: 1. Disconnect the USB cable from the board. 2. Wait for three seconds. 3. Connect the USB cable again."
There is simply no information regarding the use of specific discovery f411 board, neither has MATLAB or STM have bothered to specify anything, the support package seems like namesake.
Has anyone worked specifically with this board and could support me in troubleshooting this?
Other than the specified steps from the example, there is a lot of external settings involved, I have updated the ARM compilier, STLink, STLink Firmware, MATLAB add ons are in place, tried with jumper on CN3 on and off also, however a simple LED program cannot be run. My board is showing up under USB seriel bus devices, no COM port no information regarding COM port, no ways to know how to use the STLink or the COM port.
Looking forward to your expert comments.
0 件のコメント
採用された回答
Madhu Varshini
2023 年 8 月 31 日
Hi,
The STM32F4-Discovery board, specifically utilizing the STM32F407VG microcontroller, is officially supported according to the information provided on the STMicroelectronics STM32F4-Discovery webpage.
If you are working with a different board from the STM32F4 family, it's important to note that direct support for that specific board might not be available within the 'STM32F4-DISCOVERY' support package.
As a workaround, you can consider using the "STM32F4xx Based Boards" option available within the Embedded Coder support package in Simulink. To ensure successful model verification, you can follow the STM32CubeMX workflow.
Remember to configure the COM port and UART settings accurately, aligning them with the configuration set in the build setup.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!