Skip to main content
Visitor II
June 23, 2021
Solved

STM32L4P5 cant run after loading SW. The SW runs on Nucleo board well and as soon as I load the file to the custome board ....I manage to identify the chip and load the FW but STM doesnt run

  • June 23, 2021
  • 2 replies
  • 894 views

I am using KIEL with ST-LINK V2 programmer

Boot0 ( Pin number 138) tied to LOW via 10K resistor

nRST has a 100nF to GND and a pull up resistor 10K

Checked the POR and it looks fine

It looks like the chip doesnt run

Please advise

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Probably does run..

    The NUCLEO/DISCO boards typically provide an 8 MHz HSE clock, check your clock (RCC/PLL) configuration. The L4 should start from its MSI clock, perhaps let that continue rather than reconfiguring. Do simple things like enable some GPIO and toggle, or light some LEDs.

    2 replies

    Graduate II
    June 23, 2021

    Probably does run..

    The NUCLEO/DISCO boards typically provide an 8 MHz HSE clock, check your clock (RCC/PLL) configuration. The L4 should start from its MSI clock, perhaps let that continue rather than reconfiguring. Do simple things like enable some GPIO and toggle, or light some LEDs.

    MTzie.1Author
    Visitor II
    June 25, 2021

    First of all I would like to thank you for your help yesterday ....

    We found the problem 

    I ordered by mistake P/N STM32L4P5ZGT6P instead of STM32L4P5ZGT6

    The main difference between the two items is the BOOT pin 

    On the STM32L4P5ZGT6 it is pin number138

    But on the STM32L4P5ZGT6P the BOOT pin is 137

    There are a few more pins that are not the same but once I have connected pin number 137 to the GND via Resistor !!!

    It works like NINJA!!!!

    0693W00000BbzQ3QAJ.bmp 

    Thank you again for the support 

    Have a great weekend 

    Tzif