2020-02-11 11:04 AM
Hi everyone,
I'm working on an app to configure an STM32 based DFU device and I don't want to deal with the file system. Everything works now except one step, going from Intel HEX to a DFU image directly so I can write it to the device. The ST DFU image library seems to be only for reading and writing files. I found an implementation of generating a DFU file from HEX in C but before I dive into converting C manipulations of char*s, I thought I'd ask if anyone has already implemented what I am looking for in C#?
Thanks,
Dmitry
2020-03-31 03:17 AM
Hi Dmitry,
within the install package for DFU from ST , you can find a directory called source, which includes the source code in C++.
on the other hand you can find here a python implementation
https://github.com/thomask77/nucular-keyboard/blob/master/Tools/hex2dfu/hex2dfu.py
May you share the C implementation you found.
Best Regards
Hossam Alzomor