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.

Missing startup_ARMCA9.s in CCS

I am following the tutorial for building a simple "Hello World" example on the AM437x and the document shows that the sample project includes startup_ARMCA9.S, but when I follow the steps, I get startup_ARMCA8.S in my project instead.

I searched the TI folder, and found startup_ARMCA8.S, and startup_ARMCA15.S, but not the one for the Cortex A9.

Can I get the correct startup code somehow?

Thanks!

Doug

  • Please ask on the dedicated CCS forum: e2e.ti.com/.../81
  • I am not sure if you already resolved the problem in CCS forum. I think the issue came from how to build and run a bare metal "hello world" example on AM437x following the wiki page: 

    processors.wiki.ti.com/.../Processor_SDK_Bare_Metal_Examples

    The issue is that CCS 6.1.1 doesn't come with a hello world template. You can still following the instructions here but need to deal with to things: the start up file and linker command file. They are generated automatically in CCS project as 1) startup_ARMCA8.S and 2) AM335x.lds by CCS. The startup file does some basic setup and there is no difference between A8 and A9, so it can be used directly on A9 target. The linker command file can also be used as it is (An optional step is to modify the section definition if you wish to introduce more sections or partition the existing sections.)

    If you renamed the startup file from startup_ARMCA8.S to startup_ARMCA9.S in your project, then the linker command file needs to be updated as well for code section placement: *startup_ARMCA8.o (.text) ====> change to *startup_ARMCA9.o (.text).

    We will add this info in the wiki page.

    Regards, Eric