This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cortex M4 boot issue

Hi Experts,

I need your help...

Actually i am work on a multicore controller, the master core loads the application for the slave core(cortex M4)..

Now when the slave core starts, it executes c_int00 (boot file) and from there it will jump to main application..

The problem is, after rebooting the board multiple times, at some point the control is not jumping to main application,

and instead stays in an infinite loop in the boot file.

Could you please help me to sort this issue...

What could be the reason for such behavior ?

Thanks and Regards

ZbinAhmed

Parents
  • Thanks for replying,

    The behavior is very strange, when i reset my device 

    - one time control stays in boot and doesn't jump to main app (PC is having the address of the infinite loop in the boot file).

    - or It jumps to main application and stops unexpectedly, when i check PC  using debugger i see some unknown address and hard fault is getting generated.The value of BFSR = 0x01 and UFSR=0x02. Means, hard fault is generated for accessing some invalid address.

    - or the board boots, jump to main application and runs without any error.

    I tried with minimal application code. 

     I need help to understand the cause of HF. And the HF is getting generated randomly when i reset the device.

    Thanks in Advance.

Reply
  • Thanks for replying,

    The behavior is very strange, when i reset my device 

    - one time control stays in boot and doesn't jump to main app (PC is having the address of the infinite loop in the boot file).

    - or It jumps to main application and stops unexpectedly, when i check PC  using debugger i see some unknown address and hard fault is getting generated.The value of BFSR = 0x01 and UFSR=0x02. Means, hard fault is generated for accessing some invalid address.

    - or the board boots, jump to main application and runs without any error.

    I tried with minimal application code. 

     I need help to understand the cause of HF. And the HF is getting generated randomly when i reset the device.

    Thanks in Advance.

Children