2020-11-04 07:58 PM
Here is my schematic and board. I'm wondering if someone can verify that I have everything that's needed on the stm32f4. I can't connect with SWD to the core. My JLink tries multiple times and fails. When I press the reset button on my board the JLink's LED turns red so it seems that the connection between my board and the JLink is correct.
I've found a mistake in my crystals' capacitor values, but I don't think that should cause this issue?
Solved! Go to Solution.
2020-11-05 06:10 AM
Big issues:
VSSA needs grounded.
VDDA needs connected to VDD.
Smaller issues:
The capacitor on VCAP should be 2.2uF or 4.7uF.
The load caps for X1 (8MHz crystal) almost certainly shouldn't be 0.1uF. Probably closer to 10uF. Probably true for X2 caps as well.
2020-11-05 06:10 AM
Big issues:
VSSA needs grounded.
VDDA needs connected to VDD.
Smaller issues:
The capacitor on VCAP should be 2.2uF or 4.7uF.
The load caps for X1 (8MHz crystal) almost certainly shouldn't be 0.1uF. Probably closer to 10uF. Probably true for X2 caps as well.
2020-11-05 11:57 AM
Thanks, I'll try connecting VSSA and VDDA and see if it works.
Are you sure about the load cap values? In the datasheet it seems to recommend 5pF to 25pF
2020-11-05 12:20 PM
2020-11-06 12:19 AM
I tried on a blank board with a new chip, and connected vdda and vssa and it worked, thanks!