This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Tiva Boot Loader on EK-XM4C1294xl fail to locate (main) symbol (App_Base) entry point.

Guru 55743 points

An application loaded into flash (BASE_ADD 0x00000000) will jump "_c_int00" to symbol (main) correctly in debug or otherwise when CPU reset behave without triggering a fault condition.

When that application base address is set 0x00001000 allowing a 5KB boundary for Boot Loader to exist below the application, the XM4C1294NPCDT fails to find symbol (main) designated in (*_ccs.cmd). The debug secession immediately launches the application into Run mode at the incorrect address. The only way to recover (Run) is by issuing a manual CPU reset where the instruction pointer then jumps to end address 0xFFFFFFFE. Both Tiva & Stellaris BL were set (BASE_ADD 0x00000000) in (*_ccs.cmd). This issue appears to be related to the XM4C processor since both versions of the BL fail to find "_c_int00" symbol pointer to (main).

Moving to a breakpoint set near or on symbol (main) brings the debug secession in to that code offset application address 0x00001000 but debug becomes highly volatile single stepping is unstable crashing ICDI posting "No AET resource can be found" 

  • Might we be seeing some issue with ROM Boot Loaders (BOOTCFG) with MPU/Debug reading register 0x400F.E000:0x1D0 bits 0:1 to acknowledge the PC starting address?

    This register is at reset Default values in loaded firmware.

    CCS5.4, SYS-BIOS 6.35.04.50, TI compiler  v5.1.5