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.

Cannot connect to target if flash memory is blank

Other Parts Discussed in Thread: CCSTUDIO

 I am using code composer 3.1 and Spectrum Digital XDS510 USB pod to program flash memory connected to a C6713 processor .  On 2 out of the 4 workstations (if the flash memory is blank) that i try to program the flash memory with on our custom board, i get the following error:  Error connecting to the tartet:  Error 0x80000200/-1060

If the flash memory has an existing program already in memory I have no troubles programing, erasing, or connecting to target.  If I erase the memory and then reset the board the problem of not being able to connect to target comes back on 2 out of the 4 workstations.  I have used the same pod on different workstations so I don't think the pod is the issue.  I have used the same driver on all systems and have gone as far as to copy the entire code composer directory between working and non working system and still get the same behavior.  Can any one help me out.  I am using a variety of workstations and have not found anything conclusive on this funny behavior.

Has any one seen this type of behavior? any suggestions?

 

  • I forgot to add that I ran SDconfig and did the reset and test and all workstations report sucess and have no problem detecting the C6713 processor.

  • Michael,

    Are there boot mode switches on the board?  (I think there are).  On the boards that have nothing in flash, can you set the boot mode to "No Boot" or "Emulation" mode, and then retry?

    It's curious that you get different behavior on different machines.  There has to be something different between them.  Is there a spectrum digital directory?  I suspect that the usb driver or some other SD element is different.  I don't believe in CCS v3.1 that this stuff was stored in the CCS directory. 

    Regards,
    Dan

     

  • Dan

    I was able to get the problem to come and on on the same laptop by making a copy of the working CCStudio_v3.1 folder and putting it on the Laptop that is having trouble.  Now all I have to do is to switch between the original folder and the copy of the working folder to have the problem come and go.  I did a windiff of the two directories and saw some differences but I am stupid enough on the details of what is and is not importat that I can not tell what is broken.  Here is a list of the files that are different.  It looks like the dirvers is probably the one causing the trouble but I could have sworn that I coppied the driver folder from a working machine over to the LapTop that was having trouble.  I don't like not knowing what makes the loading work but for now I don't have time to go much deeper. As far as your question on setting boot switches, I do nothing different to the module that I am programming between the PC that works and the one that does not.   I think your comment is correct about the dirver being the problem.

    -- C:\CCStudio_v3.1 : C:\CCStudio_v3.1_original -- includes differing files
    .\cc\bin\cc_app.ini different (C:\CCStudio_v3.1 is more recent)
    .\cc\bin\cc_setup.ini different (C:\CCStudio_v3.1 is more recent)
    .\cc\bin\ccsws.tmp different (C:\CCStudio_v3.1 is more recent)
    .\cc\bin\default.wks different (C:\CCStudio_v3.1 is more recent)
    .\cc\gel\dsk6713.gel different (C:\CCStudio_v3.1_original is more recent)
    .\docs\hlp\cc_c67xw.gid different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\readme_arm7s.htm different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\readme_c672x.htm different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\readmeomap2420.htm different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\sd_emu_releasenotes.html different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c5416dsk.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c5510dsk.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c6416dsk_11.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c6713dsk.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\ezdsp28xxusb.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\port510_pid1_xds510usblog.txt different (C:\CCStudio_v3.1 is more recent)
    .\drivers\sdgo24x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo24xezdsp.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo24xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo2812ezdsp.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo28x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo28xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo28xxezdspusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo5416dsk.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo54xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo5510dsk.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo55xx.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo55xxusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo5xx.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6400_11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6400usb_11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6416dsk_11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6713dsk.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo672x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo672xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm11usb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm7.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm7usb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm9.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm9usb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdxds510usb.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\c672x_pp_emulator_0x378.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\c672x_xds510usb.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs5500_xds510usb.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs6000_xds510usb.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk5416.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk5510.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk6416_11.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk6713.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsarm_ppemulator.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsarm_xds510usb.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsc5500_ppemulator.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsc6000_ppemulator.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ezdspf2401a.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ezdspf2407a.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\omap2420_arm11_xds510usb.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\userconfig.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\targetdb\drivers\sdgoarm11.xml different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\targetdb\drivers\sdgoarm11usb.xml different (C:\CCStudio_v3.1_original is more recent)
    -- 62 files listed

  • Hmm, very interesting. 

    You're using a 6713 and a SD USB510, so I'll try to highlight  all of the files that might be relevant.  The ones highlighted in yellow are what I feel are most likely the culprits.  These are binaries.   You might check to see what their revisions are.  Chances are, some of them work together, and you'll want to keep the ones with the same revision numbers together.

    The ones highlighted in green are essentially text files.  I don't think these are related, but it might be interesting to know what the differences are.  It's possible that there are no differences internally, but your comparison tool only noticed that the dates are different.

    You might try just updating the yellow files on the non-working installation and see if it makes a difference.  (Backup the existing ones if necessary.)

     

    Regards,
    Dan

     

    -- C:\CCStudio_v3.1 : C:\CCStudio_v3.1_original -- includes differing files
    .\cc\bin\cc_app.ini different (C:\CCStudio_v3.1 is more recent)
    .\cc\bin\cc_setup.ini different (C:\CCStudio_v3.1 is more recent)

    .\cc\bin\ccsws.tmp different (C:\CCStudio_v3.1 is more recent)
    .\cc\bin\default.wks different (C:\CCStudio_v3.1 is more recent)
    .\cc\gel\dsk6713.gel different (C:\CCStudio_v3.1_original is more recent)
    .\docs\hlp\cc_c67xw.gid different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\readme_arm7s.htm different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\readme_c672x.htm different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\readmeomap2420.htm different (C:\CCStudio_v3.1_original is more recent)
    .\docs\releasenotes\sd_emu_releasenotes.html different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c5416dsk.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c5510dsk.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c6416dsk_11.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\c6713dsk.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\ezdsp28xxusb.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\port510_pid1_xds510usblog.txt different (C:\CCStudio_v3.1 is more recent)
    .\drivers\sdgo24x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo24xezdsp.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo24xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo2812ezdsp.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo28x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo28xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo28xxezdspusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo5416dsk.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo54xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo5510dsk.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo55xx.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo55xxusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo5xx.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6400_11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6400usb_11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6416dsk_11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6713dsk.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo672x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo672xusb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6x.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgo6xusb.dvr different (C:\CCStudio_v3.1_original is more recent)

    .\drivers\sdgoarm11.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm11usb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm7.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm7usb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm9.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdgoarm9usb.dvr different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\sdxds510usb.exe different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\c672x_pp_emulator_0x378.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\c672x_xds510usb.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs5500_xds510usb.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs6000_xds510usb.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk5416.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk5510.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk6416_11.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccs_dsk6713.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsarm_ppemulator.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsarm_xds510usb.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsc5500_ppemulator.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ccsc6000_ppemulator.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ezdspf2401a.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\ezdspf2407a.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\omap2420_arm11_xds510usb.ccs different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\import\userconfig.txt different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\targetdb\drivers\sdgoarm11.xml different (C:\CCStudio_v3.1_original is more recent)
    .\drivers\targetdb\drivers\sdgoarm11usb.xml different (C:\CCStudio_v3.1_original is more recent)

  • Dan

    I tried replacing the files in yellow and it broke the system. I could not connect to the emulator pod.  I ended up just replacing the /bin and /drivers folders to get the system working.  I am happy with that fix for now.  The older installs are the ones that are working.  The Laptops that I have configure just a couple of months ago are the ones having trouble.  I'll stck with the older install and call this problem fixed. Thanks for you sggestions.

    Mike