Skip to main content
kiran2
Associate II
February 27, 2015
Question

unidentified debug fault

  • February 27, 2015
  • 2 replies
  • 693 views
Posted on February 27, 2015 at 05:59

my application works perfectly in debug mode.as soon as i get disconnected from debug mode and tries to restart application by pressing reset button ,lcd goes white on stm32f429.i mean i dont know whats happening inside chip.pls help on this.

Rgds,

Kiran Kadam(KK)

#stm32f429discovery
This topic has been closed for replies.

2 replies

AvaTar
Senior III
February 27, 2015
Posted on February 27, 2015 at 11:55

Improper initialisation, or timing requirements not observed ?

LCD displays may need dozens/hundreds of milliseconds for startup.

How about instrumenting your code, and analysing the output ?

BTW, didn't you find a smaller text font ... ?

Tesla DeLorean
Guru
February 27, 2015
Posted on February 27, 2015 at 14:48

Make sure you enable all the clocks you need, and initialize all the hardware. The debugger might initialize things it needs with the side effect that it appears to work with your code.

As indicated output diagnostic or telemetry information via a serial port, or use GPIO or LEDs to indicate progress through your code. Understand the flow, and where things may get stuck in loops.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..