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.

Load a raw binary file into c6670EVM

Hi,

Is there a way to load a raw binary file into the RAM of c6670EVM?

 

  • I presume you want to do this from the ccs debugger.

    1. Launch the target then connect to at least one core.
    2. If you are loading to DDR you need to activate the DDR before loading
      1. Load the gel file "\Program Files\Texas Instruments\ccsv5\ccs_base_5.0.3.00025\emulation\boards\evmc6670l\gel\evmc6670l.gel".  If you haven't done this before, the gel window is accessible by right clicking on the target core and chosing "Open GEL Files View".  This is the same place you clicked to connect to the core.
      2. Run the GEL to initialize the device via menu "scripts/cpsw functions/Global Default Setup"
    3. Open a  "Memory Browser" window.
    4. Enter 0x00800000 in the address bar (its the unlabeled entry bar at the top of the memory window).
      • The memory browser window  requires any valid address to be entered in order to "activate" the window. 
      • The address you view/enter has nothing to do with the address that will be loaded.  It will let you enter the load address after you specify the source file.
      • 0x00800000 is a good generic address since its present on most if not all c6xxx targets.
    5. Right click on any value in the memory window and click "Load Memory...".
    6. CCS interprets the file extension.  Since you want to load raw data, make sure the file name doesn't end with .dat or .out.