Replies: 1 comment 4 replies
-
Burn bootloader from Arduino is not implemented as we do not need it. About DFU if the cube programmer is not able to connect it means you have an issue with your hardware. Normally if you choose dfu in the upload method and the board is in the built in bootloader in dfu mode it should flash properly. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a USB hardware board with STM32F072C8 and I am trying to use the stm32duino to be able to use the board with Arduino IDE.
The problem I am facing is that I cannot burn the bootloader to the board.
I connect the STM32 BOOT pin to active HIGH (3.3v) and this put my USB in BOOT mode. (I am assumung no other PIN needs to be connected)
It can enumerates successfully in Windows Device Manage as DFU Device. Screenshot below
I also launched CubeProgrammer and despite it can detect the PID and VID correctly, it can not connect to the USB board and dispalys
"Error: Establishing connection with device failed"
See screenshot below
I launch Arduino IDE and set everything correctly. However, when I choose "Burn Bootloader", I receive the error "Missing Programmer"
see this screenshot
However, I wrote a simple Arduino sketch that toggles LEDs on the board, I chose Arduino->Sketch->Verify/Compile. Then I took the *.hex file and flashed it to the USB board using J-Link and SWD. The sketch working on the board successfully and LEDs are toggled as expected.
I am thinking if I can flash the bootloader the same way using J-link and SWD but I do not know how to generate the *.hex file for the bootloader.
Any help in the above issues are much appreciated and would be helpful. Feel free to ping me on skype: hossamfattah and any sincere help will be rewarded.
Beta Was this translation helpful? Give feedback.
All reactions