- Technical Services and Consulting
- Embedded Systems | Firmware Developement | Simulations
- Electrical and Electronics Engineering
Unable to Programm stm Microcontroller.
2 次查看(过去 30 天)
显示 更早的评论
I am trying to program stm32f446 nucleo board using matlab but i am getting following error, which i am unable to resolve.
Also when I was installing Embedded coder support package for STM, it required CubeMX v6.2 and CubeProgrammer v2.6 whereas I already have CubeMX v6.8 and Programmer v2.13 but the installation still fails. Does anyone have an idea how to resolve this??
I am using MATLAB R2021b, CubeMX v6.8 and Programmer v2.13. Attaching all images and simulink model:
0 个评论
回答(2 个)
Hassaan
2024-2-13
Make sure STM32CubeMx instance is not already open and the internet access is working. Also, if its better to know if you have admin rights for software installation as sometime it can cause issues.
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
Feel free to contact me.
Madhu Varshini
2024-2-20
Hi, There can be two workaround for the above issue:
- Instead of going through the Hardware Setup Screen, can you download the latest firmware from the STM32CubeMX directly.
- Before this screen, you get the option for the firmware path, give the path where you have downloaded from the firmware from STM32CubeMX
- You can also use the latest MATLAB release instead and there should not be any issue even from Hardware Setup Screen.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!