I have a Concerto f28m35x ControlCARD, and an application based on the TI-RTOS (1.01.00.25) demo projects. During the boot sequence on the M3 core, before control has reached main, my application locks up with a hard fault. The hard fault is always raised between lines 861 and 862 in NameServer.c during the IpcManager module startup. If I single step over this line, the output of CCS (v5.3.0.00090) is this:
Cortex_M3_0: Can't Run Target CPU: (Error -1268 @ 0x90001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.92.0)
The xPSR.EXCEPTION bits have the value 000000011 (3 = HARDFAULT), and the HFAULTSTAT.FORCED bit is set. FAULTSTAT.INVSTAT and FAULTSTAT.IMPRE are both set, so I think that means the fault is an earlier interrupt that was not handled. How can I determine what the fault actually is so I can correct my configuration?