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.

CC3200-LAUNCHXL: CC3200 SSL Enterprise security example using Uniflash V 3.4.1

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

Hello,

I am attempting to setup and run the WLAN Enterprise security example using the CC3200.   The pages I am getting my information from is the following:

processors.wiki.ti.com/.../CC3200_SDK_Sample_Applications

processors.wiki.ti.com/.../CC3200_ENT_WLAN

The instructions tell me to download and install Uniflash.  Then I need to get a SSL certificate from GOOGLE Equifax .   Then I need to burn it into the flash memory of the CC3200 which is located on a luanchpad development kit.

I have the CC3200-LaunchXl Rev 4.1   launchpad development kit.

I am running the uniflax software (version 3.4.1) on a windows 10 machine.

I plugged in the development board and identified the port  ( port 15).

Then I started up the Uniflash software and created a new connection.  The option for the CC3200 was the CC3XXXX serial .   It found the simulink device and appeared to be working well. 

Then I attempted to connect.....

It would not connect.   It tells me to check the com port.

I went to the device manager and found the CC3200 devleopment kit on Com15.    So it should work.

How do you get Uniflash 3.4.1 to connect to the CC3200-launchxl launchpad development kit?

  • Hi,

    You need connect SOP2 pin to be able use Uniflash software with CC3200 LaunchPad.

    Jan
  • I added a jumper to the SOP pin 2   ( JP15).   However, that did not improve the situation.  I have a picture of my board.

  • Hi,

    Please set jumpers on your CC3200 LaunchPad to default ( www.ti.com/.../getliterature.tsp ). For example you have disconnected TX line of UART (jumper J7) and from this reason cannot Uniflash work.

    Jan
  • Thanks ,

    I reviewed the manual for the cc3200 launch pad and set the jumpers so it programs the flash.    I also reviewed the Uniflash manual and confirmed the baud rate of the com port.   The manual only describes the baud rate and does not describe the rest of the com setting. 

    This is still is not connecting.

  • Hi,

    What is shown is Uniflash log? Please insert here log with enabled additional debug informations (Window -> Preferences -> UniFlash Preferences -> Print out additional debug information...).

    Also you should try upload code by Energia software ( http://energia.nu/ ). Energia use similar way for flashing code as Uniflash software. Also you can check if your UART on CC3200 LP is functional. You can upload one of examples from SDK from CCS by JTAG/SWD and check result on terminal software.

    Jan
  • Here is the debug information.

    [10:55:33] Operation GetVersion returned.
    [10:57:39] Begin GetVersion operation.
    [10:57:40] INFO: > Executing Operation: Connect
    [10:57:40] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
    [10:57:40] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
    [10:57:40] DEBUG: --- Connection failed trying to reconnect... (3 attempt)
    [10:57:40] DEBUG: --- Connection failed trying to reconnect... (4 attempt)
    [10:57:40] FATAL: --- Can't connect to device !! ---
    [10:57:47] FATAL: Error connecting to the device. Please check your COM port settings. Error code: 1
    [10:57:47] INFO: > Executing Operation: Disconnect
    [10:57:47] DEBUG: disconnecting from device . . .
    [10:57:47] Operation GetVersion returned.

    This is a rather old version of Uniflash....Can you confirm that it actually works with the CC3200 Lauchpad Rev 4.1?

    I need to load a SLL Certificate into the flash. The instruction on the enterprise level security describes using the uniflash to do this function. If there is another way to flash the SSL Certificate I would like to know.

    Ideally I would prefer storing the SSL certificate on a SD Card accessed through SPI.

    Any help would be great.
  • Hi,

    For CC3200 SoC you need previous version of Uniflash ( latest Uniflash 4.x is not supported ). Yes, certificates need to be stored inside sFlash memory. Certificates are read from the sFLash by NWP (network processor) directly. NWP cannot read certificates from SD card.

    Common way how to store certificates into sFlash is a Uniflash software. But you can create own firmware and store certificates into sFLash by your firmware using filesystem API.

    Jan
  • I am not using version 4.1. I am using 3.4.1. Please refer to the initial post for more setup information.

    At this point we are just setting up a demo so we want to use the examples to prove the concept as quickly as possible.

    I am hoping someone can verify that the example is still valid. If not I would like to get a fix for this code. ....Assuming the 3.41 is broken somehow.

    Thank you for your help so far.....I believe my setup "should" work. so there must be something else wrong.

    Chris
  • Hi Chris,

    Yes, I know that you use version 3.4.1. That was answer for your question - Can you confirm that it actually works with the CC3200 Lauchpad Rev 4.1?


    You need determine if you LaunchPad is not damaged somehow. Best way is to use CCS and check functionality of UART (RX and TX line). Also if you have another CC3200 LP you can check it or use oscilloscope / logical analyser, etc. Without functional Uniflash you will not be able continue...

    Jan

  • Oh...Thanks for clarifying.

    We have been using the cc3200 lauchpad to connect to a wifi access point. I ran this code successfully. We are using the same UART to receive data . Doing some investigation I found that we are not implimenting the UART TX.

    So we are going to investigate this today/tonight.

    thanks for the insight....It looks like something is not happening with the UART TX when it should.
  • Thank you for your help.

    The issue was that the com port had another application running.   While I was testing code using code composure, I had a terminal window reading the UART.   Once I turned this off there was no conflict and Uniflash works now.

    Sincerely,

    Chris