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.

RE: CC3200 P2P Configuration failed

Other Parts Discussed in Thread: CC3100, CC3200, UNIFLASHMmmm... I have this mistakes when I try to erase the flash..

[14:55:22] ERROR: ---reading ACK signal failed---
[14:55:22] WARNING: ---seting break signal to false failed---
[14:55:24] INFO: setting break signal
[14:55:24] INFO: --- please restart the device ---
[14:55:24] INFO: Cancel button pressed
[14:55:24] WARNING: ---seting break signal to false failed---
[14:55:24] FATAL: --- Can't connect to device !! ---
[14:55:24] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -2
[14:55:24] INFO: > Executing Operation: Disconnect
[14:55:24] Operation Canceled: Process<Format> canceled.


What can I do ?
  • Can you please confirm which board you are using CC3200 or CC3100?
    Is it a custom board?

    Few point (If using CC3200 Launchpad):

    1. Make sure the SOP2 jumper is mounted.
    2. Make sure you are using the correct com port.

    Regards,
    Ankur
  • I am using the CC3200 launchpad.. SOP2 jumper is mounted and the port is correct.. I have tried to erase the flash because I can't use the p2p example..I can build but I see nothing.. My smartphone doesn't find the CC3200 board
  • Are you able to download and run the example using CCS or IAR?
    Can you please try running the blinky example using CCS or IAR?

    Regards,
    Ankur
  • ok.. I have found the problem.. why Can I connect to the smartphone only if the board is attached to the pc ? When is attached , I do starting to the debug and it's ok..
    Instead if I try without the pc ( connecting the cable to the 220 V ) , the smartphone doesn't find the board.. Must I do something for this ?
  • What is the Output voltage and current rating for the power source you are using?

    Regards,
    Ankur
  • I took the charging cable of my smartphone.. It is not correct ?

  • It is not a problem of the cable..If I connect the board with the pc , it is ok but only if I do RUN.. If I don't do RUN , the smartphone finds nothing.. It is very strange... why ?? I worked with microntroller and usually after that I put a code inside , I can use without a problem
  • Hi Luca,

    If I understand correctly you are using the using mobile changer adapter to power CC3200 LP. Please share what is the maximum current that mobile adapter can provide.

    Regards,
    Ankur
  • Hi ,

    the problem is not the cable.. The problem is that I must play run after the debub to see the board in my smartphone.. Do you understand the problem ?
    Probably I should set something.. Do you know this problem ?
  • I think now I understand your problem now.

    The CC3200 doesn't have an internal flash. The application binary should be stored on the external serial flash to run on power on.
    When using CCS/IAR to run the application the code is downloaded into the RAM which is erased after resetting the board.

    To run the application from the serial flash (i.e. without CCS/IAR) you will need to download the application using Uniflash.
    Please refer to uniflash user guide for instructions on flashing the application.
    processors.wiki.ti.com/.../CC31xx_%26_CC32xx_UniFlash_Quick_Start_Guide

    Please let me know if this answers your query.

    Regards,
    Ankur
  • Isn't there a flash inside the CC3200 MOD Launch pad ?? if I want to use in a application with sensor and without the pc , how can i do ?
  • Yes the CC3200 MOD has a 8-Mbit serial flash.
    After developing the application you can flash it on device using uniflash. You won't need to connect the PC.

    Regards,
    Ankur
  • Thanks... I try to solve the problem with uniflash..
    Regards

    Luca
  • Nothing... I have programmed the flash with the code but without CCS , the smartphone can't see the board..
    I can't understand this strange thing.
  • Can you please share Uniflash debug logs while flashing the application binary?

    Regards,
    Ankur
  • [11:42:54] Begin Program operation.
    [11:42:55] INFO: Checked for update config groups: []
    [11:42:55] INFO: List of files to be generated: []
    [11:42:55] INFO: > Executing Operation: Connect
    [11:42:57] INFO: setting break signal
    [11:42:57] INFO: --- please restart the device ---
    [11:43:08] ERROR: ---reading ACK signal failed---
    [11:43:08] WARNING: ---seting break signal to false failed---
    [11:43:10] INFO: setting break signal
    [11:43:10] INFO: --- please restart the device ---
    [11:43:14] INFO: connection succeeded
    [11:43:14] INFO: getting storage list
    [11:43:14] INFO: > Executing Operation: Init
    [11:43:14] INFO: reading version info
    [11:43:14] INFO: DEVICE CC3200 ES1.33
    [11:43:14] INFO: reading version info
    [11:43:15] INFO: reading version info
    [11:43:17] INFO: > Executing Operation: Program
    [11:43:17] INFO: > File name: /sys/mcuimg.bin, Update: true, Erase: false
    [11:43:17] INFO: > Size of file = 34944
    [11:43:17] INFO: > Update File: /sys/mcuimg.bin
    [11:43:17] INFO: Downloading file "/sys/mcuimg.bin" with size 34944
    [11:43:18] INFO:

    New Token is 0x0
    [11:43:18] INFO: Download complete
    [11:43:18] INFO: Verifying Data...
    [11:43:18] INFO: get file
    [11:43:19] INFO: Done. Reading 34944 bytes
    [11:43:19] INFO:

    Verification OK
    [11:43:20] INFO: > Updated Token value: 0x0
    [11:43:20] INFO: > File name: /cert/ca.pem, Update: false, Erase: false
    [11:43:20] INFO: > File name: /cert/client.pem, Update: false, Erase: false
    [11:43:20] INFO: > File name: /cert/private.key, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/macadd.bin, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/mode.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/ipcfg.ini, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/ap.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/devname.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/mdns.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/dhcpsrv.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/httpsrv.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/pref.net, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/smartconfigkeys.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/stacfg.ini, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/p2p.cfg, Update: false, Erase: false
    [11:43:20] INFO: > File name: /sys/pmcfg.ini, Update: false, Erase: false
    [11:43:20] INFO: > Executing Operation: Disconnect
    [11:43:20] Operation Program returned.
  • The Flashing part looks Ok.

    Did you remove the SOP2 jumper after flashing the board? SOP2 jumper should be removed while running the application from serial flash.

    Can you also check if you are getting any logs on the teraterm?

    Regards,
    Ankur
  • I am trying with the jumper..Thanks for everything..