AnsweredAssumed Answered

BF504F bfrom_MemBoot cannot work

Question asked by popzhuo on Dec 18, 2014
Latest reply on Jan 8, 2015 by Suraj

Hi, All,


I have a problem of bfrom_MemBoot in BF504F:

My application need to boot another executable program which has been programmed in FLASH, the boot application is simplified as:

int main(int argc, char *argv[])
    bfrom_MemBoot((void*)0x20020000, 0, 0, NULL);
    return 0;

It works fine with configuring as Debug, but fail when configuring as Release.

If I run in Release version and then halt, the console of CCES output : "Core fault detected before halt at address: 0xFFA04622.  Attempting to reset processor." and the PC points at 0xef000736:

How it happned? And I don't know what is the difference of Debug and Release.


Thanks very much!