cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 replaced by STM32L151, unable to program

Leo Korbee
Associate II
Posted on July 08, 2018 at 15:09

Hello,

I've made a development board and used a STM32F103C8T6 controller. This works fine with a ST-LINK V2 programmer. Actually a simple Blue Pill design.

I've now replaced the STM32F103C8T6 with a STM32L151C8T6 controller with the same pinout. 

Now I cannot program this controller, and I tried every solution the programming software (STM32 ST-LINK Utility) gives.

I think I forget a little adaption on the design for the L controller.

Anyone any experience with programming the STM32L151 and special things to look after when programming?

Thanks in advance, 

Leo

As attachment the schematic of my prototype board.

(I already tried a 390 ohm resistor in serial with the 8MHz crystal, and using the reset of the programmer, both not successful).

#stm32l151
3 REPLIES 3
Khouloud GARSI
Lead II
Posted on July 09, 2018 at 10:49

Hi

leo.korbee

,

I advise you to have a look at application note

https://www.st.com/content/ccc/resource/technical/document/application_note/31/76/e6/da/6b/c7/4c/2e/DM00032987.pdf/files/DM00032987.pdf/jcr:content/translations/en.DM00032987.pdf

: Migration of microcontroller applications from STM32F1 to STM32L1 series.

This application note is written to show the steps you need to migrate from an existing STM32F1 devices based design to STM32L1 devices. It groups together all the most important information and lists the vital aspects that you need to address.

Khouloud.

Posted on July 16, 2018 at 16:21

Hi Khouloud G,

Thanks very much for your reply. It was useful and gave me an insight of the processor family. Eventually I found that the external clock crystals I was using were not the proper ones. It seems that the L-series are more sensitive to the type of crystals. I made a version without any external clock crystal and this one worked fine. 

Leo.

Posted on July 16, 2018 at 16:31

Hi Leo,

Good news  

Happy that your issue is solved!

Khouloud.