2023-08-23 09:48 AM
Solved! Go to Solution.
2023-09-12 01: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.
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
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?
2023-09-12 01: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.