Skip to main content
This topic has been closed for replies.

21 replies

Bbarr.1
Bbarr.1Author
Associate
February 15, 2023

..

Javier1
Principal
February 16, 2023

puede ser que haya algun cortocirtuito ahi? no parecen cables muy adecuados

hit me up in https://www.linkedin.com/in/javiermuñoz/
Bbarr.1
Bbarr.1Author
Associate
February 16, 2023

The connections, even if they are not adequate, have been well checked and the probe is properly powered. What I see is that the stm32 is recognized and updates the firware, but in the upper part it is always in red and never connected, I also find that it is recognized by usb and everything .... and the "tarjet not foud" ruling

Tesla DeLorean
Guru
February 16, 2023

Target Not Found is indicative that the SWDIO/SWCLK are not responsive. Check the device is powered, you should be able to see the measured voltage for vTarget

Check the analogue and digital supplies are present, and that NRST isn't clamped to ground.

Check perhaps with known/working board.

If the system loader via serial nor SWD are working, your MCU is not functional. Review design, check things like VCAP and NRST. Check BOOT0

You don't mention which STM32 you are using, nor design / connectivity details.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Bbarr.1
Bbarr.1Author
Associate
February 16, 2023

hello, good afternoon. I am using a stlink-v3set.

connectivity

what i am using is

rx

tx

land

5v

I am not at the pinOut of the microprocessor.

The weird thing and forgive my lack of knowledge,,,,

without connecting the card to the usb and connecting, wouldn't it have to be operational before connecting it to debug?

Tesla DeLorean
Guru
February 17, 2023

Ok, so you're trying to use the USART loader?

Typically BOOT0 needs to be high, and you get one-shot at connecting with even parity. ie sends an 0x7F pattern to auto-baud, and responds with an 0x79

If it fails you have to reset again.

If you have other noise on pins the system loader is monitoring, it might pick those over your preferred source, think GPS/GNSS that immediately chirps at start-up.

Check application note AN2606 for pin expectations on the STM32 model/family you are using.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Bbarr.1
Bbarr.1Author
Associate
February 17, 2023

Hello, I have been reading the note AN2606, for my micro stm32f723 I understand that I have to use art 1 and 2.

I understand what you mean but my knowledge is very basic.

I'm going to leave it for j-tag mode for any micro that may have st.

I find it complicated because, even reading the informative note in the stmbox, I don't know which is the section to be able to configure the bit ports

Thank you very much for your attention

June 28, 2023

aquí hay algunas soluciones posibles para probar:

Vuelva a verificar las conexiones de hardware.

Verifique la fuente de alimentación: asegúrese de que la placa STM32 esté recibiendo suficiente energía.

Compruebe la configuración de programación y depuración.