I have a problem with my 2.2 board disconnecting from the PC while trying to commit an upload via Arduino. I am not experiencing the issue with my other saber that has a 3.9 board.
The error message:
C:/Users/user/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/…/lib/gcc/arm-none-eabi/14.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe:C:\Users\user\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2’ not declared
lto-wrapper.exe: warning: using serial compilation of 7 LTRANS jobs
lto-wrapper.exe: note: see the ‘-flto’ option documentation for more information
C:/Users/user/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/…/lib/gcc/arm-none-eabi/14.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: start of section .bss changed by 24
Sketch uses 227224 bytes (86%) of program storage space. Maximum is 262144 bytes.
Cannot open DFU device 0483:df11
1
Cannot open DFU device 0483:df11
2
Cannot open DFU device 0483:df11
3
Cannot open DFU device 0483:df11
4
Cannot open DFU device 0483:df11
5
Cannot open DFU device 0483:df11
6
Cannot open DFU device 0483:df11
7
Cannot open DFU device 0483:df11
8
Cannot open DFU device 0483:df11
9
Cannot open DFU device 0483:df11
10
Cannot open DFU device 0483:df11
Good thing for you, this doesn’t mean “while uploading”, however it means “while trying to upload”.
If you can see in Arduino, bottom right corner "Proffieboard Vx on COMy (replace x and y with your numbers), you might probably need to manually set the board to DFU Bootloader mode. Here is the sequence:
with USB facing up and pointing towards you: (I use two flat end wooden toothpicks to click the buttons on the board, you can also use a 2x4, 2x6 or taller LEGO tile or plate)
You need to be gentle and feel the click and “un-click” of the buttons.
- Hold BOOT (left),
- Press and release RESET (right),
- Release BOOT (left).
- Check that the computer sees an STM32BOOTLOADER device in Devices and Printers control panel.
- Upload. (you won’t see a Proffieboard connected to a com port in Arduino - Edit but it will be there!)
This might be confusing, so I will rephrase: with the usb port pointing towards you (or if North is the direction you are looking to, then South is behind you, so with the usb pointing South)
Hi, I used the “RebootDFU” command in the Serial Monitor in Arduino as I read it is gives the same result as your suggestion. Your suggestion worked in that the COM port was reset, I was then able to re-install the DFU driver which seemed to re-bind the STM32BOOTLOADER driver to the COM port. All good now, thanks again, your help is appreciated.
That’s not actually what happens.
If you don’t care that’s fine, if you do, here is where you can find out more:
Hi, I came to the thought of applying the RebootDFU command from reading a reply in the post below, that’s not to say by applying RebootDFU command I was dismissing the suggestion for the hard reset , it appeared to me from the post that it may be another method of doing the same. Appreciate your expertise in clarifying that it is in fact not the same. Whatever the RebootDFU command does it seemed to help resolve my issue in that the COM port driver appeared to reset itself, I could not hazard a guess as to how but it seemed to. When I then re-applied your proffie-dfu-setup.exe the STM32 Bootloader device appeared. Prior to the RebootDFU command running the proffie-dfu-setup.exe had no positive effect. I have pretty much got my head around my 3.9 board but I’m still struggling with my 2.2 board for some reason.
The post I refer to is below;
DFU Driver Issues - ProffieOS - The Crucible
Thanks for your reply and advice, it is very much appreciated.
Regards
Les