How to deploy code to custom STM32 board via ST-Link JTAG?

16 views (last 30 days)
STM32 cube programmer connects to the Custom MCU fine but Matlab gives error "no STM32 MCU connected". I am not deploying the code using serial directly but rather using ST link JTAG (5 pin). Please advise with correct parameters.
I was following the tutorial by Matlab: https://au.mathworks.com/videos/using-simulink-with-stm32-discovery-and-stm32f4xx-based-boards-1637578171735.html
Thank you.

Answers (1)

Debadipto
Debadipto on 6 Feb 2024
Hello @Tanmay,
I understand that you are getting the error 'No STM32 MCU connected' during the deployment.
STM32CUBEMX is related to a third-party tool controlled by STMicroelectronics. You can leverage help from the ST community by posting your query on the “Ask” section of their website.
Please refer to the following link to the ST Community page - https://community.st.com/s/

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!