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.

NSP Examples fail to load on C6748 (LogicPD C6748 SOM)

Other Parts Discussed in Thread: OMAPL138, TMS320C6748

Configuration

CCS 4.2.2, recent install, includes bios 5.41.10.36, and bios 5.41.10.36

NDK 2.20.03.24

NSP 1.00.00.09

XDS100v2 from Spectrum Digital

C6748 SOM and EVM kit from Logic PD

The examples included with the NSP do not load.  The following error is reported:

C674X_0: File Loader: Data verification failed at address 0xC00D1D18 Please verify target memory and memory map.

Error found during data verification.

Ensure the linker command file matches the memory map.

 

  • Further info

    the projects are

    ndk_evm6748_bios6_helloworld

    ndk_evm6748_bios6_client

    ndk_evm6748_bios6_cfgdemo

  • Hi Mitch,

    Another customer made a similar post this morning (http://e2e.ti.com/support/embedded/f/355/t/103678.aspx).  I responded with the following.  Can you please provide some more info?

    ------------------

    Hi Mary,

    Can you elaborate on the process you are using to connect to and load the example on the board?  For example, do the following steps coincide with what you're doing, or are they different?

    1. Power on the board

    2. Launch the CCSv4 debug session for the evmOMAPL138

    3. Connect to the C674 DSP

    4. Target -> Reset -> CPU reset

    5. Target -> Load Program

    Specifically, are you performing step 4?

    Also, could you let me know which GEL files you are using?

    Steve

  • Yes.  It fails at step 2.

    here is the error message again

    C674X_0: File Loader: Data verification failed at address 0xC00FC310 Please verify target memory and memory map.

    Error found during data verification.

    Ensure the linker command file matches the memory map.

     

  • Mitch,

    Did you mean at step 5, the program load step?

    Can you please attach the GEL files you are using to this thread?

    Thanks,

    Steve

     

  • No, step 2.

     

    Target->debug active project

     

    That does the load also.

     

    I just now tried the ndk evm6748 bios5 hello world with and without the most recently posted gel from logicpd.  There is no difference.  Also there is no difference in this for the bios 5 and bios 6 versions.

     

    As an aside, we were able to get the Logic PD BSL codes to work only by omitting the gel, and by patching their source codes for their internals.  It took a lot of time and it is not finished.  They eventually told us that the BSL was never meant to be used to code an actual system.  6 weeks wasted.

     

    So far, absolutely none of the BIOS 5, BIOS 6 or NDK examples work out of the box either.

     

  • Could it be that what we need is a "tcf " for the C6748 SOM?

  • Mitch --

    I'm wondering if there's a problem with your board and/or setup.

    Could you try the following?

    Connect with CCS with whatever .gel is recommended.  This should initialize the external memory interface and make DDR accessible.

    Before trying to load any programs, just use the CCS memory window and double-click on some memory cells in DDR space (0xC000,0000 I think) and see if those changes "stick".  It sounds to me like your external memory is not working correctly.\

    Do you have a 2nd board that you could try?  I'm wondering if this is a hardware problem.

    The error message you are getting is from emulator complaining saying it wrote xyz to location abc, but abc doesn't contain xyz.   CCS checks first and last address of every section it writes to make sure that the write succeeded.  If not, it complains (as it should).

    -Karl-

  • Okay,  how do i connect with ccs with a gel file?

    i don't see any menu items that do it (CCS4).

     

  • Mitch,

    To specify a particular GEL file, you'll need to open the CCS target configuration for your OMAPL138 board.  This can be found in CCSv4 under the "C/C++" view.  If you don't see a tab labeled "target configurations" you can open it via the menu.  All of this is shown in the below screen shot:

    On my setup, the OMAPL138 is called "OMAPL138_xds560.ccxml".  So at this point, you should find yours (probably named differently) and double click it to open it.  Once open, click the link titled "target configuration":

    From this screen, you'll be able to choose the GEL file script for the DSP and or the ARM:

     

  • Also, one other thing.  The step you're doing:

    Target->debug active project

    I don't think this is performing a reset of the processor.

    Can you try launching a different way?  Can you try right clicking on your target config and selecting "launch selected configuration".  On my machine, it looks like this:

    This will launch the debug session, but it won't connect to the target or load anything.  So, once you launch it this way, can you try these steps?

     

    3. Connect to the C674 DSP

    4. Target -> Reset -> CPU reset

    5. Target -> Load Program

     

     

  • It worked!!!  thank you.

    It loaded, and no errors.  I have not tried to run it yet.

    Here is a bug or feature fix for the procedure to load the GEL:

    The gel file is in a directory within the workspace.

    When the user browses for the gel file and then loads it, the tool gives it this path

    ..\..\..\..\Projects\DSP_Preprocessor\TMS320C6748_Gel_Bsl_Files_v2.3\gel\C6748.gel

    Perhaps the tool instead should give it a path like the following, and for gels outside the workspace it should probably be an absolute path.

     ..\..\TMS320C6748_Gel_Bsl_Files_v2.3\gel\C6748.gel

  • it loads, and it runs.  I tried the client example, and it works.

    Okay, let me ask one follow up question. 

    i need to make a program that moves data from the UPP to raw ethernet packets.

    What would be the most appropriate example or template to start from?