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.

UART COM port timeout - CCS uniflash error

Other Parts Discussed in Thread: UNIFLASH, CC3200, CC3100

Uniflash is throwing up an error when I try to apply a service pack bundle on a CC3200. 

[17:09:01] Begin ServicePackProgramming operation.
[17:09:02] INFO: > Executing Operation: Connect
[17:09:02] DEBUG: waiting and clearing uart rx buffer
[17:09:04] INFO: setting break signal
[17:09:04] INFO: --- please restart the device ---
[17:09:04] DEBUG: wait for ack
[17:09:19] DEBUG: UART timeout
[17:09:19] DEBUG: --- COM Port timeout on ACK read
[17:09:19] ERROR: ---reading ACK signal failed---
[17:09:19] DEBUG: disconnecting from device . . .
[17:09:19] WARNING: ---seting break signal to false failed---
[17:09:19] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
[17:09:20] DEBUG: waiting and clearing uart rx buffer
[17:09:22] INFO: setting break signal
[17:09:22] INFO: --- please restart the device ---
[17:09:22] DEBUG: wait for ack
[17:09:33] Cancelling current process <ServicePackProgramming>, please wait...
[17:09:37] DEBUG: UART timeout
[17:09:37] DEBUG: --- COM Port timeout on ACK read
[17:09:37] ERROR: ---reading ACK signal failed---
[17:09:37] DEBUG: disconnecting from device . . .
[17:09:37] WARNING: ---seting break signal to false failed---
[17:09:37] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
[17:09:37] DEBUG: waiting and clearing uart rx buffer
[17:09:39] INFO: setting break signal
[17:09:39] INFO: --- please restart the device ---
[17:09:39] INFO: Cancel button pressed
[17:09:39] DEBUG: disconnecting from device . . .
[17:09:39] WARNING: ---seting break signal to false failed---
[17:09:39] FATAL: --- Can't connect to device !! ---
[17:09:40] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -2
[17:09:40] INFO: > Executing Operation: Disconnect
[17:09:40] DEBUG: disconnecting from device . . .
[17:09:40] Operation Canceled: Process<ServicePackProgramming> canceled.
[17:13:58] Begin ServicePackProgramming operation.
[17:13:59] Cancelling current process <ServicePackProgramming>, please wait...
[17:13:59] INFO: > Executing Operation: Connect
[17:13:59] DEBUG: waiting and clearing uart rx buffer
[17:14:01] INFO: setting break signal
[17:14:01] INFO: --- please restart the device ---
[17:14:01] INFO: Cancel button pressed
[17:14:01] DEBUG: disconnecting from device . . .
[17:14:02] WARNING: ---seting break signal to false failed---
[17:14:02] FATAL: --- Can't connect to device !! ---
[17:14:03] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -2
[17:14:03] INFO: > Executing Operation: Disconnect
[17:14:03] DEBUG: disconnecting from device . . .
[17:14:03] Operation Canceled: Process<ServicePackProgramming> canceled.
[17:14:13] Begin ServicePackProgramming operation.
[17:14:14] INFO: > Executing Operation: Connect
[17:14:14] DEBUG: waiting and clearing uart rx buffer
[17:14:16] INFO: setting break signal
[17:14:16] INFO: --- please restart the device ---
[17:14:16] DEBUG: wait for ack
[17:14:22] INFO: connection succeeded
[17:14:22] INFO: getting storage list
[17:14:22] DEBUG: wait for ack
[17:14:22] INFO: > Executing Operation: ServicePackProgramming
[17:14:22] INFO: Path to the service pack file: C:/ti/CC31xx_CC32xx_ServicePack_1.0.0.1.2/servicepack_1.0.0.1.2.bin
[17:14:22] INFO: reading version info
[17:14:22] DEBUG: wait for ack
[17:14:37] DEBUG: UART timeout
[17:14:37] DEBUG: --- COM Port timeout on ACK read
[17:14:37] ERROR: No ACK
[17:14:52] DEBUG: UART timeout
[17:15:07] DEBUG: UART timeout
[17:15:07] ERROR: Error, version response should be 28 bytes, device is sending 0
[17:15:22] DEBUG: UART timeout
[17:15:22] INFO: CC3100R Device detected.
[17:15:22] INFO: NWP/MAC/PHY Version from Service Pack:
[17:15:22] INFO: NWP Patch version: 2.2.0.1
[17:15:22] INFO: MAC Patch version: 1.2.0.2
[17:15:22] INFO: PHY Patch version: 1.0.3.23
[17:15:22] INFO: reading version info
[17:15:22] DEBUG: wait for ack
[17:15:37] DEBUG: UART timeout
[17:15:37] DEBUG: --- COM Port timeout on ACK read
[17:15:37] ERROR: No ACK
[17:15:52] DEBUG: UART timeout
[17:16:07] DEBUG: UART timeout
[17:16:07] ERROR: Error, version response should be 28 bytes, device is sending 0
[17:16:22] DEBUG: UART timeout
[17:16:22] INFO: DEVICE CC3100 ES1.21
[17:16:22] INFO: reading version info
[17:16:22] DEBUG: wait for ack
[17:16:37] DEBUG: UART timeout
[17:16:37] DEBUG: --- COM Port timeout on ACK read
[17:16:37] ERROR: No ACK
[17:16:52] DEBUG: UART timeout
[17:17:07] DEBUG: UART timeout
[17:17:07] ERROR: Error, version response should be 28 bytes, device is sending 0
[17:17:22] DEBUG: UART timeout
[17:17:22] ERROR: FAUpdateNwpBootloader failed - version info is incorrect
[17:17:22] FATAL: Error loading the bootloader. Error code: -3
[17:17:22] INFO: Downloading file "/sys/servicepack.ucf" with size 6100
[17:17:22] DEBUG: sending start download command
[17:17:22] DEBUG: Granularity conversion: G(1024) * N(128) = 131072
[17:17:22] DEBUG: Access code is 3
[17:17:22] DEBUG: wait for ack/nack
[17:17:37] DEBUG: UART timeout
[17:17:37] DEBUG: --- received unexpected data!!!!!
[17:17:37] INFO: > Executing Operation: Disconnect
[17:17:37] DEBUG: disconnecting from device . . .
[17:17:37] DEBUG: wait for ack
[17:17:52] DEBUG: UART timeout
[17:17:52] DEBUG: --- COM Port timeout on ACK read
[17:17:52] Operation ServicePackProgramming returned.

Voltages that I am reading on 

Pin 9   : 1.21 V
Pin 48 : 1.76 V
Pin 47 : 3.27 V

Why am I getting those weird errors?

This board was working just fine before this. 

SOP2 is plugged to VCC. The UART pins are also fixed right. 

  • Hi,

    You are experiencing UART issues, not only for ServicePack but probably for all other operations as well.

    You mentioned it worked before. Can you recreate what led to this situation?

    Also, please clarify the current status:

    1) is it TI evaluation board or did you do a custom board? If it is custom board, please describe what you did

    2) does the board work in debug mode via JTAG? Can you download any example from SDK using CCS and pass through the sl_start API

    3) make sure SOP2 is connected while trying to program

    4) make sure no other application grabs the port, e.g. Terminal

    5) is it possible to try on a different PC? Replacing the USB cable?

    Shlomi

  • What are the ranges that these voltages can be in?

    I am reading 1.21V for Pin No. 9 and 1.56 for Pin No. 48. However, a little while back with no other changes except keeping it powered on it was reading 1.56V for Pin No. 9 and 1.68V for Pin No. 48. Board is not working though (custom board). Others were also having similar problems and in the end start giving the right voltages and start working. Seems kinda random. Although this question sounds retarded, is there a minimum period that the 3200 needs to be on for it to start working.

    What could be the issue with this? Also is there a look up which could tell us what these different voltages mean?

  • We've a built a custom board. On this board we are connecting Rx and Tx using wires to the CC3200 launchpad. We are powering the board using the launchpad.

    We have connected : Reset (which we brought out for resetting the 3200); Tx; Rx (to J6 and J5); Vcc; GND and SOP2 (to Vcc of launchpad)

    We dont have JTAG available to check on this board. We tried it on a different PC and it started working. And it stopped again after a while. No other terminal program is connected.

    SOP2 is connected. 

    We tried it on 2 different PCs and with different USB cables and in both cases we are getting same error.

    I'm not sure why this stopped working but even after it stopped working we were able to program it once or twice and we can't figure out what possibly is wrong.

  • The voltage on pin 48 should have read close to 1.8V. Reading 1.56V signifies some problem.
    Can you confirm if the inductors used on your board are the same current ratings as on the TI launchpad?
    Is the device over-heating?
  • The inductors are rated for a lower current rating than the launchpad BOM recommended values. 2.2 uH is rated for 600mA and 1uH is rated for 800mA. Is this the issue then?


    Would you recommend getting higher current rating than the BOM specifies (to be on the safer side) or are these numbers fine?

    The device is not over heating at all though. Also, I am powering it from a LiPo single cell of 3.7V. Although it is still in the safe range of voltages, what would you recommend I keep my voltages to?

    A general LiPo when fully charged is 4.2V and when fully discharged is 3V. And the CC3200 datasheet specifies that I can have a battery voltage from 2.1V to 3.8V. So, it is the >3.8V part of a LiPo that bothers me.