STM32F411 Discovery board Blink LED program error simulink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-23 9:48 AM
Solved! Go to Solution.
- Labels:
-
Flash
-
STM32F4 Series
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-12 1:22 AM
Solved this by connecting USB TTL 232 cable to PA2 and PA3, which are the USART2 Tx and Rx and only those can be used for serial communication on this board. Also would suggest to create the CubeMX file from simulink, it is better that way to activate all the right components which simulink needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-23 11:31 AM
I don't know if it can help in your case, but I found these videos about advanced debugging:
STM32CubeIDE Advanced Debug Features
https://youtube.com/playlist?list=PLnMKNibPkDnEDEsV7IBXNvg7oNn3MfRd6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-06 12:28 AM
Hello, I used the USB TTL 232 RPI cable then the COM port was listed but there is still error in communcation with simulink.
Error:External Mode Open Protocol Connect command failed Caused by: Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
How can i fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-12 1:22 AM
Solved this by connecting USB TTL 232 cable to PA2 and PA3, which are the USART2 Tx and Rx and only those can be used for serial communication on this board. Also would suggest to create the CubeMX file from simulink, it is better that way to activate all the right components which simulink needs.
