Problem with the "Mass Storage" upload method from the Arduino IDE to a Nucleo board #2850
-
|
I'm using the latest version of the Arduino IDE 2.3.6 under Windows 11. 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: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @6v6gt-duino |
Beta Was this translation helpful? Give feedback.
I will update the batch script to handle this case.
Since WMIC is deprecated:
https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242