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.

CCSv5 Debug of EVM6472

I just got CCSv5 installed on my CentOS 4 box, and successfully ported over one of my test builds for the EVM6472. When I go to debug though, it appears to see the XDS100 emulator, but it is always disconnected from all the cores and it never loads code. I have searched the forums and wiki, but have not come across anything to help.

 

 

  • Does clicking on the connect button generate an error message?

     

    john

  • When I debug, in the Debug pane I see:

    Bios6_lin_test[Code Composer Studio - Device Debugging]

    Texas Instruments XDS100V2 USB Emulator_0/C64XP_A (Disconnected : Unknown)

    Texas Instruments XDS100V2 USB Emulator_0/C64XP_B (Disconnected : Unknown)

    Texas Instruments XDS100V2 USB Emulator_0/C64XP_C (Disconnected : Unknown)

    Texas Instruments XDS100V2 USB Emulator_0/C64XP_D (Disconnected : Unknown)

    Texas Instruments XDS100V2 USB Emulator_0/C64XP_E (Disconnected : Unknown)

    Texas Instruments XDS100V2 USB Emulator_0/C64XP_F (Disconnected : Unknown)

     

    When I click on Run->Connect Target, CCS crashes and I get the following Error Message:

    flxInitLoad: client has not been protected.
    #
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    #  SIGSEGV (0xb) at pc=0xc3a5a79d, pid=30925, tid=3234855840
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_14-b03 mixed mode)
    # Problematic frame:
    # C  [libjscserdes.so+0x2979d]  ProcessBulkInData+0x131
    #
    # An error report file with more information is saved as hs_err_pid30925.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #

  • Which CCSv5 version are you using? Could you also send hs_err_pid .log file mentioned in above crash log? 

    Martin

     

  • Code Composer Studio

     Version: N201008182000

    8078.hs_err_pid30925.log

  • Could you provide the output of running "cat /proc/version" from a shell?

    Older kernels use a different way to manage permissions on the USB ports. This older way of configuring the PC isn't automatically supported by the CCS installer. If your kernel version uses this method, you can add the following line to your /etc/fstab file and reboot:

    none /proc/bus/usb usbdevfs defaults,devmode=0666 0 0

  • $ cat /proc/version
    Linux version 2.6.9-89.0.20.ELsmp (mockbuild@builder10.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Tue Feb 2 18:29:05 EST 2010

    $ cat /etc/fstab
    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    /dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
    LABEL=/boot             /boot                   ext3    defaults        1 2
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    none                    /dev/shm                tmpfs   defaults        0 0
    none                    /proc                   proc    defaults        0 0
    none                    /sys                    sysfs   defaults        0 0
    /dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
    /dev/scd0               /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

  • I believe your kernel uses the fstab way to manage USB port permissions. Please add the line above, reboot, and retry ...

  • I still have the same issue

    0412.hs_err_pid7999.log

    Output from mount:

    # mount
    /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
    none on /proc type proc (rw)
    none on /sys type sysfs (rw)
    none on /dev/pts type devpts (rw,gid=5,mode=620)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/sda1 on /boot type ext3 (rw)
    none on /dev/shm type tmpfs (rw)
    none on /proc/bus/usb type usbdevfs (rw,devmode=0666)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

  • I have also just tried deleting  the ~/.TI directory and tried again. Still no luck.

  • CCS appears to be crashing somewhere in the USB communications stack.  I'm not sure what else will help here. There could be compatibility issues with using this older distro.