Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 4 months ago.
Error: STM32Cube Code Uploading to Nucleo Board Using Mbed Compiler
I was able to generate a .c code from the STM32Cube. I then imported this code into the mbed compiler. Now when I build/compile the file, it said it was successful and bin was created. This is where the issue occurred. I drag the bin file into the folder for the Nucleo-STM32F303RE and it is not able to process it. It does not upload. The mbed compiler is on the correct platform and the fact that it was built successful implies that the code is fine. I am able to upload any code that originate from bed but not from the STM32Cube. Which doesn't quite make sense. Maybe I missed a step somewhere? Please help.
Hi Jessica,
How do you mean that the code does not upload, can you be more specific about the whole process?
Regards,
Andrea, team mbed
posted by Andrea Corrado 02 Jun 2017Thank you. I am able to compile the code and then mbed creates a .bin file. I drag that .bin file into Nucleo's Serial Port. Usually, the .bin file will disappear from the Serial Port's folder once the Nucleo has been updated with the new code(LED1 blinks red/green to signify this). However, the .bin file never disappears and the file never uploads to the Nucleo board (LED1 never blinks). This is only an issue I have encountered with any code generate from the STM32Cube. I have been able to upload codes that originate from mbed without this issue. Is that more clear?
posted by Jessica Ballard 02 Jun 2017