DFU Update fails

Hi all-

I seem to have a bricked camera. After going through the steps, I connect the BOOT and RST pins together and it starts erasing/downloading, but then hangs in the second sector. Output below. Any help?

/Applications/OpenMV IDE.app/Contents/Resources/dfu-util/osx/dfu-util -w -d ,0483:df11 -a 0 -s :leave -D /Users/greg/.config/OpenMV/qtcreator/firmware/OPENMV4/openmv.dfu

dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Waiting for device, exit with ctrl-C
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash   "
file contains 1 DFU images
parsing DFU image 1
Target name: ST...
image for alternate setting 0, (2 elements, total size = 2095016)
parsing element 1, address = 0x08000000, size = 262144

Erase   	[                         ]   0%            0 bytes
Erase   	[                         ]   0%            0 bytes
Erase   	[=                        ]   4%        11264 bytes
Erase   	[==                       ]   8%        21504 bytes
Erase   	[===                      ]  12%        31744 bytes
Erase   	[====                     ]  16%        41984 bytes
Erase   	[=====                    ]  20%        53248 bytes
Erase   	[======                   ]  24%        63488 bytes
Erase   	[=======                  ]  28%        73728 bytes
Erase   	[========                 ]  32%        83968 bytes
Erase   	[=========                ]  36%        95232 bytes
Erase   	[==========               ]  40%       105472 bytes
Erase   	[===========              ]  44%       115712 bytes
Erase   	[============             ]  48%       125952 bytes
Erase   	[============             ]  50%       131072 bytes
Erase   	[=============            ]  52%       137216 bytes
Erase   	[==============           ]  56%       147456 bytes
Erase   	[===============          ]  60%       157696 bytes
Erase   	[================         ]  64%       167936 bytes
Erase   	[=================        ]  68%       179200 bytes
Erase   	[==================       ]  72%       189440 bytes
Erase   	[===================      ]  76%       199680 bytes
Erase   	[====================     ]  80%       209920 bytes
Erase   	[=====================    ]  84%       221184 bytes
Erase   	[======================   ]  88%       231424 bytes
Erase   	[=======================  ]  92%       241664 bytes
Erase   	[======================== ]  96%       251904 bytes
Download	[                         ]   0%            0 bytes
Download	[                         ]   3%         8192 bytes
Download	[=                        ]   4%        11264 bytes
Download	[=                        ]   6%        17408 bytes
Download	[==                       ]   8%        21504 bytes
Download	[==                       ]  10%        26624 bytes
Download	[===                      ]  12%        31744 bytes
Download	[===                      ]  13%        34816 bytes
Download	[====                     ]  16%        41984 bytes
Download	[====                     ]  16%        44032 bytes
Download	[=====                    ]  20%        53248 bytes
Download	[=====                    ]  23%        62464 bytes
Download	[======                   ]  24%        63488 bytes
Download	[======                   ]  27%        71680 bytes
Download	[=======                  ]  28%        73728 bytes
Download	[=======                  ]  30%        80896 bytes
Download	[========                 ]  32%        83968 bytes
Download	[========                 ]  34%        90112 bytes
Download	[=========                ]  36%        95232 bytes
Download	[=========                ]  37%        98304 bytes
Download	[==========               ]  40%       105472 bytes
Download	[==========               ]  41%       107520 bytes
Download	[===========              ]  44%       115712 bytes
Download	[===========              ]  44%       116736 bytes
Download	[============             ]  48%       125952 bytes
Download	[============             ]  51%       134144 bytes
Download	[=============            ]  52%       137216 bytes
Download	[=============            ]  54%       143360 bytes
Download	[==============           ]  56%       147456 bytes
Download	[==============           ]  58%       152576 bytes
Download	[===============          ]  60%       157696 bytes
Download	[===============          ]  61%       161792 bytes
Download	[================         ]  64%       167936 bytes
Download	[================         ]  65%       171008 bytes
Download	[=================        ]  68%       179200 bytes
Download	[=================        ]  68%       180224 bytes
Download	[=================        ]  71%       188416 bytes
Download	[==================       ]  72%       189440 bytes
Download	[==================       ]  75%       197632 bytes
Download	[===================      ]  76%       199680 bytes
Download	[===================      ]  78%       206848 bytes
Download	[====================     ]  80%       209920 bytes
Download	[====================     ]  82%       216064 bytes
Download	[=====================    ]  84%       221184 bytes
Download	[=====================    ]  85%       225280 bytes
Download	[======================   ]  88%       231424 bytes
Download	[======================   ]  89%       233472 bytes
Download	[=======================  ]  92%       241664 bytes
Download	[=======================  ]  92%       242688 bytes
Download	[======================== ]  96%       251904 bytes
Download	[======================== ]  99%       261120 bytes
Download	[=========================] 100%       262144 bytes
Download done.
parsing element 2, address = 0x08040000, size = 1832856

Erase   	[                         ]   0%            0 bytes
Erase   	[                         ]   0%            0 bytes
Erase   	[=                        ]   4%        73728 bytes
Erase   	[=                        ]   7%       131072 bytes
Erase   	[==                       ]   8%       147456 bytes
Erase   	[===                      ]  12%       220160 bytes
Erase   	[===                      ]  14%       262144 bytes
Erase   	[====                     ]  16%       293888 bytes
Erase   	[=====                    ]  20%       366592 bytes
Erase   	[=====                    ]  21%       393216 bytes
Erase   	[======                   ]  24%       440320 bytes
Erase   	[=======                  ]  28%       514048 bytes
Erase   	[=======                  ]  28%       524288 bytes
Erase   	[========                 ]  32%       586752 bytes
Erase   	[========                 ]  35%       655360 bytes
Erase   	[=========                ]  36%       660480 bytes
Erase   	[==========               ]  40%       733184 bytes

It’s fine. The latest STM32 chips cannot be loaded via DFU anymore. This hang problem happens if you try to load the main firmware.

Instead, remove the connector from BOOT0 and just plug your camera in to connect to the normal bootloader. The green light should flash.

Note that the DFU load does load the bootloader sector so you should be fine. It just can’t load the main firmware.

Thanks for the reply, but now I think something more serious is wrong. When I plus in the cable, no LEDs light up: no green, no blue, no white flash.

For the record, I’ve tried multiple cables and ports, all of which work with another camera, so that’s not it.

I’m using the H7 (R1) on a mac (Mojave), if that makes any difference.

The voltage on the VIN pin is ~4.1V when powered by USB; the 3.3V pin is 3.3V.

You should try the DFU update process again…FWIW I just tested dfu-util with OPENMV4-H7 on Linux and I do get an error but it’s after it’s done uploading the firmware and bootloader. I removed the jumper and disconnected and reconnected the cam and it worked fine. This is the error I got:

:bump:

None of these suggestions work. I fear I need to do something more ‘manual’ to bring it back to life. What should I try next?

VIN is input, as the name suggests, it shouldn’t have a voltage on it when powered from USB, so maybe something is shorting it’s likely the board is damaged.