2021-03-05 08:03 AM
Hello. I have been messing around with the STMF407VG for a few weeks now using a discovery board. Been the steep learning curve but I think I have made significant progress on learning firmware development on it. I have gotten my code to be to a point where I wanted to have a custom PCB solution. I went ahead and looked at a few implementations of other STM32 dev boards and used that to help understand how to connect everything up.
I finally got my boards in the mail. Power seems to be okay to the target, I measured the power rails for all of the pins and looks okay. Both boot pins are grounded, and the reset line is held high. Though when I try to upload a blank project to my custom PCB, I get the error that there is "No device found on target". Only thing I can think of is that I must have miswired the port that connects to the ST LINK V2 I purchased. I never made a custom PCB with an ARM MCU before so this is my first go at it. I have attached a picture of the MCU section of the schematic. Is there perhaps some green horn mistake I made?
Any hints are welcome!
Solved! Go to Solution.
2021-03-06 07:51 AM
Well I feel silly, my adapter board was not making good connection. I jammed the connector in some more and now it connects successfully. Thank you both for being so quick to help though. This is why I keep using ST products, the forum is extremely helpful!
2021-03-05 08:24 AM
Nothing jumping out immediately
Check orientation
Check voltages on VCAP pins, expecting around 1.25V
2021-03-05 08:32 AM
In your schematics i dont see SWD interface for connect ST LINK V2. Seems you have JTAG exposed then in sw you need change connection method from SWD to JTAG.
But for next design i recommend use SWD interface.
2021-03-05 08:50 AM
Surely it would work either way, SWD is a subset of the JTAG pins.
You'd want an authentic ST-LINK/V2 where pin 1/2 at the lower 2.5V power the target side buffers in the debug pod.
2021-03-05 09:34 AM
2021-03-05 09:34 AM
2021-03-05 09:41 AM
2021-03-05 10:32 AM
Open STLINK V2 pinout and connect only two signals and ground with simple wires, maybe your reduction have miss or swap pins .
You need only one GND , SWDIO , SWCLK green color
2021-03-05 10:56 AM
Do the ST-LINK Utilities correctly read/report the VTarget voltage?
2021-03-05 03:11 PM
Where would I find this shown? I do not see a spot for this.