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

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)

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

Asked:

on 19 Jan 2024

Answered:

on 6 Feb 2024

Community Treasure Hunt

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

Start Hunting!