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.

CCS/CC3200MOD: issue in running WLAN STATION

Part Number: CC3200MOD
Other Parts Discussed in Thread: UNIFLASH, CC3200

Tool/software: Code Composer Studio

Hi,

I had a custom board having CC3200MOD,when i run uart codes which run perfectly but if i run WLAN STATION code shows an error in terminal.please explain me how to solve it???

[GENERAL EVENT] - ID=[-77] Sender=[6]

[GENERAL EVENT] - ID=[-78] Sender=[2]

Host Driver Version: 1.0.1.11
Build Version 2.0.7.0.31.0.0.4.1.1.5.3.3
Error [-7] at line [564] in function [ConfigureSimpleLinkToDefaultState]

this is the error showing.

 

  • Hi,

    What API call do you have at line 564 in function ConfigureSimpleLinkToDefaultState()?

    As first try please format sFlash using Uniflash software and upload latest ServicePack. I suppose that this could solve your issue.

    Jan
  • Hi Jan
    Thanks for yor support .i had one more doubt
    1.How to upload latest service pack in my custom board using cc3200 Launch XL(now i just debug using 4 pin jtag and uart connected directly from custom board to pc).But i can't format it and as well as load latest service pack.
    2.If i did it wrong please explain me how to connect my custom board to cc3200 launch XL to use uniflash.

    Please help me to solve it . this answer may help others also.

    Aju
  • Hi Jan,
    Thanks for your great support.
    I have connected my custom board's uart pins with launch XL (connected at the middle pins in j6, j7 connector of launch XL),reset pull down ,sop2 pull up.when i tried to format device using uniflash there had some error,i post it below.

    [19:36:21] Begin Format operation.
    [19:36:23] INFO: > Executing Operation: Connect
    [19:36:25] INFO: setting break signal
    [19:36:27] INFO: detecting FTDI for device reset
    [19:36:42] ERROR: ---reading ACK signal failed---
    [19:36:42] WARNING: ---seting break signal to false failed---
    [19:36:44] INFO: setting break signal
    [19:36:45] INFO: detecting FTDI for device reset
    [19:37:01] ERROR: ---reading ACK signal failed---
    [19:37:01] WARNING: ---seting break signal to false failed---
    [19:37:03] INFO: setting break signal
    [19:37:04] INFO: detecting FTDI for device reset
    [19:37:09] Cancelling current process <Format>, please wait...
    [19:37:19] ERROR: ---reading ACK signal failed---
    [19:37:19] WARNING: ---seting break signal to false failed---
    [19:37:21] INFO: setting break signal
    [19:37:22] INFO: detecting FTDI for device reset
    [19:37:38] ERROR: ---reading ACK signal failed---
    [19:37:38] WARNING: ---seting break signal to false failed---
    [19:37:38] FATAL: --- Can't connect to device !! ---
    [19:37:38] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
    [19:37:38] INFO: > Executing Operation: Disconnect

    please explain me how to solve it??

    aju
  • Hi Aju,

    You haven't connected proper pins of UART. You need to connect pins near to FTDI chip (see schematic for CC3200 LP). Also make sure that GND is connected.

    Jan
  • Hi jan ,

    Thanks,i just connected the pins as u suggested but the same error shows in uniflash.

    image shown below.(removed all the jumpers only connect EMU PWR  and remaining connections  made with custom board are circled below)

    Aju.

  • Hi Aju,

    This sounds reasonable. Maybe you have exchanged RX/TX pins or something else. Please check that UART from your CC3200MOD is functional via CC3200 LP. You can upload your code via JTAG and check UART function with some kind of terminal software. Make sure that you check both lines (RX, TX). Good example for this purpose can be uart_demo from SDK.

    Jan
  • Hi Jan,

    Thanks jan. i also doubted the same so i just done it and the uart code works perfectly (i checked it using Tera term).but still i have the problem with uniflash,then i disconnected it from LAUNCH XL and try LAUNCH XL with uniflash,works fine.
    now i have no idea about how to solve it.i need your great support to solve this problem.

    Aju
  • Hi,

    OK, now we know that your UART at CC3200MOD is functional. Make sure that you are using right UART at CC3200MOD. Bootloader at CC3200MOD works only with pins 46 (GPIO01), 47 (GPIO02) at CC3200MOD package. If you are using proper pins of UART, then I suppose that you have problem with SOP02 pin.

    If you have available oscilloscope you can compare state of SOP02 pin after reset between your hardware and CC3200 LP (SOP2 jumper need to be disconnected). I think you should see there pulse when is SOP02 pin scanned during boot.

    BWT ... you can also search on E2E forum, similar issue was discussed here many times and maybe I forgot to so

    Jan
  • Hi Jan ,
    thanks ,your suggestion was correct ,the problem is with sop2 pin.i load the service pack using uniflash.
    now i tried to run wlan station ,but another problem occurred( terminal message below).
    *************************************************
    CC3200 WLAN STATION Application
    *************************************************



    Host Driver Version: 1.0.1.11
    Build Version 2.9.0.0.31.1.4.0.1.1.0.3.37
    Device is configured in default state
    Device started as STATION
    [GENERAL EVENT] - ID=[-102] Sender=[5]

    when i got this problem, tried the same code in launch xl but there have no problem(run correctly).please explain me how to solve it.

    Aju.
  • Hi Aju,

    Although this topic has been discussed several times at e2e forum, I don't know reason of this issue. Please open new thread for this issue.

    But it sound for me as hardware issue, if you code at same configuration works at CC3200 LP works properly. Please make sure that configuration is same. That means:
    - format your LP by Uniflash
    - upload ServicePack
    - upload your code by JTAG and check functionality
    - repeat same steps for your hardware with CC3200MOD

    Jan