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.

Runtime memory mapping error in debug mode

Other Parts Discussed in Thread: CCSTUDIO

Dear Sir,

I encounter a memory mapping error on 6437 EVM.

My project runs well in release mode.

Then I compile it in debug mode, compile OK, link OK. load OK.

But when I run it, it display the following warning message:

The CIO command cmd:(31) in the CIO buffer at address (0x84163e60) was not recognized. Please check the device and program memory maps.

The program still can run but will crash in 1 minute.

Can anyone tell me what's going on? Thank you!

Best Regards, 

Eric Fang

 

  • It seems that this error is likely stemming from a bug in CCS (SDSCM00016881) which was fixed in CCS 3.3 service release 3, this being said you may want to check your CCS version and probably update to a newer service release through the update advisor menu of CCS (under the help menu).

  • Hi, Bernie,

    I check the update advisor under help menu.

    I was directed to TI's website with following info:

    The following list of updates has been customized for your Code Composer Studio installation.

    Your configuration is up-to-date.

    It seems like my CSS 3.3 is the most update version.(Version:3.3.38.2 ; BIOS:5.31.07 ; Code Generation Tools:v6.0.8)

    Is there anything else I can do for this issue?

    Thank you for your help in advance!

    Best Regards,

    Eric Fang

     

     

     

     

  • I am curious if you are using the version of CCS that is included with the DM6437 EVM board or if you are using a full version of CCS that was purchased seperately?

    The version number you have is not the most up to date service release, though since the limited EVM version of CCS is not updateable, that could be why you would get such a message. I am suprised that the EVM version has this issue however, as I would have expected this error to come up far more often if that was the case. Unfortunately at this time the only fix I have come across is updating CCS, which may require you to purchase a full version of CCS (which you will probably need anyway when you go to production hardware)

     

  • Hi, Bernie,

    I install the full version CCS but the memory mapping error is still there.

    I download the full version from TI website. It's a 120-days trial version.  .(Version:3.3.38.2 ; BIOS:5.31.02 ; Code Generation Tools:v6.0.8)

    And it cause another error during compile, following are the error message:

    ------------------------  video_preview.pjt - Release  ------------------------
    [video_preview.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath=".;C:/dvsdk_1_01_00_15/examples/common/evmDM6437;./;../;C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/examples/common;C:/CCStudio_v3.3/bios_5_31_02/packages" video_preview.tcf
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       $1.dynamicLoading
       ==> err
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       $1.dynamicLoading == 1
       ==> err
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}}
       ==> err
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       ==> err
    (self.dataMember($1))
       self.dataMember($1)
       ==> err
    (self.dataMember($1))
       (self.dataMember($1))
       ==> err
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       $1.dynamicLoading
       ==> err
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       $1.dynamicLoading == 1
       ==> err
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}}
       ==> err
    (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       (if $1.dynamicLoading == 1 {0} else {if GBL.DSPTYPE == 62 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {if GBL.DSPTYPE == 54 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 28 {(($1.space != "code") && ($1 != MEM_NULL)) && $1.space != "io"} else {if GBL.DSPTYPE == 55 {($1.space == "data" || $1.space == "code/data") && $1 != MEM_NULL} else {(($1.space == "code/data") && ($1 != MEM_NULL))}}}}})
       ==> err
    (self.dataMember($1))
       self.dataMember($1)
       ==> err
    (self.dataMember($1))
       (self.dataMember($1))
       ==> err

    Can you tell me what does these message mean? Thank you!!

    Best Regards,

    Eric Fang

     

  • The trial version is also unfortunately not the latest service release, in fact that version number looks to pre date the first service release so it is probably the original CCS 3.3, the same version as the DM6437 EVM version. The CCS version that should have the initial CIO error fixed is 3.3.49.1 (a.k.a. SR 3) or higher, the latest CCS service release as of today is SR 11 and that matches CCS version 3.3.81.6.2.

    As to the errors you are getting now, I would guess that this is some compatibility error with the BIOS version on the old evaluation CCS you are using, since they are coming from the BIOS file (.tcf) and the main difference between the EVM version and the free evaluation version is that you dropped BIOS version from 5.31.07 to 5.31.02.