cancel
Showing results for 
Search instead for 
Did you mean: 

unidentified debug fault

kiran2
Associate II
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
2 REPLIES 2
AvaTar
Lead
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 ... ?

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
Up vote any posts that you find helpful, it shows what's working..