Search Results

Search results 1-1 of 1.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi all, I am getting hardfault exception in my code. And when I watched my registers CFSR and HFSR their values are like CFSR = 0x00001100 - IBUSERR = 1 - STKERR = 0 HFSR - FORCED = 1 The hard fault occurs at "GUI_DispStringAt(_strtmp, 80, 155);" of the following code which periodically update LCD display. The hard fault occurs at a specific timer count. unsigned char _strtmp[20]; unsigned int Timer = 0; void DRAW_SCENE() { sprintf(_strtmp, "%5d:", (char const *)Timer); GUI_DispStringAt(_strtmp,…