Skip to main content
Visitor II
November 18, 2024
Solved

nucleo-144 Stm32f429: DFU mode not working after a separation of STLINK from the Nucleo board

  • November 18, 2024
  • 4 replies
  • 1518 views

Hello,

I have a nucleo 144 development board with a stm32f429. Which I was able to record and it worked correctly but then it fell to the floor and the pcb separated from the st-link. And now my program doesn't run, I can't enter DFU mode either.

I tried to set the boot0 pin to 3V3 but I couldn't get it to enter DFU.

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    I think  the issue is related to the fact you lost HSE frequency which was generated by the STLINL module (MCO output).

    For DFU and CAN bootloader you need an external clock either with an external crystal or with the STLINK MCO output (8MHz), or even with an external precise clock source GBF or similar ..

    SofLit_0-1732029157256.png

    So you need to solder an external crystal (Example 8MHz) with its load caps:

    SofLit_1-1732029370954.png

    4 replies

    Graduate II
    November 19, 2024

    Expect more damage from a shock the brohe off the STLINK. Otherwise, probably you used MCO as clock source and now MCO is missing...

    Technical Moderator
    November 19, 2024

    Hello @mpadata and welcome to the community,

    What power you set after the STLINK module was detached from the board?

    Do you get 5V at the input of the U6 regulator? check the voltage on 1,3,5 JP3:

    SofLit_0-1732015579111.png

    Need to have a power supply either on VIN (7 V to 12 V) or 5V on E5V (CN11/6):

    SofLit_1-1732015822255.png

    From UM1974:

    SofLit_2-1732016015918.png

    mƎALLEmAnswer
    Technical Moderator
    November 19, 2024

    Hello,

    I think  the issue is related to the fact you lost HSE frequency which was generated by the STLINL module (MCO output).

    For DFU and CAN bootloader you need an external clock either with an external crystal or with the STLINK MCO output (8MHz), or even with an external precise clock source GBF or similar ..

    SofLit_0-1732029157256.png

    So you need to solder an external crystal (Example 8MHz) with its load caps:

    SofLit_1-1732029370954.png

    mpadataAuthor
    Visitor II
    November 19, 2024

    hello, If I was seeing this glass issue, I think that's the problem I'm having. These days I get a crystal and try it, another question I don't get 4p3 capacitors, I get 4p or 4p7, are there no problems with that?

    thanks for your response.

     

    Technical Moderator
    November 19, 2024

    @mpadata wrote:

    another question I don't get 4p3 capacitors, I get 4p or 4p7, are there no problems with that?


    I think it could not induce an issue.

    Meanwhile you can refer to the AN2867 "Guidelines for oscillator design on STM8AF/AL/S and STM32 MCUs/MPUs"

     

    Graduate
    November 19, 2024

    Did you repair ALL the broken PCB traces between the STlink and the MCU board?

    If some trace is missing, debugging does not wotk.