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.

6713 DSP compiler/Linker question

I am working on a 6713 DSP project and I have the need to recompile the _auto_init() found in the rts.src.  I extracted the _auto_init() from the rts.src and placed it in its own file to be included in my project.

By looking at the map file, I find that my _auto_init() is now linked in as expected, and the original rts library function is no longer in the map file.  With no changes to the new _auto_init(), I find that it is not executing correctly.  I suspect that I am missing either a compiler switch, or perhaps a linker command option to ensure that my new _auto_init() gets called appropriately.

Please let me know if you need any additional information  to assist me in getting the _auto_init() function running properly. After I get it running, I will then begin to add my own src modifications.

  • Kyle, 

     

    Not sure the specific answer to why his auto_init is not being called.  However a general question is why not just leave auto_init in the RTS lib. He can modifiy it as needed and then just rebuild the entire RTS.lib and use it.

    Is the customer using BIOS? If so he can add a custom configuration steps after our default auto_init function runs.

     

    Brad  

  • Kyle, 

     

    We really need more details on the customers project. Can you point him directly this this thread?  He could try  changing the the auto-init mode to load-time (Changing the '-c' to '-cr'). 

     

    Brad