cancel
Showing results for 
Search instead for 
Did you mean: 

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

MTzie.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MTzie.1
Associate II

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