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.

Uniflash and CCS don't recognize CC3200 after baud adjustment in device manager

Other Parts Discussed in Thread: UNIFLASH, CC3200

Hello,

After receiving my CC3200 MCU, I successfully loaded the HTTP Server example and also one or two others. Such process involved successfully flashing to the device through Uniflash and also writing to the board from CCS. I was also using TeraTerm to view the serial messages as well. 

After poking around in the device manager properties for the communication port, I changed the bits per second from 9600 to 115200 (because that is what TeraTerm always needed to be switched to when viewing the terminal).

I unfortunately think that this blind tinkering in the settings bricked my device. Ever since the settings change, I can not get Uniflash or CCS to successfully connect to the device. 

The com port still identifies it as a FDTI device. 

I get the following error in Uniflash when trying to program or format it..

INFO: setting break signal
INFO: --- please restart the device ---
ERROR: ---reading ACK signal failed---

I have verified that the SOP2 jumper is in. 

Is there anything else that I can do to get response from the board?

Thanks, 

Logan

  • Hi Logan,

    If you change the Baud Rate back to 115200, does the error still happen? Are you sure that the COM Port for your CC3200 Launchpad is COM1?

    - kel
  • The attached picture was just a screen shot without the device plugged in. I verified that I was trying to write to the correct port when troubleshooting.

    Also, I tried it back on 115200, as well as restoring back to default settings on the comm port. Both of which threw the same error.

    EDIT: Some info that i forgot to include.. In the board setup instructions, it states that Red LED D7 should blink slowly 3 times then turn off, the board no longer does that. 

    Thanks,
    Logan

  • Logan,

    I did the same experiment on my side but could not reproduce. I even chaged to HW flow control instead of none and it works.

    The Uniflash driver ignores the settings and opens the COM port with the required settings so I cannot see how it can happen.

    Are you sure the right COM port is used, SOP2 is connected and no other application (e.g. terminal emulator) grabbes the port?

    Shlomi

  • Below is the setup I just tried to connect to the board with, with the debug console response.

    This is what the debug console reads after error.

    [10:23:31] Begin GetVersion operation.
    [10:23:32] INFO: > Executing Operation: Connect
    [10:23:32] DEBUG: waiting and clearing uart rx buffer
    [10:23:34] INFO: setting break signal
    [10:23:34] DEBUG: wait for ack
    [10:23:35] DEBUG: UART timeout
    [10:23:35] DEBUG: --- COM Port timeout on ACK read
    [10:23:35] INFO: detecting FTDI for device reset
    [10:23:35] DEBUG: got 2 devices connected
    [10:23:35] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [10:23:35] DEBUG: Device 1: , SN:
    [10:23:35] DEBUG: Openning FTDI device to toggle nHib
    [10:23:35] DEBUG: asserting nHib
    [10:23:35] DEBUG: de-asserting nHib
    [10:23:35] DEBUG: wait for ack
    [10:23:50] DEBUG: UART timeout
    [10:23:50] DEBUG: --- COM Port timeout on ACK read
    [10:23:50] ERROR: ---reading ACK signal failed---
    [10:23:50] DEBUG: disconnecting from device . . .
    [10:23:51] WARNING: ---seting break signal to false failed---
    [10:23:51] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
    [10:23:51] DEBUG: waiting and clearing uart rx buffer
    [10:23:53] INFO: setting break signal
    [10:23:53] DEBUG: wait for ack
    [10:23:54] DEBUG: UART timeout
    [10:23:54] DEBUG: --- COM Port timeout on ACK read
    [10:23:54] INFO: detecting FTDI for device reset
    [10:23:54] DEBUG: got 2 devices connected
    [10:23:54] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [10:23:54] DEBUG: Device 1: , SN:
    [10:23:54] DEBUG: Openning FTDI device to toggle nHib
    [10:23:54] DEBUG: asserting nHib
    [10:23:54] DEBUG: de-asserting nHib
    [10:23:54] DEBUG: wait for ack
    [10:24:09] DEBUG: UART timeout
    [10:24:09] DEBUG: --- COM Port timeout on ACK read
    [10:24:09] ERROR: ---reading ACK signal failed---
    [10:24:09] DEBUG: disconnecting from device . . .
    [10:24:09] WARNING: ---seting break signal to false failed---
    [10:24:09] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
    [10:24:09] DEBUG: waiting and clearing uart rx buffer
    [10:24:11] INFO: setting break signal
    [10:24:11] DEBUG: wait for ack
    [10:24:12] DEBUG: UART timeout
    [10:24:12] DEBUG: --- COM Port timeout on ACK read
    [10:24:12] INFO: detecting FTDI for device reset
    [10:24:12] DEBUG: got 2 devices connected
    [10:24:12] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [10:24:12] DEBUG: Device 1: , SN:
    [10:24:12] DEBUG: Openning FTDI device to toggle nHib
    [10:24:12] DEBUG: asserting nHib
    [10:24:12] DEBUG: de-asserting nHib
    [10:24:13] DEBUG: wait for ack
    [10:24:28] DEBUG: UART timeout
    [10:24:28] DEBUG: --- COM Port timeout on ACK read
    [10:24:28] ERROR: ---reading ACK signal failed---
    [10:24:28] DEBUG: disconnecting from device . . .
    [10:24:28] WARNING: ---seting break signal to false failed---
    [10:24:28] DEBUG: --- Connection failed trying to reconnect... (3 attempt)
    [10:24:28] DEBUG: waiting and clearing uart rx buffer
    [10:24:30] INFO: setting break signal
    [10:24:30] DEBUG: wait for ack
    [10:24:31] DEBUG: UART timeout
    [10:24:31] DEBUG: --- COM Port timeout on ACK read
    [10:24:31] INFO: detecting FTDI for device reset
    [10:24:31] DEBUG: got 2 devices connected
    [10:24:31] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [10:24:31] DEBUG: Device 1: , SN:
    [10:24:31] DEBUG: Openning FTDI device to toggle nHib
    [10:24:31] DEBUG: asserting nHib
    [10:24:31] DEBUG: de-asserting nHib
    [10:24:31] DEBUG: wait for ack
    [10:24:46] DEBUG: UART timeout
    [10:24:46] DEBUG: --- COM Port timeout on ACK read
    [10:24:46] ERROR: ---reading ACK signal failed---
    [10:24:46] DEBUG: disconnecting from device . . .
    [10:24:46] WARNING: ---seting break signal to false failed---
    [10:24:46] DEBUG: --- Connection failed trying to reconnect... (4 attempt)
    [10:24:46] FATAL: --- Can't connect to device !! ---
    [10:25:23] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
    [10:25:23] INFO: > Executing Operation: Disconnect
    [10:25:23] DEBUG: disconnecting from device . . .
    [10:25:23] Operation GetVersion returned.

    I could just be doing something blatantly obvious wrong. However, I had confirmed that the right comm port was selected and that the SOP2 jumper was placed. 

    Thanks, 

    Logan

  • Hi,

    One more thing. Although the reset should be done automatically, it has been observed that sometimes it is not successful. Can you make sure it behaves the same when trying to reset manually when the following messages appear?

    DEBUG: de-asserting nHib
    DEBUG: wait for ack

    Additionally, it may be that the board got broken for some reason (not by changing the baud rate on device manager - something else). Can you please verify by:

    • Have you probed power levels?
      • Voltage on VDD_ANA1 should be around 1.9V
      • Voltage on VDD_DIG1 should be around 1.2V
      • Voltage on VDD_ANA2 should be around 3.3V
    • Lastly, it is best to test whether it is possible to work with the device in debug mode, via JTAG lines (and not UART lines). Please open any project from the SDK that involves interaction with the device (i.e. includes the sl_start() API) using your chosen IDS (CCS, IAR, GDB, other). Compile the project, load it into the device and get to the sl_start() API. Execute this line. Can you work in debug?

    Regards,

    Shlomi

  • Hi,

    Any update on the post?

    Shlomi

  • I'm also having exact same problem ... Would really appreciate if someone can share how to resolve it
  • I have had to unfortunately table the troubleshooting over the past few weeks, but will be getting back into troubleshooting it next week.

    Thank you for the suggestions, I will let you know the results following the probe tests. i'm afraid I may have trouble testing your last suggestion, since connecting and loading to the device seems to be my problem.

    Thanks,
    Logan
  • Hi Logan,

    Any update on the post? Can you follow my instructions?

    Shlomi

  • Hi,

    I am closing the thread, if issue still exist please open a new thread and add a link to this one for reference.

    Shlomi

  • Hi,
    when i am trying to flash my cc3200 board by using uniflash ,I am getting errors like below. my board version is rev4.1

    [11:50:24] Begin Format operation.
    [11:50:24] INFO: > Executing Operation: Connect
    [11:50:24] DEBUG: Time-out 15

    [11:50:24] ERROR: open: No such file or directory
    [11:50:24] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
    [11:50:24] DEBUG: Time-out 15

    [11:50:24] ERROR: open: No such file or directory
    [11:50:24] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
    [11:50:24] DEBUG: Time-out 15

    [11:50:24] ERROR: open: No such file or directory
    [11:50:24] DEBUG: --- Connection failed trying to reconnect... (3 attempt)
    [11:50:24] DEBUG: Time-out 15

    [11:50:24] ERROR: open: No such file or directory
    [11:50:24] DEBUG: --- Connection failed trying to reconnect... (4 attempt)
    [11:50:24] FATAL: --- Can't connect to device !! ---
    [11:50:37] FATAL: Error connecting to the device. Please check your COM port settings. Error code: 1
    [11:50:37] INFO: > Executing Operation: Disconnect
    [11:50:37] DEBUG: disconnecting from device . . .
    [11:50:37] Operation Format returned.


    please help me what is the problem

    I am tried by using ccs debug mode also it is not worked for me.
    Is there any problem in my board?

    Thanks in Advance

    Regards
    Ashok
  • Hi Ashok,

    There is a parallel thread by you here https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/p/404465/2261563#2261563. Please use the other thread for followup.

    Regards,

    Shlomi