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.

CCS/PROCESSOR-SDK-AM437X: AM437X

Part Number: PROCESSOR-SDK-AM437X

Tool/software: Code Composer Studio

I am using a DSS script to load and run an ELF executable.  The entry point is called "_start" and not "main".  (This is the RTEMS RTOS, if it matters).  When I do:

  debugSession.memory.loadProgram("file.out");

I get a warning:

  AutoRun: Target not run as the symbol "main" is not defined

I have verified that the ELF file has the correct entry point set (e.g., readelf -A file.out shows "Entry point address: 0x80000040").

When I simply do:

  debugSession.target.run();

nothing happens (the target does not start running).

When I try:

  debugSession.memory.writeRegister("PC", 0x80000040);

to force the PC to the entry point before doing debugSession.target.run(), again nothing happens.

How can I start the target correctly?  (Renaming "_start" is not an option).

Thank you!