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.

linux-c6x: Error connecting to the target

Hi everyone,

  I'm very interested in running a linux on c6678 DSP, so I found an old post to run a linux on EVM6678L board http://linux-c6x.org/wiki/index.php/Linux-c6x_2.0_Release . This release requires a 32-bit ubuntu 10.04, but I only have 64-bit 12.04 installed on my computer, so I used a virtual machine under VMWare workstation 10.0. I prepared the exact software tools according to the release (I used newer version on my 12.04, but it also turned out to be unhelpful). When I program the linux binary to the evm6678l board, the board cannot be connected, the error message is as follows:

flxInitLoad: client has not been protected.
flxInitLoad: client has not been protected.
SEVERE: IcePick_D: Error connecting to the target: (Error -151) @ 0 (0x0)

SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred

I can recognize the emulator in VMWare, and I can also connected the board in host OS (12.04) with CCS(ccs5.4), but I cannot connect it in the virtual OS 10.04 even using CCS (ccs5.0.3). 

Does anyone know what the reason to cause the error? Or do you know about an alternate option to run linux on the DSP, any links or docs would help a lot?

Thank you very much!

Jie

  • Hi, Jie,

    Could you use CCS to see if you can connect to C6678 EVM? If you are able to connect using CCS, you should be able to program it. I assume you followed the User's Guide and have the dip switch set to noboot mode, both environment variables were defined, and executed "./bootblob all" to create the initramfs file pointed by nand.bin in the binaries directory. My [$DSS_SCRIPT_DIR/dss.sh program_evm.js TMDXEVM6678LE "nand.bin"] command programs without any issue using CCS 5.0.3 on Ubuntu 10.04. I'll try CCS 5.4 on different Ubuntu version and see how they go.

    Rex

  • Sorry, my CCS on 10.04 is 5.3.0.90. I'll try 5.0.3 and 5.4 on different versions of Ubuntu, and update the results later.

  • Hi Rex,

      Thanks for helping.

      I can connect the EVM using CCS 5.4 under ubuntu 12.04. The fact is that I used a virtual OS ubuntu 10.04, I think that might be the problem of not connecting. I've installed a dual boot ubuntu 10.04 with my 12.04, but I got some problems of the connect 10.04 to internet, once I solve it I'll try to connect the EVM using CCS 5.0.3.

      I did exactly what the user's guide tells me to do, when I execute './bootblob all' do I need to connect the EVM by the way? Because I executed ./bootblob all without connecting the EVM. Another thing is that I could not connect the EVM using CCS 5.0.3 under that virtual ubuntu 10.04 either.

    Thanks,

    Jie

  • HI, Jie,

    You don't need to connect to EVM when running bootblob. I need to install CCS 5.4 on my 12.04 ubuntu, and see if that works. I also need to install 5.0.3.

    Rex

  • Hi, Jie,

    You should be able to install CCS 5.0.3 on your 12.04 Ubuntu and program the EVM. I have a 12.04 Ubuntu 32-bit machine, and am able to program C6678 using CCS 5.0.3. You may want to install 32-bit library on your 64-bit Ubuntu machine to run the CCS installer.

    Rex

  • Hi Rex,

      Thanks you. But I'll need 10.04 to build the linux image for c6678, and I've tried but I could not do it on 12.04. So right now I've built a 10.04 dual boot OS but only with some minor problems. Since 5.0.3 could run for c6678, I think it should also run in 10.04.

      Thank you so much.

    Jie