STM32H753I-Eval2 in DFU mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-01-31 02:25 PM
Hello,
I'm curious if I am going through the correct procedure to put th H753I eval board in DFU mode. I have the power jumper JP10 on PSU. I then put a jumper on JP3 which is labeled BL_BOOT0 (which as far as I know puts the H7 in DFU mode when pulled high). I then plug in the PSU and then plug in usb cable to my pc and to the eval board. I've tried all three OTG ports, but I get no activity on my pc. When I check device manager, nothing new shows up at all. I've seen other see STM32 BOOTLOADER and STM32 in DFU mode, but I don't see either of these.
Any help or insight would be appreciated. Thank you.
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-12 03:15 AM - edited 2024-02-12 03:16 AM
Hi,
I have different ST board, but I wanted to specify few things about DFU Mode.
1. To enter into DFU mode, flash memory must be completely blank.
2. So erase the flash and unplug the board USB from the host machine then plug it back.
3. Open Windows 10 -> Settings -> Bluetooth & devices should list your DFU device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-02 09:08 AM
Hello @TLuke.2
You need to set BOOT0 to high to invoke internal DFU and reset MCU then keep BOOT0 high for duration of the test.
Then you start STM32CubeProgrammer and connect to device via UART in DFU mode and load firmware to programmer and tick "Run After Programming"
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
I'm out of offce with limited access to my emails.
Happy New Year!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-02 11:36 AM
Thanks, but I forgot to specify, I'm trying to specifically enter DFU via USB and not UART. Under the USB heading in cube programmer, I just see No DFU Detected. On the eval board, I've pulled the BOOT0 pin high and reset the MCU to no avail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-09 10:52 AM
Does anyone have any other insight on this? I should note I'm on Windows 11, but have also tried it on a machine running Windows 10. This question is specifically for DFU mode using USB and not UART.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-09 11:17 AM
Are you sure that no USB device is detected by Windows? (not necessary named "DFU")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-10 01:14 AM
Absolutely 100% sure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-12 03:15 AM - edited 2024-02-12 03:16 AM
Hi,
I have different ST board, but I wanted to specify few things about DFU Mode.
1. To enter into DFU mode, flash memory must be completely blank.
2. So erase the flash and unplug the board USB from the host machine then plug it back.
3. Open Windows 10 -> Settings -> Bluetooth & devices should list your DFU device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-12 07:25 AM
Hello again @TLuke.2
You may need to install the STM32CubeProgrammer DFU driver by running the “STM32 Bootloader.bat” file.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
I'm out of offce with limited access to my emails.
Happy New Year!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-12 10:41 AM - edited 2024-02-12 10:42 AM
@FBL but the OP says that no USB device is detected at all? So there's nothing to install the driver on. Suspecting that BOOT0 is not set well, or the option bytes of H753 for the boot address have been changed and no longer point to the built-in bootloader.
@TLuke.2 Can you connect with CubeProgrammer over SWD and check the boot address for BOOT0=1 in the option bytes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-12 11:28 AM
That did the trick. I didn't know DFU mode required flash memory to be completely blank. Thank you.
Pavel, thank you as well for the suggestions. I'm leaving these in my notes in case of future problems.