• sprintf causing a hardfault exception
    Had to add some data logging in a hurry to diagnose an issue. A function is passed a pointer to data that is then used to assemble a readable string that's then stored on a SD card the RTOS task...
  • alloc ram causes hardfault
    Hello, I'm using a lpc1766 and made a very simple program to debug a hardfault exception. After initiallisation the main routine is called where a array is allocated using the library function...
  • osMessageGet causes HardFault when IRQ disabled
    Hello All, the following code is generating a HardFault. I'm sure I've missed something stupid: void Thread_Debug2(void const *argument) { // locals Debug_Struct * pDbgStrct = 0; osStatus Status...
  • ARM: STM32F7: hardfault caused by unaligned memory access
    I was having some issue executing from SDRAM (now working) and looked into this support document: http://www.keil.com/support/docs/3777.htm For part 2 of this note - should: RCC->APB2ENR...
  • emWin and RTK - Calling GUI_Init() causes Hardfault
    Hello, I am trying to get emWin working in a multi-task system. I have successfully configured emWin to work in a single task (non RTK) environment. I have a single video buffer (no FRAME interrupts...