Skip to main content
Graduate
August 10, 2020
Solved

How do I get STM32G474RE (Nucleo Board) in to the Bootloader

  • August 10, 2020
  • 1 reply
  • 1300 views

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

    This topic has been closed for replies.
    Best answer by Peter Allnutt

    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.

    1 reply

    Peter AllnuttAuthorAnswer
    Graduate
    August 10, 2020

    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.

    Explorer II
    August 12, 2024

    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