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.

LAUNCHXL-F28379D: Loading and running a program away from a PC

Part Number: LAUNCHXL-F28379D

Hi,

Right now, we're using the LAUNCHXL-F28379D to prototype.   We're at a point where we have our code working correctly, but we'd like to run our program on the Delfino board with it being disconnected from a PC.  Is it possible to pre-load our program, power the Delfino externally through a wall outlet, and have it run our program?  If so, could you redirect me to an example or send me instructions on how to do this?

Thanks,

RM

  • Robert,

    Please see the F28379D workshop at:

    processors.wiki.ti.com/.../C2000_Multi-Day_Workshop

    In the lab 10 exercise you can learn about programming the flash memory. The previous lab exercises run the code out of RAM. Hopefully, you will find the entire workshop useful for learning about the F8379D.

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken
  • Thanks for the response Ken,

    We're able to get our device running the program on flash. However, we are working with a time sensitive algorithm. From this thread, we're lead to believe that we're going to need to copy the flash to RAM at run-time. Do you have any instruction on how to make this copy?

    Thanks,
    RM
  • Also, Lab_10.cmd and main_10.c utilize the following parameters: secureRamFuncs_loadstart,secureRamFuncs_loadsize, and secureRamFuncs_runstart. I'm having trouble finding where these are declared and understanding what they are used for.  

    A how to copy flash to ram at run-time for dummies would be spectacular.

    Thanks,

    RM

  • Robert,

    I am glad that you were able to get your program to run from flash. Please see the following application report, which explains the details for copying flash to RAM at run-time:

    www.ti.com/lit/spra958

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken
  • "Applicability to other F28xxx devices, although likely, is not guaranteed. Further, the code and methods presented apply to the development tool versions utilized, specifically: CCS v5.3.0, Code Generation Tools v6.1.1, DSP/BIOS v5.42.0.07"

    Will this work on our board and is it compatible with CCS v8?

    Thanks,

    RM

  • Robert,

    You could try to import the project into CCSv8 or CCSv9. You will most likely receive a warning that the project was compiled with earlier version. If so, open the project properties and select the newer compiler version and rebuild. I am not sure about DSP/BIOS, however if your project does not use it, then there should be no problem.

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken