I have the file NUCLEO_L476RG-20210902-v1.17.dfu which I would like to flash to my NUCLEO-L476RG board. However, I think I can only flash a .bin file. I flashed a *.bin from MBED and it worked great! How can I convert this *.dfu file to a *.bin I can flash to my board?
The command I use to flash the MBED file to my board is
Code: Select all
st-flash write mbed_blinky.NUCLEO_L476RG.bin 0x08000000
I have tried many things from the net to convert this *.dfu file to a *.bin, including
Code: Select all
dfu.py -d NUCLEO_L476RG-20210902-v1.17.dfu
Code: Select all
st-flash write NUCLEO_L476RG-20210902-v1.17.dfu.target0.image0.bin 0x08000000
Code: Select all
screen /dev/ttyACM0 115200
8-Dale