ST_LINK V2 Not detecting Target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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_link- Labels:
-
DEBUG
-
Keil
-
ST-Link
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-28 9: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-29 2:03 AM
Hi,
I find the connection was Not correct on ST-LINK V2 side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-29 5: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 ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-29 9: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-30 7: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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-30 7:35 AM
1.25V
Make sure the chip has the correct orientation.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-30 1: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
