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.

Running DSP program directly on L138 power up

Other Parts Discussed in Thread: OMAPL138

I have a program running on DSP without any issues loaded through the JTAG emulator.

However now  i want to flash this program so that i can run as soon as power up the LCDK L138.

what are the steps required to achieve the same.

I understand that L138 is ARM boot device and it requires steps to take DSP out of reset, copy DSP program to external memory and DSP entry point.

Is there a example to do the same.

What is the fastest possible alternative.

Thanks

Alwyn

  • Hi Alwyn,
    Yes, you can boot the DSP application directly with help of ARM starterware bootloader.

    C:\ti\OMAPL138_StarterWare_1_10_04_01\build\armv5\cgt_ccs\omapl138\lcdkOMAPL138\bootloader

    Please refer to this wiki page for detailed explanation of booting the DSP app on OMAPL138 board.

    processors.wiki.ti.com/.../OMAPL138_StarterWare_Booting_And_Flashing

    Please let me know if you face any issue.

  • Thanks Shankari,

    I currently have downloaded the mcsdk for L138 and have the L138 LCDK.
    i guess i need to download the starterware, where do i get that.
    It seems it is specific to EVM L138 and doesnt apply to LCDK L138? Am i correct

    Regards
    Alwyn
  • Hi Alwyn,

    Please refer to this wiki for starterware download and user guide.

    Latest starterware download link:

    It seems it is specific to EVM L138 and doesnt apply to LCDK L138? Am i correct

    No, its applicable for both EVM and LCDK board.

    But this wiki page only for LCDK board and personally I tested and worked on OMAPL138 LCDK board (ARM & DSP app boot).

    Also I mentioned in this wiki that its for OMAPL138 LCDK board.

    You can also do the same in OMAPL138 EVM board but you have to use appropriate bootloader and example.

    Say for ex, if you want to boot DSP GPIO example on OMAPL138 EVM board.

    You have to import the following projects and build then flash as wiki mentioned.

    Bootloader:

    C:\ti\OMAPL138_StarterWare_1_10_04_01\build\armv5\cgt_ccs\omapl138\evmOMAPL138\bootloader

    Application:

    C:\ti\OMAPL138_StarterWare_1_10_04_01\build\c674x\cgt_ccs\omapl138\evmOMAPL138\gpio

    Say for ex, if you want to boot DSP GPIO example on OMAPL138 LCDK board.

    You have to import the following projects and build then flash as wiki mentioned.

    Bootloader:

    C:\ti\OMAPL138_StarterWare_1_10_04_01\build\armv5\cgt_ccs\omapl138\lcdkOMAPL138\bootloader

    Application:

    C:\ti\OMAPL138_StarterWare_1_10_04_01\build\c674x\cgt_ccs\omapl138\lcdkOMAPL138\gpio

    I hope this helps.

    Please let me know if any help.

  • Thanks Shankari, these are good starting points and should suffice my purpose.
  • Is there any additional steps required if my DSP application is using Sys/BIOS ?
  • Hi Alwyn,
    It should not be any problem if use SYS/BIOS
    I've not tried, please let me know if any problem.
  • After following all the steps in the links, my lcdk doesn't boot anymore. It is in a bricked state.

    I think the boot.ais file created was wrong, i haven't done any configuration and used the defaults - everything unchecked.

    I think there should have been configurations like EMIF, PLL, DDR etc..

    Even entry address was left untouched.

    I have selected NAND flash.

    Could you share the AISgen configuration required to correctly create the boot.ais file  for LCDK L138

  • I got the bootrom working by selecting 16 bit data bus Flash configuration.
    However i can see last print as runnning DSP application, post that LCDK is in a hung state.

    I do not see any prints from the DSP application as well.
  • Hi Alwyn,


    If you are able to see "Runnning DSP application" then your DSP code is running.
    Which DSP application have you used ?
    I would like you to suggest to use the DSP GPIO LED blinking code to confirm that your DSP code is booting.
    Please try it and let me know.