cancel
Showing results for 
Search instead for 
Did you mean: 

DFU file manager

dtarrago
Senior

Good morning,

I'm working with STM32L4 and I have created my own bootloader.

In order to program the MCU, I use USB interface, so I need the DFU file. I use the 'DFU File Manager' tool to create the DFU file from the HEX file. It works fine, but then, when DFU file is used together with 'Dfuse Demo' application to program the device, I get the following error if the HEX file is not aligned (8bytes multiple): "Matching Not Good. First difference at address...". In order to avoid this, I add some 'empty' code to my code and build it again up to I get an aligned HEX file. Do you know if there is any other tool that could help me with this?

I know there is a DOS-tool called 'HEX2DFU', but it is not working in this case (I suppose because I have my own bootloader, that is required for my application).

Best regards,

Dani

1 REPLY 1

HEX2DFU is a Win32 Command Line Tool I wrote

>>I suppose because I have my own bootloader, that is required for my application

Yeah, I don't know, haven't seen the file at issue

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..