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.

_c_int00 - Can this be specified so entry point is always at a specified address?

Other Parts Discussed in Thread: CONTROLSUITE

I would like my custom boot loader to jump to my main application.  The boot loader does not include DSP Bios but the main application does.  I have seen in the map file that the _c_int00 address changes sometimes after a compile.By making this a fixed address I can easily set the boot loader.  Thanks.  Also, are there any examples for custom boot loaders that can be downloaded and reviewed for the 28335?

  • Christopher Taylor said:
    I would like my custom boot loader to jump to my main application.  The boot loader does not include DSP Bios but the main application does.  I have seen in the map file that the _c_int00 address changes sometimes after a compile.By making this a fixed address I can easily set the boot loader. 

    Christopher,

    The way we handle this in the TI boot loaders is we fix an address as the "entry point" and require the user to place a branch instruction at that location using an assembly file.  The branch redirects to the location of any customer boot.asm required for the application followed by a branch to _c_int00. 

    Another option is to look at the CODE_SECTION pragma to place _c_int00 into a section other than .text and then place it in the linker file.  This is documented in www.ti.com/lit/spru514 (compiler reference guide).

    Christopher Taylor said:
    Also, are there any examples for custom boot loaders that can be downloaded and reviewed for the 28335?

    The code for the 2833x boot ROM is in controlSUITE (www.ti.com/controlsuite) under C:\ti\controlSUITE\libs\utilities\boot_rom

    Regards,

    Lori