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.

Lin2 registers TMS570

Hello,

I use the TMS570 USB stick and CCS 4.4.1. My problem is that when i set registers in the Lin2 module I cant see the changes in CCS. In the Memory window on address 0xFFF7E500 thera are only '-'. In the registers window all registers remain 0x00000000 no matter what I write to them. I can configure Lin1 module without any problem (base address 0xFFF7E400). What can I do? is about the CCS configuration?

/Jonas

  • Jonas,

    It might be an issue with the GEL file included with CCS. First thing to check is whether your target configuration file (.ccxml) is using the Gel file TMS570LS202x6S.gel. You can check this by opening the .ccxml in CCS, go to the Advanced tab, expand the nodes till you get to the CortexR4 device and check if there is a GEL file included for the initialization script.



    If it is using this GEL file, browse to the location of the file in your CCS installation (ccsv4\emulation\gel), save a copy of the original file and edit the file to change the length of LIN register definition from 0x100 to 0x200:

        GEL_MapAdd(0xFFF7E400, 0, 0x00000200, 1, 1); /* LIN        - PS06         */

    Close and restart CCS and see if that helps in accessing those memory regions in the memory view.

  • I performed the change in the GEL file that you suggested and now I can access that memory regiom. Thanks alot for hte help.

    /Jonas

  • Jonas,

    Thanks for confirming that this works. I have reported the issue internally so the GEL file can be updated for a future release of CCS.