Problem with the "Mass Storage" upload method from the Arduino IDE to a Nucleo board #2850
Unanswered
6v6gt-duino
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the latest version of the Arduino IDE 2.3.6 under Windows 11.
I am also using 2.11.0 of the STM32 MCU Boards package for Arduino.
I have a Nucleo 64 board F103RB
If I attempt to upload code from the Arduino IDE with the default "Mass Storage" upload method, I get a message "Upload complete on NODE_F103RB ( =)", however, no code is actually uploaded. That is, the upload has failed silently.
If, however, I install the Cube Programmer V2.21.0 and select the CubeProgrammer(SWD) upload method in the Arduino IDE, then it all works.
If I use just the Cube IDE 1.19.0, that is without the Arduino IDE, I can also successfully load code to the Nucleo board.
I can, of course, open a formal issue, but would like first to hear if there could be a simple explanation which I may have missed,
EDIT 1
I have checked the contents of the virtual disk that the Nucleo presents to the PC and there are only 2 files on it, neither of which are related to the failed upload attempt.
The silent failure with "Mass Storage" upload method looks like this on the console:
EDIT 2
For comparison, this is the console output when there is a successful upload using the CubeProgrammer(SWD) upload method:
EDIT 3
There is also some discussion of this issue of the Arduino Forum which may add more information:
https://forum.arduino.cc/t/i-got-issue-uploading-blink-sketch-to-stm32-nucleo-board/1414194
Beta Was this translation helpful? Give feedback.
All reactions