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
It's not really possible to answer your question given the input. Just many things could have gone wrong.
The c_int00 seems like C runtime pre/init routine, may be also where default exception handlers are setup. So your not jumping to main later you need to debug... It could have gone into exception/fault in that routine.
For many reasons specific to your setup again .
Thanks for replying,
I don't have much knowledge on this, I will try to look into the startup code.
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 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.
I tried with minimal application code.
I need help to understand the exact cause of HF. And the HF is getting generated randomly when i reset the device.
Thanks in Advance.
Duplicate:
https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/45728/cortex-m4-boot-issue
Hi Andy,
Do you have any suggestions.
What do you mean by Duplicate ?
Hello Ahmed,
Andy has pointed out that you have opened the same case twice. Please refrain from doing that. As there are other answers here as well, I will not delete this thread as it will be usually done with duplicates.
Kind regards,
Christopher
Hello Christopher,
sorry for that. will try this mistake won't happen again.
Thanks
ZbinAhmed said:What do you mean by Duplicate ?
"Duplicate" = "the same thing twice"