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.

How to use 55xx simulator in CCS 4.2.2

I have installed CCS 4.2.2 and created a project which compiles OK. But when I try to run it using the simulator I get the following error message when launching the debug session

Can't Initialize Target CPU:

Error in getting configfile from driver config database.

How do I set up and use the simulator? I tried the help but found nothing

 

Regards,

John Pote

  • Hi,

    You need to create target configuration file.

    1. Select Target in Menu bar

    2. Select New Target Configuration

    3. Give a File name: NewTargetConfiguration.ccxml (default name)

    4. Location: your project folder

    5. Click Finish

    6. Now you'll set NewTargdetConfiguration.ccxml window pan

    7. Select a Simulator you want to run.

    8. Click Save

    9. Verify NewTagetConfiguration.ccxml[Active] added in your project.

    10. Run Debug.

    Regards,

    Hyun 

  • Thanks for the reply. Sadly it does not work. After clicking save the new target does not appear in the project. (Although if I try to create it again the New Target Configuration dialog complains about the file already existing) I have now found a newtarget.ccxml in my project in the Target Configurations tab and surprisingly it has appeared for the first time in the project in the C/C++ tab. But whenever I try to debug with it the error message as I originally reported appears and no running of the code is possible.

    Can you help me get going?

    John

  • hi..

    i am a student using CCSv4 in my institution laboratory. the norm follwed here is that installation are all done from ROOT login, the password is with faculty. students work from other login. so i had a big time with the installation.

    when i created a project from ROOT login almost everything worked fine except for the crashing of the CCS window whenevr i edit the source code. but the same project when i build from the other general login i get the same error as john has mentioned. the CPU does not get initialised because config file could not be found in the database.

    can u please help if you have spotted the problem??

    shubha

     

  • Hi,

    Can you see the target under the "target configuration" tab? It should be inside the folder "user defined".

    If no, you need to create a new target configuration for your board.

    If yes, then right-click it and set it as the default configuration. That should link your target to all projects.