cancel
Showing results for 
Search instead for 
Did you mean: 

GPS: STM32L010K4 Hardfault_Handler at STM32L0xx_it.c:0x80006

Rgoss.1
Associate II

Dear fellow geek,

I am working on a project wich uses the STM32L010K4 microcontroller. We implemented the chip on a PCB and we can write pins high and low and we’re able to use SPI.

This project revolves around a GPS application. We’re trying to use the UART protocol with the stm32CubeMx IDE. We’re also trying to make some large/complex computations, I read online that this could potentially lead to stack overflow. I also read the datasheet and the uart is and spi are part of two different alternate functions. This is the message we get when trying to implement uart. 0693W000003PMTqQAO.jpg

With kind regards,

Reinier Gosseling

10 REPLIES 10

Usually pretty gross software issues.

For CM0(+) watch also pointer alignment.

Generally touching the wrong memory addresses. Figure uninitialized structures or corrupted buffers.

Might double check external clock, pll and flash wait ​state settings, for more HW centric causes.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..