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.

Reset - Ack Error in CC3200 LaunchPad while format or flash or programming

Other Parts Discussed in Thread: ENERGIA, UNIFLASH, CC3200, CC3200-LAUNCHXL

I have Following Error,

[13:58:46] Begin Format operation.
[13:58:47] INFO: > Executing Operation: Connect
[13:58:49] INFO: setting break signal
[13:58:49] INFO: --- please restart the device ---
[13:59:04] ERROR: ---reading ACK signal failed---
[13:59:04] WARNING: ---seting break signal to false failed---
[13:59:06] INFO: setting break signal
[13:59:06] INFO: --- please restart the device ---
[13:59:21] ERROR: ---reading ACK signal failed---
[13:59:21] WARNING: ---seting break signal to false failed---
[13:59:23] INFO: setting break signal
[13:59:24] INFO: --- please restart the device ---
[13:59:39] ERROR: ---reading ACK signal failed---
[13:59:39] WARNING: ---seting break signal to false failed---
[13:59:41] INFO: setting break signal
[13:59:41] INFO: --- please restart the device ---
[13:59:56] ERROR: ---reading ACK signal failed---
[13:59:56] WARNING: ---seting break signal to false failed---
[13:59:56] FATAL: --- Can't connect to device !! ---
[14:00:00] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
[14:00:00] INFO: > Executing Operation: Disconnect
[14:00:00] Operation Format returned.
[14:01:21] Begin Format operation.
[14:01:22] INFO: > Executing Operation: Connect
[14:01:24] INFO: setting break signal
[14:01:24] INFO: --- please restart the device ---
[14:01:39] ERROR: ---reading ACK signal failed---
[14:01:39] WARNING: ---seting break signal to false failed---
[14:01:41] INFO: setting break signal
[14:01:41] INFO: --- please restart the device ---
[14:01:56] ERROR: ---reading ACK signal failed---
[14:01:57] WARNING: ---seting break signal to false failed---
[14:01:59] INFO: setting break signal
[14:01:59] INFO: --- please restart the device ---
[14:02:14] ERROR: ---reading ACK signal failed---
[14:02:14] WARNING: ---seting break signal to false failed---
[14:02:16] INFO: setting break signal
[14:02:16] INFO: --- please restart the device ---
[14:02:31] ERROR: ---reading ACK signal failed---
[14:02:31] WARNING: ---seting break signal to false failed---
[14:02:31] FATAL: --- Can't connect to device !! ---
[14:02:31] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
[14:02:31] INFO: > Executing Operation: Disconnect
[14:02:31] Operation Format returned.

I have tried reset, Format, Jumping etc.  Even solution from Energia.

Even re programmed FTDI.as  http://processors.wiki.ti.com/index.php/CC31xx_%26_CC32xx_FTDI_Flashing. But this error remains. Note the jumpers are also correctly placed.

Other cc3200 boards works fine so my tools CCS/Uniflash are OK.   

My exosite cloud iot V2 was running fine for 2 hrs for testing and i was monitoring the UART messages. The Uart got stuck at  I2C Failed Error. And since then the board has stoped working. The power is fine on reset and board and FTDI. The system even turns on debug LED. But the error remains.

What Does this mean. What shall I do.

I am Student, this is as My Research. Pls help me out. 

Do I need to buy New boards, as i Am trying to make Multiple devices work to gather. If i do not finish i Fail in My Masters degree. I have just 3 weeks to finish. 

I am from India and Sourcing this boards takes 6 weeks. Pls Help me out. Can somehow i get this boards ASAP. Or can some one help me resolve the problem.

Will really appreciate any help i can Get.

Thank You 

  • First, check if inside the program code the "UART_PRINT" or "Report" is called before "UARTInit();". And then, follow these steps:

    Open your Uniflash ----> Window ----> Preferences ----> Uniflash Preferences ----> [Allow] Print out additional debug information for the supported modules.

    Now you will able to know more about error -3. Share the new log.

    Go on guy!

  • The error in Detail



    [17:50:09] Begin Format operation.
    [17:50:11] INFO: > Executing Operation: Connect
    [17:50:11] DEBUG: waiting and clearing uart rx buffer
    [17:50:13] INFO: setting break signal
    [17:50:13] INFO: --- please restart the device ---
    [17:50:13] DEBUG: wait for ack
    [17:50:28] DEBUG: UART timeout
    [17:50:28] DEBUG: --- COM Port timeout on ACK read
    [17:50:28] ERROR: ---reading ACK signal failed---
    [17:50:28] DEBUG: disconnecting from device . . .
    [17:50:28] WARNING: ---seting break signal to false failed---
    [17:50:28] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
    [17:50:28] DEBUG: waiting and clearing uart rx buffer
    [17:50:30] INFO: setting break signal
    [17:50:30] INFO: --- please restart the device ---
    [17:50:30] DEBUG: wait for ack
    [17:50:45] DEBUG: UART timeout
    [17:50:45] DEBUG: --- COM Port timeout on ACK read
    [17:50:45] ERROR: ---reading ACK signal failed---
    [17:50:45] DEBUG: disconnecting from device . . .
    [17:50:45] WARNING: ---seting break signal to false failed---
    [17:50:45] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
    [17:50:45] DEBUG: waiting and clearing uart rx buffer
    [17:50:47] INFO: setting break signal
    [17:50:47] INFO: --- please restart the device ---
    [17:50:47] DEBUG: wait for ack
    [17:51:02] DEBUG: UART timeout
    [17:51:02] DEBUG: --- COM Port timeout on ACK read
    [17:51:02] ERROR: ---reading ACK signal failed---
    [17:51:02] DEBUG: disconnecting from device . . .
    [17:51:02] WARNING: ---seting break signal to false failed---
    [17:51:02] DEBUG: --- Connection failed trying to reconnect... (3 attempt)
    [17:51:02] DEBUG: waiting and clearing uart rx buffer
    [17:51:04] INFO: setting break signal
    [17:51:04] INFO: --- please restart the device ---
    [17:51:04] DEBUG: wait for ack
    [17:51:19] DEBUG: UART timeout
    [17:51:19] DEBUG: --- COM Port timeout on ACK read
    [17:51:19] ERROR: ---reading ACK signal failed---
    [17:51:19] DEBUG: disconnecting from device . . .
    [17:51:19] WARNING: ---seting break signal to false failed---
    [17:51:19] DEBUG: --- Connection failed trying to reconnect... (4 attempt)
    [17:51:19] FATAL: --- Can't connect to device !! ---
    [17:51:23] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
    [17:51:23] INFO: > Executing Operation: Disconnect
    [17:51:23] DEBUG: disconnecting from device . . .
    [17:51:23] Operation Format returned.



    Pls help Me, What shall I do, Thx for Reply
  • Rhe thing is Now i Cannot Format or Reset, And pls help me with the Bug

    Will you have a look at the Code?


    Main func() To have a rough Idea::


    long lRetVal = -1;

    //
    // Board Initilization
    //
    BoardInit();

    // Configure the pinmux settings for the peripherals exercised
    //
    PinMuxConfig();

    PinConfigSet(PIN_58,PIN_STRENGTH_2MA|PIN_STRENGTH_4MA,PIN_TYPE_STD_PD);

    // Initialize Global Variables
    InitializeAppVariables();

    //
    // UART Init
    //
    InitTerm();

    DisplayBanner(APP_NAME);

    //
    // LED Init
    //
    GPIO_IF_LedConfigure(LED1);

    //Turn Off the LEDs
    GPIO_IF_LedOff(MCU_RED_LED_GPIO);

    //
    // I2C Init
    //
    lRetVal = I2C_IF_Open(I2C_MASTER_MODE_FST);
    if(lRetVal < 0)
    {
    ERR_PRINT(lRetVal);
    LOOP_FOREVER();
    }

    //Init Temprature Sensor
    lRetVal = TMP006DrvOpen();
    if(lRetVal < 0)
    {
    ERR_PRINT(lRetVal);
    LOOP_FOREVER();
    }

    //Init Accelerometer Sensor
    lRetVal = BMA222Open();
    if(lRetVal < 0)
    {
    ERR_PRINT(lRetVal);
    LOOP_FOREVER();
    }

    //
    // Simplelinkspawntask
    //
    lRetVal = VStartSimpleLinkSpawnTask(SPAWN_TASK_PRIORITY);
    if(lRetVal < 0)
    {
    ERR_PRINT(lRetVal);
    LOOP_FOREVER();
    }

    //
    // Create Exosite Task
    //
    lRetVal = osi_TaskCreate(ExositeTask, (signed char*)"ExositeTask", \
    OSI_STACK_SIZE, NULL, \
    EXOSITE_TASK_PRIORITY, NULL );
    if(lRetVal < 0)
    {
    ERR_PRINT(lRetVal);
    LOOP_FOREVER();
    }

    //
    // Create Uptime Task
    //
    lRetVal = osi_TaskCreate(UptimeTask, (signed char*)"UptimeTask", \
    SMALL_STACK_SIZE, NULL, \
    LOW_TASK_PRIORITY, NULL );
    if(lRetVal < 0)
    {
    ERR_PRINT(lRetVal);
    LOOP_FOREVER();
    }

    //
    // Create Accelerometer Task
    //
    lRetVal = osi_TaskCreate(AccSampleTask, (signed char*)"AccSampleTask", \
    SMALL_STACK_SIZE, NULL, \
    LOW_TASK_PRIORITY, NULL );
    if(lRetVal < 0)
    {
    ERR_PRINT(lRetVal);
    LOOP_FOREVER();
    }

    //
    // Start OS Scheduler
    //
    osi_start();

    while (1)
    {

    }

    }
  • Pls can u Elaborate More About Uart Error, I might have put the code in Startup_cc.c. Made changes while debbuging and testing the board so do not have the perfect copy.
  • Niraj,

    Leave aside the code for now. We need to understand if your board is still functional or not.

    Can you please make sure that during programming the followings apply:

    1) no other application (e.g. terminal emulation) is connected to the same COM port
    2) SOP2 jumper is not connected
    3) J6 and J7 are connecetd as FLASH (and not BP)
    4) the device has been formatted with "secure" option unchecked

    Also, can you work in debug mode (with CCS/IAR)? This would asure that your board is not broken.

    Lastly, please open the following post and follow the instructions from Ankur regarding probing voltage pins and provide feedback.

    http://e2e.ti.com/support/wireless_connectivity/f/968/p/395097/1398775#1398775

    Regards,

    Shlomi

  • Hi, Thanks for the reply.,

    I have Done the configuration same as the, OOB.

    SOP2 shorted for probing,
    No other comport app is running.
    J6 and J7 are on flash
    I did not flash in Secure mode.


    Does it mean that my Board is broken?

    Pls help me
  • Can you also follow the E2E link for the voltage probing and report back?

  • resetting enough times it will work!!??

    ...
    [10:55:58] Begin Get Version operation.
    [10:55:58] INFO: > Executing Operation: Connect
    [10:56:00] INFO: setting break signal
    [10:56:00] INFO: --- please restart the device ---
    [10:56:15] ERROR: ---reading ACK signal failed---
    [10:56:17] INFO: setting break signal
    [10:56:17] INFO: --- please restart the device ---
    [10:56:32] ERROR: ---reading ACK signal failed---
    [10:56:35] INFO: setting break signal
    [10:56:35] INFO: --- please restart the device ---
    [10:56:42] INFO: connection succeeded
    [10:56:42] INFO: getting storage list
    [10:56:42] INFO: > Executing Operation: GetVersion
    [10:56:42] INFO: reading version info
    [10:56:42] INFO: > Bootloader version: 2.0.3.2
    [10:56:42] INFO: > Chipset version: 19
    [10:56:42] INFO: > Executing Operation: Disconnect
    [10:56:42] Operation Get Version returned.
  • I checked that. The reset pin is going low. But the Uniflash says ack fail. What does it exactly mean???

  • Niraj,

    Reading ACK fails means Uniflash cannot get an ACK packet from the device over UART interface.

    Reseting over and over is not a solution, it should work by pressing once.

    I'm trying to understand whether your device is broken or not, can you please answer the two questions:

    1. please follow the voltage probing suggested in the port by Ankur, http://e2e.ti.com/support/wireless_connectivity/f/968/p/395097/1398775#1398775
    2. can you work in debug mode (with CCS/IAR) and let me know if you can load a program and work with the device? debug mode works with JTAG interface and not UART.

    Shlomi

  • Hi,

    Can you please update your current status?.

    Shlomi

  • Hi Niraj,

    Can you please update us on the behavior after following the instructions from Shlomi?

    Regards,
    Raghavendra
  • It still is not working :(
  • I was getting the same sequence of errors when I tried to update the service pack on my launchpad yesterday. I found that the reset button didn't help, but removing and reconnecting the USB cable did allow the next step in the update process to work.

    Note that I didn't do this while UniFlash was trying to communicate with the board, I waited for it to fail and stop retrying.

  • Hi Niraj,

    Are you able to connect over JTAG using the CCS/IAR?
    Can you please confirm your SDK version and the Service Pack version?

    Regards,
    Raghavendra
  • Hi Niraj,

    Can you also please confirm the revision of CC3200-LAUNCHXL?

    Regards,
    Raghavendra
  • Hi,
    when i am trying to flash my cc3200 board by using uniflash ,I am getting errors like below. And my board version is Rev 4.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,
    when i am trying to flash my cc3200 board by using uniflash ,I am getting errors like below.

    [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,

    Next time I would suggest openning a new thread and link to this one. This way, you can be sure someone gets it and assign to the right expert.

    There may be a problem with your board but first please verify the followings:

    • What is the COM port you are using? Can you open the device manager and capture the screen of the COM ports?
    • ensure no other application (e.g. terminal emulation) is connected to the same COM port
    • ensure SOP2 jumper is not connected
    • J6 and J7 are connecetd as FLASH (and not BP)
    • the device has been formatted with "secure" option unchecked

    Lastly, please open the following post and follow the instructions from Ankur regarding probing voltage pins and provide feedback.

    http://e2e.ti.com/support/wireless_connectivity/f/968/p/395097/1398775#1398775

    Shlomi

  • Hi Shlomi,

    i was checked whatever you said but it again shows same error

  • Hi,

    So it is the Linux version of Uniflash. You should have mentioned it earlier.

    In any case, I am not sure that the lsusb is the right command to show the com port.

    As a start, please verify that the following modules are up and running using lsmod: ftdi_sio and usbserial.

    Second, clean the dmesg before plugging the USB and after plugging it, execute dmesg | grep ftdi.

    You should see 2 lines with ftdi_sio that should end up with e.g. 1.0 and 1.1. In this case pick the 2nd port, in this case it is 1.

    On my side I can see 2 lines:

    ftdi_sio 2-1.3:1.0 FTDI.....

    ftdi_sio 2-1.3:1.1 FTDI.....

    Regards,

    Shlomi

  • Hi Shlomi,

    Thanks for reply,

     i was checked whatever you said and screen shots attached below.

  • Hi shlomi,
    I was checked voltage levels those are
    pin48: 0v
    pin 9: 0v
    pin 47:3.3v
    please help me what happens on board
    Thanks in Advance
    Regards
    Ashok
  • Hello,

    So you should use COM port #1.

    But, if the measurements are reliable, it means your device is broken.

    Where did you buy it?

    Shlomi

  • Hi shlomi,

    Thanks for reply,

    I bought it from Texas instruments distributor Element14.com

    Is there any replacement for this product?

    I am doing a project on this.

    It is very important to me

    Regards,

    Ashok

  • Hello Ashok,

    Generally speaking, you needs to address this with element14. If they will accept as a return, then you are all set.

    However, one more test from my side, can you check J12? is this jumper connected?

    Shlomi

  • Hi Shlomi,
    Yes jumper is connected to J12

    Thanks and Regards,
    Ashok