AnsweredAssumed Answered


Question asked by delos_reyes.kristian on Apr 11, 2013
Latest reply on Apr 11, 2013 by delos_reyes.kristian
Hi Guys, after tracing why my programs hangs up.. i finally traced it down to this "Go to infinite loop when Hard Fault exception occurs"
int main(void)
  /*!< At this stage the microcontroller clock setting is already configured to
       144 MHz, this is done through SystemInit() function which is called from
       startup file (startup_stm32f4xx.s) before to branch to application main.
       To reconfigure the default setting of SystemInit() function, refer to
       system_stm32f4xx.c file
  /*Initialize LCD and Leds */
  /* Configure ethernet (GPIOs, clocks, MAC, DMA) */
  /* Initilaize the LwIP stack */
  /* Infinite loop */
  while (1)
    /* check if any packet received */
    if (ETH_CheckFrameReceived()) {
      /* process received ethernet packet */
    /* handle periodic timers for LwIP */
how do I fix it? I tried researching it says something about the memory...