Hi All, After long time I was trying to recompile and load the firmware in MCB2300 board and uversion 4. This project was actually developed for a hardware which was developed based on MCB2300 board schematic and uversion 3.
To a maximum end i have copied the configuration of existing settings to uversion 4.
Now my problem is that program control does not reach main loop. I have a boot loader running. So here i have given the last few lines of boot loader code.
/* Run appliication at specified address */ static void cmd_run (char *par) { int run_addr; U32 i; PFV fp; run_addr = DEFAULT_RUN_ADDR; // #define DEFAULT_RUN_ADDR 0x10000 fp = (PFV)(run_addr); DEBUG_Printf("Run applicaiton at 0x%x...\n", run_addr); for (i=0x1000;i!=0; i--); (*fp)(); }
on-chip IROM1 = 0x10000 0x80000
on-chip Default IRAM1 = 0x40000040 0xFFC0 IRAM2 = 0x7FE00000 0x4000 NoInit
Can anyone point me what would be the problem here?
Hi Tamir, Thanks for your reply. Defining that macro did not help. Even the original project is facing the same problem. Difference is old uvision3 now its uvision4. Hardware vice original controller is LPC2378 now also its same.
I am wondering during this kind of migration what are things should be taken care. However i will spend time in LPC2300.s file to get more info.