How can we run the program generated by STM32CubeMX without having to use the GUI?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-28 1:10 PM
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-28 1:46 PM
You need to compile it with an IDE such as STM32CubeIDE, then upload it to the chip using the IDE or STM32CubeProgrammer.
You also need to add your own code to make the program do something useful.
If you feel a post has answered your question, please click "Accept as Solution".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-28 2:59 PM
What file(s) need to be uploaded to the chip? We used STM32CubeIDE to build the application, but we want a simple way to load & run the application without having to start up the IDE and click on buttons.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-28 5:45 PM
The *.ELF file needs uploaded which is in the build directory (typically Release or Debug). Sometimes the ELF is converted to a HEX or BIN which, for this purpose, are equivalent.
It can also be uploaded with the STM32CubeProgrammer command line interface.
It can also be uploaded with the STM32CubeProgrammer command line interface.
If you feel a post has answered your question, please click "Accept as Solution".
