• Hardfault exception error
    Hello, I wrote FreeRTOS code for blinking LED on STM32F103RB. When i debug the program it goes into HardFault exception. May i know what is the exact cause of this.
  • 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...
  • how to determine the cause of HardFault
    os_evt_wait_or(CHECK_EVENT_FLAGS, INFINITE_TIME); //Wait for an Event to occur rx_event = os_evt_get(); switch(rx_event) { case EVENT_INTERRUPT: if(chkflg) { dif = difftime(_gettime(), setalrm); if...
  • SVC calls causes an exception
    Hello Cortex M3 experts, I have a FreeRTOS task that runs in Thread/unprivileged mode. When that task tries to execute a SVC instruction, I get a hard fault. But if the task is launched in privileged...
  • using sprintf causes link error
    I am using the C51FPL.LIB when compiling my project for a LPC936. I've been using it for months - works fine. I put a 'sprintf' in my code and included 'stdio.h'. I now get the linker error (BL51...