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.

VC5505_USBStick - Unable to connect target

Other Parts Discussed in Thread: STRIKE

Hi,

I have followed the instructions in the Quick Start Guide meticulously, but when I get to part 7 of the Configuration Instructions and click "Launch Selected Configuration", nothing happens.  (I did click View>Debug before doing this).  The Connect option is then not visible (I mean doesn't appear, not greyed out) in the Target menu.

There were no error messages during the install, nor during the configuration process.

Windows seemed to do all the right things when I plugged the board into the USB port.  I have used the same board at work using a different licence, and did not strike this problem.  It all seemed to work according to the instructions.

Any clues?

Greg

  • Greg,

    Have you imported the example project as well?  If so right click on that and create a new target config inside the project.  Then you should be able to click on the bug button to build and debug the active project.  Curious to see if that works.

    BTW which version of CCS is this 4.1.2?  Which host OS?

    Regards,

    John

  • Hi John,

     

    I have just tried doing as you suggested.  I right clicked on the root of the led project in the projects tab.  I clicked on Open Target Config, and got the message "Target configuration does not exist for the selected project. Do you want to create a new target config and open it in the editor?'"  I clicked Yes, and went through the same steps as I had done previously, with the same results.  Now, in the Target Configs tab, under projects, there is the target config that I just created, but it still behaves "dead" - no activity when I right click and select Launch Selected Config

    Version of CCS is 4.0.0.16

    OS is XP SP2

    If you give me an e-mail address, I could send you the screen shots.

    Regards,

    Greg

     

     

  • Greg,

    I was looking for you to right click on the project and select New -> Target Configuration file, however what you did is interesting as when you click on Open Target Configuration it will open the active one for the project and if one doesn't exist it will open the default configuration and if that doesn't exist then you get the message you see.

    Confirm that your project is marked as "Active", then click on the Bug button on the toolbar.  This will attempt to debug the active project.  I want to verify that this flow is not working either.

    You attach screen captures here as well, up at the top of the thread when you are editing there is an Options link and from there you can add attachments.

    Regards,

    John

     

  • Hi John,

     

    I can confirm that the project is marked as active.  If I click on debug, nothing happens, as you suspected.

    Do you think that I should try uninstalling CCS4 and re-installing?

    Regards,

    Greg

  • Greg, You could try installing the latest 4.1.2 release. That can be downloaded from our wiki site. Processors.wiki.ti.com then click on code composer studio, then the code composer studio v4 link then on download. Sorry I would send the direct link but I am on a blackberry. When you install try installing outside of program files. Typically not a problem on XP SP2 but worth a try. John
  • Well, I haven't downloaded the new version yet, as 4.0.0.16 works fine on my laptop.  What I did was to uninstall, and re-install making sure my firewall was turned off.

    No difference!  I don't even believe that the uninstall worked correctly, as the project was still in the same state after re-installing.  I will look for the new version you suggested when I am at work tomorrow, as I have more download bandwidth available there.

    Greg

  • Hi John,

    Well I downloaded ver 4.1.2 at work today, and brought it home.  You will be pleased to hear that the target configuration now runs, and I can connect to the target.  Only problem is that I should have realised  that the test files would not be in the download, and they got erased when I uninstalled the old version.  So I can't test the build process until I copy the test files (LED etc) from my laptop at work.

    Regards,

    Greg

  • Great.  You may be able to get the files you need from here: http://support.spectrumdigital.com/boards/usbstk5505/revb/

     

    John

  • Hi John,

    What I did in the end was to install the old version in a spare PC and move the old usbstk5505 directory on top of the one in the new installation.  Guess what - it didn't work!  Under File>Import, I was now able to point to the directory containing LED, but the Finish button did not ungrey (become active).  I suppose one of the project files generated with the old version, is not compatible with the new version.

    So then I started from scratch and made a new project, and added the C files into it.  I really struggled with the 5505 includes, as I could not find a way to add a second include folder under Includes in the project - seems really illogical.  In desperation, I added the 4x 5505 includes manually into the same directory as the C files.

    Then the compiler would run, but the linker is complaining about unresolved symbols eg

    unresolved symbol _USBSTK5505_waitusec, first referenced in ./led_test.obj        LED412    line 0   

    plus 5 more unresolveds like it.

    I suspect that if I can put that include directory into the right place it will sort everything out, but at this point I have given up and written this post to you, and gone to bed.  I must say that I do NOT find CCS4 at all intuitive, and it has made me feel like giving up on several occasions.

    Regards,

    Greg

  • Greg,

    If you already have a project of the same name it will not let you import a project with that name into the same workspace.  You can either delete that project or you can create a new workspace File -> Switch workspace

    Creating that project from scratch was a pain, I don't recommend trying it.  You should just be able to import that project I created, we tried it on a number of machines at TI.

     

    Regards,

    John

     

  • Ah, thanks, with a new workspace it now works.  It would have been helpful if it had told me that the project already exists and given me some tips, rather than just failing silently!

     

    Greg

  • I think we have a bug tracking the name conflict issue... yup here it is: SDSCM00035750

     

    john