2020-08-10 04:51 AM
I've read AN2606 and it says use Pattern 14 for the G474 series. My understanding from this is a new board should enter the inbuilt bootloader simply by pulling the BOOT0 pin high. This does not work for me.
Using STLink I can see the the option bits and BOOT_LOCK=0, nBoot1=1 and nSWBoot0=0. I've tried with nSWBoot0=1 to and the micro still just runs the user code in flash.
I can get into bootloader on an F4 Discovery Board and a F4 Nucleo Board by pulling the BOOT0 pin high but not my G474 Nucleo Board. What I am missing/doing wrong?
TIA
Pete
Solved! Go to Solution.
2020-08-10 04:59 AM
Ok seems I might have posted a bit prematurely. Setting option bit nSWBoot0 to 1 does seem to allow me in to the bootloader :flushed_face: Although it enters the bootloader irrespective of the BOOT0 pin state.
This observation still doesn't seem to fit in with the expected operation as per the the AN2606 document.
2020-08-10 04:59 AM
Ok seems I might have posted a bit prematurely. Setting option bit nSWBoot0 to 1 does seem to allow me in to the bootloader :flushed_face: Although it enters the bootloader irrespective of the BOOT0 pin state.
This observation still doesn't seem to fit in with the expected operation as per the the AN2606 document.
2024-08-12 01:04 PM
Hi Peter. Could you help me with same issue here? I am struggling trying to set same board into bootloader mode via software. Documentation mentions BOOT_LOCK which I don't know how to set it to 0.
Thanks in advance,
Raúl