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.

bootloader

I am trying to build a boot loader program that must exist in 0x300 to 0x3000 (or 0x180 to 0x1800 in word address).  This bootloader will be downloaded via the host through the HPI and the hardware
If I build a project and include DSP/Bios, I can configure the memory space using the MEM object easy enough.  However, with DSP/bios, I can't make my memory space that small.  If I don't include DSP/Bios, I dont have the MEM object and can't seem to figure out how to set up my memory map.  I also need to include the CSL (or would like to) as I need to interface the HPI and possibly some of the serial ports.
If a project is created with out using DSP/Bios, where is and how do you insert the linker command file into your project.
Robert
  • Robert,

    If you are not using DSP/BIOS, then you need to create your own linker command file (or use a pre-existing file).   You didn't say which device you are trying to use, but since you are planning on using CSL that should help you.  Both versions of CSL (Std and Low Power) come with example projects which don't use DSP/BIOS.  You can use one as a template for your application.

    Hope this helps.

    Regards.

  • Thanks TommyG,

    I am using CCS4, and a C5502.  The CSL I have is C55xx CSL version 2.31.00.9.  I saw in spru433j page 2-12 that I needed the linker command file, but in this document, it did not tell what the file extension shold be, or how to get it in your CCS 4 project.  I see from the examples that they are .cmd files (which may or may not matter) but the projects look like CCS3 or earlier versions.  I copied one of those .cmd files, set up the MADU values and then just put  it into the project work space.  CCS4 seem to automatically picke up .c and .h files, but it didn't pick up my .cmd file. 

    How do I incorporate into CCS4

    Thanks

    Robert

  • Hi TommyG,

    I moved the .cmd file to the root of the project workspace, and CCS4 did manage to pick it up and start using it.  So, I believe I have a working project shell now.  Thanks for your help.

    Robert

  • Robert,

    Glad to hear you got the command file figured out.  You should also be able to right click on your active project and select "Add files to Project" option to select a .cmd file.  This should work for any source file you want to add to your projects.

    Regards.