2023-01-18 01:25 PM
2023-01-25 02:51 AM
Hello @Community member,
Could you specify the Wifi module used? and on which STM32 product? you may check Cypress WICED SDK version? For example, it is mentioned in H7B3-Discovery Kit User manual UM2569 that only Cypress WICED SDK 3.5.2 or later supports the hardware module.
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.
2023-01-25 10:09 AM
We are using 43xxx_Wi-Fi, STM32F412ZGT6 and Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600.
Are you saying WICED can build a DFU file?
I built an ELF with USB DFU class device using STM32Cube. I cannot get convert the ELF file to DFU that either "ST7 DFU Demo" or "DfuSe Demo". Using "DFU File Manager" to generate DFU...
2023-01-25 10:29 AM
I don't recall if the DFU Manager will take .ELF input
You might want to check this
https://github.com/majbthrd/elf2dfuse
I wrote a similar tool years ago, but not sure it dealt with multi-sections .ELF.
Not sure how complex your .ELF is.
DFU File Manager should be able to process a .HEX
2023-01-25 11:04 AM
My app was a HEX2DFU one
Perhaps you can zip up your .ELF / .HEX, and attach, so I can gauge the complexity.
email should be in the profile if you prefer that method.
2023-01-25 11:27 AM
I was able to use elf2dfuse to create a DFU file. DfuSe downloaded the file and verified. However when I reboot my board, the firmware was not updated.I have attached the ELF and DFU files. Also, I included the STM32Cube project et al that I loaded to handle DFU transfer. It enumerates, but not sure if it's actually programming the flash.
2023-01-25 12:09 PM
Operator error on DfuSe Demo verify, so ignore the above picture. Now I get:I'm guessing the firmware I have loaded in my board will enumerate as a DFU device, but does not actually program the flash.
2023-01-25 01:12 PM
The .ELF look built differently from the project
Assuming you have a loader of some sort, as the primary .ELF starts at 0x0800C000 address, and not 0x08000000
Attached are a couple of .DFU
2023-01-25 01:24 PM
The ELF from the project includes DFU. I use ST-LINK to download it. The other DFU is my project built with WICED. I'll eventually port the STM32Cube source into my project...if I can get it working.
When I try test1.dfu...When I try test2.dfu...
After power cycle, the original STM32 app is still running.