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.

Please help me fix my CC3200!

Other Parts Discussed in Thread: ENERGIA, CC3200, UNIFLASH

I bought two CC3200 LaunchPads directly from TI just recently for my school project. We'll be competing in the 2016 Mercury Remote Robot Challenge. We're planning to use the CC3200 to control the motors of our robot via WiFi. We programmed it with Energia. At first, we managed to upload the code successfully. Then, when we updated our code and try uploading it, we could not connect to the CC3200. The following is the error we encountered:

Opening \\.\COM22

Read ACK failed

Failed to trigger bootloader

We tried the second CC3200 and programmed it. The upload via Energia was successful. Then, when we changed our code again and upload it. The same thing happened. We encountered the same error as above. Please help. We don't know what to do.

 

Thanks!

  • Hi,

    Using Uniflash Format your CC3200 with settings 1 MB Size, Secure and Alert option left unchecked. If there are any Uniflash error messages post it here. Before formatting place jumper at SOP2. If successful format, program a simple program like blinky. If the blinky works, then you have recovered your CC3200 Launchpad.

    - kel
  • Hello,

    I used UniFlash (v3.2.1.0000) and tried formatting the CC3200. However, when it asked me to reset the CC3200, I encountered the following error:

    ERROR: ---reading ACK signal failed---

    The same error was encountered for the second CC3200. This is really frustrating.

     

    Thanks!

  • Hi Cherub,

    See, this wiki below. There is a guide at the wiki how to troubleshoot "reading ACK signal failed". Also, make sure you are setting the correct COM port.

    processors.wiki.ti.com/.../CC31xx_&_CC32xx_FAQ

    - kel
  • Hi,

    I know I'm using the correct COM port (22) because when I tried disconnecting the CC3200 and then connecting it again prior to pressing the Format button, I managed to format it. Here's the result from UniFlash.

    [20:17:19] Begin Format operation.

    [20:17:20] INFO: > Executing Operation: Connect

    [20:17:22] INFO: setting break signal

    [20:17:22] INFO: connection succeeded

    [20:17:22] INFO: getting storage list

    [20:17:22] INFO: > Executing Operation: Init

    [20:17:22] INFO: reading version info

    [20:17:22] INFO: DEVICE CC3200 ES1.33

    [20:17:22] INFO: reading version info

    [20:17:23] INFO: reading version info

    [20:17:25] INFO: > Executing Operation: Format

    [20:17:25] INFO: Erase storage SFLASH

    [20:17:26] INFO: erase storage succeeded

    [20:17:26] INFO: erase storage completed

    [20:17:26] INFO: > Executing Operation: Disconnect

    [20:17:26] Operation Format returned.

    However, when I pressed the Get Version button, the same error happened as before.

    ERROR: ---reading ACK signal failed---

    However, if I disconnect the CC3200 again and connect it before pressing Get Version. I get the following results.

    [20:23:35] Begin GetVersion operation.

    [20:23:36] INFO: > Executing Operation: Connect

    [20:23:39] INFO: setting break signal

    [20:23:39] INFO: connection succeeded

    [20:23:39] INFO: getting storage list

    [20:23:39] INFO: > Executing Operation: GetVersion

    [20:23:39] INFO: reading version info

    [20:23:39] INFO: > Bootloader version: 2.1.4.0

    [20:23:39] INFO: > Chipset version: 16

    [20:23:39] INFO: > Executing Operation: Disconnect

    [20:23:39] Operation GetVersion returned.

    Is this normal? The format didn't seem to fix it. Energia as well as CCS still couldn't upload the code to the CC3200.

     

    Thanks!

  • Hi,

    Your Uniflash logs are okay. Try running a program using CCS like blinky and see if it works. If the blinky works then your CC3200 Launchpad is okay. There are cases where your connection to your PC is causing problems. Example Launchpad connected to Laptop. In one case the solution was to use a powered usb hub.

    - kel
  • Hi,

    I tried uploading the blinky code via CCS. First, I encountered a connection error (i.e., Error connecting to the target), but I managed to get through that phase by doing the unplug-plug approach as I did before, and then clicked on Retry. The upload seemed to have succeeded because the red LED on my CC3200 started to blink. However, the moment a reset my CC3200, it went back to its previous state--no blinking red LED. I also tried powering the CC3200 via the J20 using two AA batteries and get the same no blinking red LED. So, I believe the hardware itself is the issue here since I was not even using the micro USB. By the way, I tried the loop/echo test and it was able to display on the screen everything a typed. The issue here is that the code that I've just uploaded via CCS was not being applied for some reason. This is very frustrating.

    Thanks!
  • Hi Cherub,

    Don't get frustrated, what you are describing is normal.

    When you run the blinky program at CCS, it is not saved at CC3200 Launchpad Serial Flash. So, at next power cycle or reset, it will not run.

    To program blinky and save it at CC3200 Launchpad Serial Flash, you need to use Uniflash. See, the Uniflash Guide below

    processors.wiki.ti.com/.../CC31xx_&_CC32xx_UniFlash_Quick_Start_Guide

    - kel