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.

CCS/TMS570LS3137: Error: Memory map prevented reading ...

Part Number: TMS570LS3137


Tool/software: Code Composer Studio

I can get no response from the SCI port, 0xfff7e500. Looking at the memory browser, all entries are blank. But the LIN port, 0xfff7e400 displays all its registers. I'm using CCS 7.0.0.00042, installed by administrators.

I cannot read from the port, and have had great difficulty in outputting any meaningful data

This section of code was got running on a 570LS0432, but that only has the single LIN/SCI which can be viewed at 0xfff7e400. It's almost as though this part is still embedded in the debug configuration, although I cannot find any evidence.

With the target still programmed, I can use a laptop with CCS6.1.0.00104 and enter debug for a different program but same device (load symbols only). This allows SCI port memory browsing at 0xfff7e500. Debug connection is via an XDS100V2.

Any help welcome, thanks.

  • Hello,

    Are you getting a memory map error (as described in your heading)? Or is the issue that the entries are simply blank in the memory browser view?

    Thanks

    ki

  • N King said:
    t's almost as though this part is still embedded in the debug configuration, although I cannot find any evidence.

    The ccs_base/emulation/gel/tms570ls043x.gel and ccs_base/emulation/gel/tms570ls3137.gel GEL files used to configure the memory map for the debugger have different memory maps which could explain the issue.

    Where the GEL file is specified in the initialization script field of the Target Configuration:

    Normally the GEL file used is automatically selected when the Device is set in the Basic -> General Setup part of the Target Configuration.

  • Thanks Chester. Success.