STM32L1 Bootloading from USART

bootloadermicrocontrollerstm32

I am trying to move an application from the STM32L1 discovery board (which has the STM32L152 chip) onto a PCB containing the STM32L151RC. On the discovery board, I was able to follow the application notes (AN2606 and CD0026342) to program the uC via USART1. However, when I use the same boot configuration (BOOT0 is high, BOOT1 is low, USART 2 RX PA3 is low, then I drive the NRST pin low for a RESET) I get no response from the uC when I send it the 0x7F data frame via the FTDI chip (8 bits, even parity, 1 stop). All VDD's (including VDDA) are given 3.3V with a .1uF cap to ground and all VSS's are connected to the FTDI's ground.

Could someone please offer a suggestion of what I may be doing wrong or what I should check next? I was operating under the assumption that there was no difference between the STM32L151 and STM32L152 in this respect. Is that a good assumption? Do the chips have the bootloader in the system memory by default, or does one have to specify that when ordering them?

This is very specific, but maybe someone has experience with another STM chip. The application notes show that it is very similar for the STM32F.

Best Answer

Hello probably you've already solved but just in case on application note an2606 it is indicated for STM32L1XXXC chips to use pins PD5/PD6 as TX/RX for USART2. I suppose this is mandatory.