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.

CCSv4 b3 - Problem with loading program to external RAM



Enviroments: Win XP SP3, CCSv4 b3, TMX320F28335, external CY7C1041CV33 4-Mbit (256K x 16) Static RAM, JTAG-emulator SAU-510

Hi all,

I have problem when try to loading program with more than 5k (approximately) words (x16) allocated to external RAM. Thats the error message:

C2800_0: File Loader: Data verification failed at address 0x00100000 Please verify target memory and memory map.
Error found during data verification. Ensure the linker command file matches the memory map.

0x0010000 - is lowest adress of XINTF Zone 6 where I map these 5k words.

When I allocate it to on-chip RAM or flash loading goes ok. When i reduce size down to 1k (approximately) loadind goes ok.

What may be a reason of bug?

 

  • Timur,

    A data verification error occurs when we read back part of the memory written during a program load and find that it does not match what we had tried to write during the load.

    Are you able to open a memory view and modify memory starting at address 0x00100000?

    Regards,

    John

     

  • John is right on here, this probably means that CCS cannot access that memory properly, so I would try using the view memory as he suggests to confirm the problem

    Usually this sort of failure is the result of the memory interface not being configured properly before you try to write or read from it, this sort of memory interface initialization is generally handled by a GEL file in your CCS setup (a sort of device initialization script). I have not done much work with the C2x devices so I am not sure how much of this applies (I mostly work with C6x devices), however if the memory interface you are using needs any sort of initialization than you may have to modify your GEL file to manage that setup so CCS can write to it, or run whatever code you have that would configure the interface, before you try to access it with CCS.

  • Yes, I can open and modify this memory.

  • Timur Gilfanov said:
    Yes, I can open and modify this memory.

    Can you modify all the bits in a word of the memory, and several words past 0x00100000? It seems unusual that CCS would fail loading to an address that you could write to with the view memory window (I don't think I have ever come across such a scenario).

    I see you are using an earlier beta version, have you tried this on the latest beta release 5?

  • Probably, I'm hurry to post my trouble there. I find that this error and unexpected behaviour of my program has some (I don't know exactly what) dependence with my memory map and how I use them for allocate my program and data. It's my first work with external memory and I think that bug on my side :-). I have time to learn more about my problem and try to resolve it.

    Thank for answers, I know something new about CCS.

  • I find the bug! I forget about jumpers in my PCB, whitch used in boot up and pull-down XA12-XA15. [:D]