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/TMDSCNCD28388D: Part of PieVectTable is not shown - memory map preventing reading

Part Number: TMDSCNCD28388D
Other Parts Discussed in Thread: C2000WARE,

Tool/software: Code Composer Studio

Hello All

I can not to see the content of part of PieTable as you can see in attached picture (It can't  show the content even if application was not started), 

the content is undefined  from address 0x00000E00 it is not possible  to observe neither in Expression window nor Memory browser  

I investigate it because when I ran application, it catch exception "illegal ISR" and address of ISR of  inhibited interrupt  falls in this one range.

CCS   Version: 10.0.0.00010,   C2000Ware_3_01_00_00, F28388D controlCARD (TMDSCNCD28388D)

The memory for interrupt table   PieVectTable 512 x 16 0x00000D00 0x00000EFF    - so exactly where it allocated 

Can somebody consult me?

Best regards

  • This looks to be a bug in the GEL files installed with CCS 10.1.0.00010 / C2000 Device Support 6.1.0.0. The ccs/ccs_base/emulation/gel/f28388d_cpu1.gel file has:

        GEL_MapAddStr(0x00000D00,0, 0x100, "R|W|AS2",0);                     /*   PIE Vector Table                                        */    

    Whereas to match the C28x Memory Map given in the TMDSCNCD28388D datasheet the GEL file should double the size of the mapping to 0x200 for the PIE Vector Table. I.e. be:

        GEL_MapAddStr(0x00000D00,0, 0x200, "R|W|AS2",0);                     /*   PIE Vector Table                                        */    

    Can you try making the above modification to the f28388d_cpu1.gel file in your CCS installation, after making a backup copy, to see if that allows the entire PIE Vector Table to be viewed in the debugger?

    The same error appears in the f28388d_cpu2.gel file.

  • Hi 

    the The ccs/ccs_base/emulation/gel/f28388d_cpu1.gel file witch was installed with CCS  Version: 10.0.0.00010 

    had other strange error  GEL_MapAddStr(0x01000D00,1, 0x200, "R|W|AS2",0);  So it has 1 in most significant byte of adrress .

    So the bug was fixed by correction wrong  address  to  0x00000D00

    thank you 

    Best regards

    Andrii

  • Andrii Shevchuk said:
    had other strange error  GEL_MapAddStr(0x01000D00,1, 0x200, "R|W|AS2",0);  So it has 1 in most significant byte of adrress .

    Actually, the address 0x01000D00 is valid and is the Redundant ePIE Vector Table" as shown in the TRM:

  • OK.

    I am agree. But When I returned  the value  0x01000D00 to the ccs/ccs_base/emulation/gel/f28388d_cpu1.gel file,

    the wrong behaviour returned as well. When I set   0x00000D00 it work properly again -  may be it problem with CCS?

    Best regrads

    Andrii

  • Andrii,

    You need to just add the following line in Gel file and leave the redundant PIE map as it is.

    GEL_MapAddStr(0x00000D00,0, 0x200, "R|W|AS2",0);                     /*   PIE Vector Table                                        */    

    We'll check this at our end and fix it in next release.

    Regards,

    Vivek Singh