AnsweredAssumed Answered

Error during SystemClockConfig

Question asked by pathak.gaurav.002 on Nov 6, 2016
Latest reply on Nov 6, 2016 by Clive Two.Zero
Hello Experts,
I am using stm32L152VBTxA, STM32CubeMX, ST-Link/V2 and System Workbench for STM32.
The Issue that I am facing is whenever I am writing a simple LED blinking code and running it using ST-Link/V2 debugger it runs fine but when I am adding more code to it (u8glib) then it either get stuck in Infinite Loop Default_Handler or Hard Fault occurs during clock initialization when I run it but when I step through the code Clock Initialization goes through but later the code goes to infinite loop Default Handler when I try to access GPIO.

Please provide some insight on how should I debug this issue or what I am doing wrong?

Outcomes