I am getting 'Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command' using monitor and tune using stm32f411re
137 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I am trying to read data from a potentiometer from stm32f411re using simple analog input block and display with the Simulink Coder Support Package for STMicroelectronics Nucleo Boards. I can use the controller with build, start &deploy but I cannot use monitor and tune I get this error. I already checked com port from the device manager and use the same com port. I need help please
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
Component:Simulink | Category:Model error
1 comentario
Adit Kirtani
el 2 de Nov. de 2023
Hi,
You can go ahead and contact Technical Support:
Thank you,
Adit Kirtani.
Respuestas (1)
Rangesh
el 30 de Oct. de 2023
Editada: Rangesh
el 30 de Oct. de 2023
Hi Mustafa,
I understand that you are trying to troubleshoot the issue by checking the COM port, but it appears that the ".ioc" file specific to this board has not been created for Simulink. To create the file, please follow the steps provided below:
- Change the Hardware board to “STM32F4XX Based” in the Hardware settings.
- Navigate to Create > Build options > Target hardware resources.
- In the resulting window, create a new ".ioc" file and select the hardware as “NUCLEO-F411RE”.
- After creating the file, proceedto configure the COM port and USART in the Connectivity > Target hardware resources section.
I hope that following these steps will help you resolve the issue you are facing.
Thanks,
Rangesh.
2 comentarios
Muhammad Qureshi
el 23 de Nov. de 2023
I have the very same issue. Did you find an answer?
Please let me know.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!