AnsweredAssumed Answered

STM32F042K6 Not always starting code execution

Question asked by brown.daniel on Dec 11, 2014
Latest reply on Dec 12, 2014 by Clive One

I used CubeMX to generate and added code to blink 2 leds and compiled with IAR Embedded.

LEDs are connected to PB3 and PB5.

I have several boards I soldered 042's to with proper caps, and leds with current resisters.

STM32F042K6's soldered to QFP to DIP adapter boards and plugged into breadboards work as expected.

Chips soldered to a custom carrier board work 'sometimes.'  If my thumb is over the chip and touching most pins, then code runs good. (Thumb only needed to START code running from reset...)

All STM32F042K6 chips and caps are from same lots.

Any ideas on what I am missing?  Seems like it could be clock related, but I am using internal clock.  PF0 and PF1 are wired to a header with 2,2K pullup resisters to 3V3.