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.

TMS320F28388D: Boot loader RAM usage

Part Number: TMS320F28388D

Hello,

I am having 2 projects in ccs. 

  1. SCI Flash kernel (in Flash sector 0-4)
  2. Firmware. (in flash sector 5- ..)

Am planning to include a timeouts in SCI flash kernel, so at reset if no firmware upgrade is there i will long branch to firmware flash sectors. even if  a firmware update happens then also after update i will jump to entry address of flash sector.

So my doubt is if these are 2 separate projects , while jumping from one project  to other -will the RAM used by first project(which will load flash api,s  etc into RAM )  remains unused while running second project? or whole RAM is again alloted for next proj.?

Thanks and regards,

Stevin

  • Stevin,

    If you are not planning to execute your application during firmware update process (live firmware update), then your application can use entire RAM - No need to keep the bootloader RAM space unused.

    I would suggest to do RAM initialization before the application uses the RAM (used by boot-loader).

    Thanks and regards,
    Vamsi

  • Hy,

    My concern was that as I am branching from bootloader to application code , will processor restrict itself from using the ram memory which is  already used by bootloader . Please give a clear idea on what will happen in above mentioned situation.

    For a safety purpose should I do ram initialization?

    Hw it can be done? . Please guide.

    Thanks and regards,

    Stevin

  • Stevin,

    Processor does not restrict any.  It depends on your application's linker cmd file.

    At the end of your custom boot loader, before branching to the application, RAM initialization can be done. 

    In the TRM, you can search for "xINIT":  You will find different registers to do RAM initialization for different RAM blocks.  

    Thanks and regards,
    Vamsi