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.

RE: CCS/TMDSEMU110-U: CCSv9.3 segmentation fault (segfault) Ubuntu 19.10



[Continuation from the previous discussion at: https://e2e.ti.com/support/tools/ccs/f/81/t/885473 ]

Update:

The "verify" button test passed as shown in previous post. The problem has shifted to CCS crashing when attempting to load software to the board.

The software was tested/developed and loaded previously with Windows 7, and we have since then switched to Ubuntu 19.10 The program is a simple UART loopback. I am using putty to see the serial information.

Getting a Segmentation fault (core dumped)
The dmp file is too large to open to investigate further.

  • Hi,

    Paul Lane said:

    Good news, I was able to get CCS working on a windows 10 vm, and upload and benchmark some code. But I would be very much interested to be able to run CCS on linux effectively as we are running linux natively with a windows 10 vm. The current issue with Ubuntu being that ccs is crashing during upload to board.

    Thanks for reporting further developments. In general, Linux as a guest OS does not work well with the "soft" Debug Probes XDS100, XDS110, XDS510. However, if I understood correctly your environment is quite the opposite: Windows 10 as a guest OS (which is known to work well) and Linux as a host (which should work without reservations). 

    I will upgrade one of my native hosts here with Ubuntu 19.10 to see if I find anything intrinsically bad (I was doing all my Ubuntu 19.10 tests with a VMWare). 

    I will report back my findings. 

    Regards,

    Rafael

  • desouza said:
    if I understood correctly your environment is quite the opposite: Windows 10 as a guest OS (which is known to work well) and Linux as a host (which should work without reservations). 

    That is correct, Ubuntu 19.10 Host, with Windows 10 VM.

    I will add that I solved an issue that come up with the Windows 10 VM that might be worth noting in documentation somewhere. I was unable to see the USB devices in the VM settings and followed this link to solve the problem.

    https://stackoverflow.com/questions/20021300/how-to-recognize-usb-devices-in-virtualbox-running-on-a-linux-host

    Thank you,

  • Hi,

    Thanks for the report on Windows 10 on VM environments. Despite the popularity of VMs is increasing, we haven't yet had the resources to thoroughly validate the use of CCS under this scenario, relying mostly on reports from developers like you. 

    I will try to report the functionality on our "VMware with CCS" page at https://processors.wiki.ti.com/index.php/VMware_with_CCS  

    A similar scenario with STS releases of Ubuntu: we usually thoroughly support CCS with LTS releases only. 

    Regards,

    Rafael

  • Hi,

    Unfortunately I couldn't reproduce the segfault on the native machine. 

    At this point I will have to keep an eye on other developers' reports and see if there is a way to reproduce this here. 

    I added the information you provided to the wiki page I sent before. Thank you! 

    Regards,

    Rafael