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/AWR1642BOOST: AWR1642BOOST

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Linux

Hi,

I'm running Mac OS X with a virtual box ubuntu 14.04 and I am not able to reach the USB inside my guest account. I am using Uniflash and I get an error:

"Initial response from the device was not received. Please power cycle device before re-flashing."

I could see my usb devices at /dev/ttyACM0 and /dev/ttyACM1 and I use /dev/ttyACM0 on the Uniflash GUI but it always gives me the same error. I have not found a similar issue online. Are there any known issues? I've already checked and re-checked all the steps outlined on the mmwave sdk guide. Also, the jumpers are in the correct position. Any help please?

Jerry

  • Jerry,

    If you have the AWR1642BOOST SOP is setup as mentioned in the user guide everything should work.

    Please also look at the Uniflash User Guide  also to see if anything is missed out.

    On the Uniflash, do not use AutoConnection/ Detect My device feature. Manually select the device and perform the flashing operation.

    Thanks,

    Raghu  

  • Hi Raghu,

    Thanks for the response. I have read and double checked the Uniflash User Guide as well as the mmWave SDK guide and I don't I am missing any steps. Has this configuration been tested or tried before? I am running macOS Sierra 10.12.6 as the host machine (where my usb is connected to the AWR1642BOOST board) and I am running virtual box to run Ubuntu 16.04 desktop version on the guest OS. I could see the USB devices in the guest account as this:

    jerry@jerry-VirtualBox:/dev/serial/by-id$ ls -la
    total 0
    drwxr-xr-x 2 root root 80 Oct 24 16:13 .
    drwxr-xr-x 4 root root 80 Oct 24 16:13 ..
    lrwxrwxrwx 1 root root 13 Oct 24 16:13 usb-Texas_Instruments_XDS110__02.03.00.07__Embed_with_CMSIS-DAP_R0041027-if00 -> ../../ttyACM0
    lrwxrwxrwx 1 root root 13 Oct 24 16:13 usb-Texas_Instruments_XDS110__02.03.00.07__Embed_with_CMSIS-DAP_R0041027-if03 -> ../../ttyACM1
    jerry@jerry-VirtualBox:/dev/serial/by-id$ lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 005: ID 0451:bef3 Texas Instruments, Inc.
    Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    jerry@jerry-VirtualBox:/dev/serial/by-id$


    I am using /dev/ttyACM0 in Uniflash and I get the following error from the Uniflash console:

    "Initial response from the device was not received. Please power cycle device before re-flashing."

    Should the XDS110 driver be installed on host and guest machines? Or just on the guest? I've tried both options and this doesn't fix the issue. I also made sure I added my username to the tty and dial out groups.

    I hope you all can help. Thanks again,

    Jerry
  • Jerry,
    Uniflash is validated on Linux and Windows machines but may not have been validated on the setup like you are trying with MAC+Ubuntu VM.
    I may need to get hold of a MAC system and try it myself to get you the answer.

    -Raghu
  • Not sure if it might be relevant, but is it possible that the Linux user account being used is not part of the “dialout” group and thus does not have permission to access the serial ports? Here is some additional info (copied from another doc):

    Your user account must be a member of the “dialout” unix group in order to have access to the serial ports on Linux. To check if you are a member of this group run the “groups” command. If you are already a member of the “dialout” group the output should list “dialout” (in addition to other groups). If you are not a member of the “dialout” group, run the following command to add your user account to that group and then logout and login to Linux to make the change take effect:
    $ sudo adduser <your_username> dialout
    After executing this command please logout and login to Linux so the change will take effect.

    Regards,
    John
  •  Hi John, I already added my user name to the dialout group. I just tried it with Windows 10 and the device is recognized in the device manager but Uniflash tool still is not able to connect. See photos.

    Thanks!

  • I tried it on Windows 10 using parallels on my Mac and I get the same result.
  • Hi John,

    So I tried connecting to the AWR1642Boost EVM using Virtualbox (Mac OS Host, Ubuntu Guest), I tried using parallels (Mac OS host, Windows 10 guest), I tried using dual boot with bootcamp (Windows 10) and finally, I tried with a standalone windows 7 and the issue persists. In all cases the OS identifies the two ports but Uniflash is not able to connect with the same issue.

    I saw that there was another issue reported similar: "AWR1642BOOST: Unable to flash the .bin file to AWR1642BOOST EVM using UNIFLASH"

    The posts says it is solved but I don't see the documentation of how it was fixed. Please help.

    Thanks,
    Jerry
  • Jerry,

    The COM ports seem to be enumerated right.

    On the AWR1642BOOST, do you have the right SOP settings for the flashing operation? 

    For flashing operation , you need place  the  jumpers on SOP0 and SOP2 .

    If you are only having the SOP0 jumper(default) then the device will not enter the flashing mode .

    Thanks,

    Raghu

  • Is this issue resolved ? Please mark the post that helped resolve the issue and close the post.

    Thanks,
    Raghu