STM32G474 FW update through SPI DFU mode using STM32H753
I'm using STM32G474RE board as a slave and STM32H573 eval board as a host. I want to update FW of STM32G474 through SPI DFU mode from STM32H753.
I've compiled the repository code for IO toggle in STM32CubeIDE
STM32CubeG4-master\Projects\NUCLEO-G474RE\Examples\GPIO\GPIO_IOToggle\
If I check generated hex file, I see there is data missing @address 01D0, If I create DFU file using this hex file, I see DFU file has 2 elements, one with ~504 bytes and 2nd is with ~ 5000bytes. I can read data and addresses correctly in STM32H753.
my question:
:0801D000690200086902000841
- as 01D0 address has only 8 bytes of data shall I fill rest 8 bytes with 0xFF value OR 0 value?
- is there any issue in this hex file as data is missing at particular address?
- is there any setting in STM32CubeIDE with which I can generate continuous hex file without any data missing in between because I think because of this data break in between the file, DFU File Manager looks at it as a 2 separate images and creates 2 target elements.
thanks,
