Other Parts Discussed in Thread: TMDSICE3359, SYSBIOS,
Tool/software: TI-RTOS
EVM HW: TMDSICE3359
Host Env: Windows
BIOS Version: 6.53.2.00
XDCTOOLS: 3.50.03.33
CCS Version: 7.2
As instructed in the SysBIOS User's Guide, I navigated to TI Resource Explorer-->SYS/BIOS-->AM33x - Cortex A8 --> ICE_AM3359 -->Cortex A --> GNU Target Examples --> Generic Examples and Imported the "Static Example" project and the "Swi Example" Project. Both projects build with no Errors but both produce the following Warning:
Description Resource Path Location Type
Invalid project path: Include path not found (C:\Users\celyj\Embedded\ICE_am335x\static_ICE_AM3359_CortexA\.config\xconfig_static\Debug\C::\ti\bios_6_53_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\newlib-nano). static_ICE_AM3359_CortexA pathentry Path Entry Problem
After the project is built, it is programmed into the Hardware target using the Debugger. As with both projects, when the debugger starts, both enter at main() as expected. In both projects, there is some initialization before the BIOS_start() operation. This initialization code appears to be working correctly in both projects. (i.e. I have been able to set a breakpoint before BIOS_start() and hit the breakpoint consistently). When the program is Resumed and steps into BIOS_start(), this is where I think I'm having issues.
The program will immediately go into Suspend and open the file C:\ti\bios_6_53_02_00\packages\gnu\targets\arm\rtsv7A\syscalls.c The point that the program Suspends is at the very bottom of the code snippet shown below. It actually Suspends on the line with the closing " */ ". I can select the Resume button but the program(s) land on this same location in Suspend Mode.
/*
* ======== syscalls.c ========
* Minimal implementation of newlib syscall stub functions.
*
*/
/*
* ======== _exit ========
*/
void _exit(int code)
{
asm(" .global C$$EXIT");
asm("C$$EXIT:");
while(1){};
}
/*
* @(#) gnu.targets.arm.rtsv7A; 1, 0, 0,0; 11-8-2017 17:59:48; /db/ztree/library/trees/xdctargets/xdctargets-p04/src/ xlibrary
*/ ***HERE IS THE SUSPEND POINT***