Flashing micropython to NUCLEO-L476RG
Posted: Wed Oct 27, 2021 9:41 am
Hi,
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 iswhich does work, so I know that I can flash at least some *.bin files successfully.
I have tried many things from the net to convert this *.dfu file to a *.bin, includingwhich gives me one file called NUCLEO_L476RG-20210902-v1.17.dfu.target0.image0.bin. If I try to flash that file using the same parameters I used to flash the MBED file:I do not think it works because I can not access the REPL usingI think I must be missing something but do not know what that is. What is it I am missing?
8-Dale
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