cancel
Showing results for 
Search instead for 
Did you mean: 

First boot on new target board

VE7HR
Associate II
Posted on June 19, 2013 at 18:30

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

Dave

5 REPLIES 5
Posted on June 19, 2013 at 20:28

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
raptorhal2
Lead
Posted on June 19, 2013 at 22:28

The Discovery board provides poor guidance for JTAG/SWD pins pull ups and pull downs. Look at the STM3240G-EVAL schematic.

Cheers, Hal

billr1
Associate II
Posted on June 20, 2013 at 05:28

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?

raptorhal2
Lead
Posted on June 20, 2013 at 22:54

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, Hal

bl
Associate II
Posted on July 26, 2013 at 16:33

+1 for this check list - it got me working down the right line to fix my JTAG problem 

Thanks 

Brian L