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.

Troubles with programming TMS570

Other Parts Discussed in Thread: TMS570LS3137

Hi there!

I have the following Problem:

I want to program my TMS570, but after writing the 2nd Block i get the following error:

CortexR4: GEL Output:     Memory Map Setup for Flash @ Address 0x0CortexR4: Trouble Writing Memory Block at 0x5dc on Page 0 of Length 0x7ff0
CortexR4: Unable to terminate memory download: (Error -1003 @ 0x2BC5) Internal error: Invalid parameter passed to function. Restart the application. If error persists, please report the error. (Emulation package 0.0.0.0)


Target: TMS570LS3137

Programmer: XDS100v2 (BH-100v2-ARM)

CCS: 5.2.1.00018 ( but also tried 5.2.0.00069 with same error)

OS: Ubuntu 12.04.1 LTS

Interestingly I also have a ECC file which loads up without errors.

further the upload works fine with the ECC.out and the prog.out with nowFlash running Windows

thx for the help

Valentin

  • Valentin,

    Is this issue specific to the Linux environment? Can you load the .out file using CCS 5.2.1 on a Windows machine?

  • no, its the same error.

  • Are you using a custom board or the TI HDK? Are you having trouble loading just this one .out file or others as well? You mentioned being able to load a different .out file fine, so I wonder if the issue is specific to this .out file.

    Have you tried some of the example programs for the HDK? A blink led example is available here. If the examples load fine, I would suggest looking closer at the program that fails to see if something specific there is causing an issue.  If you attach the .out file here, I could try loading it to a TMS570LS3137 HDK that I have here and see if I can reproduce the error.

  • Hey Aarti!

    I'm using a custom board and not the HDK. Since the upload worked fine with nowFlash I somehow assumed the problem is with CCS.

    I will try to get another .out when I have time.

    I also noticed that the upload fails one block later with Windows. So maybe a timeout problem? I already looked for the timeout setting in the .cxml, but it seems i dont have this option (different than described in the wiki).

    Another question, but related: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/220783.aspx

    thx for the help,

    Valentin

  • Valentin,

    Were you able to resolve this issue? If not, did you have time to try loading different .out files to see if it works (from your other thread, it sounds like you are able to load programs on Windows)?

    If you are still having problems with loading this particular program, and you are not able to send the program to us for debugging due to company policies, can you try generating the Debug Server logs by following the instructions in the link (http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Debug_Server_Logging). This will let us know where in the program load process the error is generated.

    Please let me know if you have any additional questions.

    Thanks,

    Ricky