cancel
Showing results for 
Search instead for 
Did you mean: 

L432 won't programming

Ollymarco94
Associate II

Hello,

I am working in a new project (a USBC rechargable battery LORA board with temperature module) with some leds and a button. I attached the schematic here.I only program all my boards with the USART mode.I choose the L4 family because I want to sleep the board for some time,wake up the board, measure the temperature and send the value with another LORA module and go to sleep again. I got some problem with the board because when i plug the board  with 5V i got no consumption. I still can't program the board. Sometimes when i press the button i got 0.120mA consumption. I always connect NRST and BOOT0 in that way and all my boards have no problem, all the time the boards works properly. I read all the STM32L432 Datasheet(stm32l432kb.pdf). I watched the Nucleo-L432KC schematic but i dont see any error. Can Someone help me?

8 REPLIES 8
SofLit
ST Employee

Hello @Ollymarco94 ,

"I got some problem with the board because when i plug the board  with 5V i got no consumption. "

Did you check the voltage level of VDD when you plug 5V USB power source?


 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Yeah, i got 5V on the power source and i got 3,3V on my stm32l432.

TDK
Guru

How are you trying to program it? What are the connections? Note that you need a GND to the programmer, only SWDIO/SWCLK alone is insufficient.

TDK_0-1702656755307.png

Why does programming fail? What error messages or misbehavior are you seeing? What is your programmer, and is the programmer detected in STM32CubeProgrammer?

If you feel a post has answered your question, please click "Accept as Solution".

He said "I only program all my boards with the USART mode" So I suppose he's using Bootloader and not SWD.

SofLit_0-1702657694119.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

I program all my board with this connector and i use the bootloader. It seems like this board is on sleep mode or something. To program my board i got a programmer board made myself and a program made by myself that trigger reset and boot in the correct way and program the board.

Ollymarco94
Associate II

EDIT:

I try to change MCU with and F042K6U6 and on power on It consume some current(0.012A) but with the L432 wont start.

Hello,

What about SWD interface? did you try to connect L432 over it?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

No,today i read all the application notes of the stm32L4 family and i note that they talk about and Boot1 PIN (an4555 Page 35).I don see any nBoot1 on pin configuration or something else. Tomorrow i will try to have a look at It.