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.

setup script stopps with an error!

I have processor-sd-linux installed and i execute:

setup.sh

The script runs some steps successfully and then stops at:

Board could not be detected. Please connect the board to the PC.
Press any key to try checking again.

I have already connected JTAG, Ethernet cable and a serial connector by which I can see Linux prompt. What should i do for the problem? Thank you very much for the answers

  • The setup.sh  calls the scripts located in the bin folder. The error you see comes from setup-uboot-evn.sh:

       while [ yes ]

       do

           check_for_board

           if [ "$board" = "k2evm" ]

           then

               break

           else

               echo ""

               echo "Board could not be detected. Please connect the board to the PC."

               read -p "Press any key to try checking again." temp

           fi

       done

    The check_for_board function executes:

        lsusb -vv -d 0403:6010 > /dev/null 2>&1

    or

        lsusb -vv -d 10c4:ea70 > /dev/null 2>&1

    Depending on the board type (k2hk-evm or "k2l-evm"|"k2e-evm"). This doesn't mean that your sdk is not setup correctly. It simply means that your board is not detected by the host pc in the last step (setup-uboot-evn.sh).

    You can check how to use the setup.sh script here:

       

    Best Regards, 
    Yordan

  • Hi ali hagigat,
    Please make sure that you didn't set boot mode to "No boot" mode.
    Set boot mode to SPI or NAND which has the u-boot on flash.
  • Thank you very much for the reply however EVM is connected to PC by 3 cables! They are not enough?
    JTAG, Ethernet, a serial cable
    I am loading some simple DSP applications to EVM by JTAG cable now(micro USB connector to a USB port in host machine). the serial connects the white serial connector to one serial port on a host machine.
    Why we need a USB?!! What is this USB?
  • Hi,

    Could you specify which board, are you using? lsusb actually detects the serial connection.
    Also did you take into account the reply from Shankari?

    Best Regards,
    Yordan