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.

Can't connet with wlan_station example

Other Parts Discussed in Thread: CC3200, UNIFLASH

Hi All,

I am trying to run wlan_station example on CC3200 lanchxl using code composer, and with the help of "CC3200 SimpleLink™ Wi-Fi® and IoT Solution With MCU LaunchPad™ Getting Started Guide".

I was able to build the projects, but when running it in Debug mode it doesn't connect.

I get the following error:

Cortex_M4_0: Trouble Reading Memory Block at 0x20030008 on Page 0 of Length 0x4: Debug Port error occurred.

And in the Tera term:


*************************************************
CC3200 WLAN STATION Application
*************************************************

Host Driver Version: 1.0.0.1
Build Version 2.0.7.0.31.0.0.4.2.1.5.3.3
Device is configured in default state
Device started as STATION
Error [-3] at line [761] in function [WlanConnect]
Failed to establish connection w/ an AP

Any Idea?

Best Regards

Ilan

  • Hi,

       Did you set your access point details at common.h? 

    - kel

  • Hi All,

    Thanks for the replies.

    finally I could connect.

    I have chosen the wrong SECURITY_TYPE.

  • I set my acces point details correctly and still can't connect successfully.

    1. Error on Tera Term:

                    *************************************************

                              CC3200 WLAN STATION Application

                    *************************************************

    Host Driver Version: 1.0.0.10

    Build Version 2.0.7.0.31.0.0.4.2.1.5.3.3

    Device is configured in default state

    Device started as STATION

    Error [-3] at line [765] in function [WlanConnect]

    Failed to establish connection w/ an AP

    2. Error on CSS Debug wlan_station example:

    Cortex_M4_0: GEL Output:

    Memory Map Initialization Complete

    Cortex_M4_0: GEL Output:

    Target Reset

    Cortex_M4_0: Trouble Reading Memory Block at 0x20030008 on Page 0 of Length 0x4: Debug Port error occurred.

  • Hi Rodrigo,

    Did you follow CC3200 Getting Started Guide, before trying out wlan_station?

    Try wlan_station by loading the program using Uniflash, and see if it works. Also, try wlan_station at a different access point.

    - kel