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.

CCS5.5: Startup function giving error while launching the Debug Session

Hi,

    I am using CCS5.5. I doing device debugging of project-less target C67xx. To Target Configuration file, I am providing the path of my own GEL file as initialization script. The GEL file Contains the Startup function. In the Startup function I am doing Memory Map Setup.

          When I am Launching the Debug session by using the Target Configuration file, the console is populating the error message "Error while executing StartUp(): Could not write 0x01800000: Target is not connected at *((int *) 0x01800000)". I am connecting the Target after Launching the Debug Session. Same GEL file worked fine on the CCS3.1 without any error massege. How to avoid this error message in CCS5.5?

 

Thanks,

Manish

  • Hi Manish,

    Manish Kumar10 said:
    When I am Launching the Debug session by using the Target Configuration file, the console is populating the error message "Error while executing StartUp(): Could not write 0x01800000: Target is not connected at *((int *) 0x01800000)".

    There should not be any actions that access the target in the GEL StartUp() function since CCS will execute that function before target connection has been established with a hardware target.

    Manish Kumar10 said:
    Same GEL file worked fine on the CCS3.1 without any error massege.

    I'm surprised that it did because the recommendation I mentioned has been around since CCSv2.4 and greater:

    See section 2 of: http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=spraa74a&fileType=pdf

    Manish Kumar10 said:
    How to avoid this error message in CCS5.5?

    Move such calls to OnTargetConnect()

    Thanks

    ki