2017-12-26 11:23 AM
So I made a custom STM32F446RET6 board and I first used a mini ST_LINK programmer to connect to the MCU. I was able to program it but couldn�t debug it since the mini ST_LINK programmer doesn't have the SWO pin. I used STM32 ST-LINK Utility and Keil to program the chip.
I then purchased the ST_LINK V2 programmer from ST but it doesn�t connect to the MCU (target). My laptop does recognise the ST_LINK V2 programmer since I have the stsw-LINK009 software installed. The SWCLK. SWDIO, and SWO pins are directly connected to the male headers as seen in the pictures.
Here are the Connections:
I also attached the trace.log file from STM32 Utility:
Any ideas as to why this is happening?
#stm32f4 #debugging #no-target-connected #keil-ide #st_link2017-12-28 09:11 PM
Hello,
I am a new user for STM32F446, and I made a board to learn the STM32F446 this week. But have a problem: Fatal error, ST-LINK V2, No MCU device found. Session aborted!
Could you please help me to solve this issue?
2017-12-29 02:03 AM
Hi,
I find the connection was Not correct on ST-LINK V2 side.
2017-12-29 05:49 AM
Note that what you show there is not an 'official' ST product - it is a cheap chinese knock-off.
I have noticed with these that the target connector pinout can differ from one item to another - so check the markings on the case carefully ...
2017-12-29 09:27 AM
Review the schematic, the error suggests the chip isn't running, or is wired up wrong.
Check voltage observed on NRST and VCAP pins.
2017-12-30 07:29 AM
Thanks.
The voltage on NRST pin is 3.27V, on VCAP1 pin is 1.12V and on VCAP2 pin is 0.20V.
By the way, could you please let me know: what voltage are correct on VCAP1 and VCAP2 ?
2017-12-30 07:35 AM
1.25V
Make sure the chip has the correct orientation.
2017-12-30 10:05 AM
Thanks.
According to STM32F446 datasheet,
as Regulator On, the voltage on VCAP pin is 1.25V,
as Regulator Off, must supply 1.25V to VCAP pin.
Can I setting Regulator Off by pull-up or pull-down resistor? How to do?
2017-12-30 10:42 AM
Not sure you have regulator control on a 64-pin device.
You should perhaps compare your design with that of the NUCLEO board, making sure all the supply pins are wired up correctly and the pin numbers are all in order.
The secondary signs-of-life check would be to use USART1 (PA9/PA10) in the System Loader mode (BOOT0=High), use 9600 8E1 and send an 0x7F byte, and check for 0x79 response.
Not looking to debug the design in this manner.
2017-12-30 01:54 PM
I am using the '767 -208
I used a 2.2uF low ESR cap on both of those two Vcap pins.
they are both sitting at 1.31v