2013-06-19 09:30 AM
Powered up newly designed board today.
Of course it seems not to work. :( Its based on Discovery board. I currently have only the STM portion populated. The Oscillator pins are both low. Using a 8 Mhz Xtal and 20 pf caps. I would of expected one high one low and oscillating. Part is STM32F407VGT6 100QFP I seems to have 3.3V and 1.8 on P73 and P49 Reset goes both low and high with reset switch. Seems to draw 7.5ma. Anyone got a checklist to go through? Ohmed out power and ground on board. Might have missed something. But doubt it. I believe I have PDR and Boot0 and Boot1 properly. Other than the obvious that the board does not work any ideas? Will not connect using ST-Link V2. Where I am shooting myself in the foot? Thanks Wounded in Surrey Dave2013-06-19 11:28 AM
None of the external oscillators start automatically, must be turned on via code.
Check the VCAP pins for 1.25V, and caps attached. Check you have the analogue supplies connected. They drive the POR circuits. Check the level on NRST/NRESET. Signs of life, power up with BOOT0 high attach serial to USART1 PA9/10 send 0x7F at 9600 8E1, observe 0x79 response. If neither that or JTAG/SWD respond, assume the device isn't powered, or is stuck in reset.2013-06-19 01:28 PM
The Discovery board provides poor guidance for JTAG/SWD pins pull ups and pull downs. Look at the STM3240G-EVAL schematic.
Cheers, Hal2013-06-19 08:28 PM
So, the STM40G-EVAL schematic shows no pullups or pulldowns on the JTAG and SW lines. Are you saying that is the correct configuration and that adding pu/pd per the Discovery schematic is wrong?
2013-06-20 01:54 PM
ST-Link V2 is embedded on the Discovery kit, so there is no 20 pin JTAG connector for an ST-Link pod. The Eval board shows +3V and pulldowns to accommodate pod connections, and provisions for pullups. Perhaps someone can identify which pods need pullups.
Cheers, Hal2013-07-26 07:33 AM
+1 for this check list - it got me working down the right line to fix my JTAG problem
Thanks Brian L