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.

Why can't I load wlan_station.out to my CC3200 board

Other Parts Discussed in Thread: CC3200, UNIFLASH

Hi,

I am unable to load the wlan_station example to my CC3200. I get the following message in CCS;

Cortex_M4_0: GEL Output:

Memory Map Initialization Complete

Cortex_M4_0: Failed CPU Reset: This operation is not supported by this driver

Cortex_M4_0: GEL Output:

Target Reset

Cortex_M4_0: Trouble Writing Memory Block at 0x20004000 on Page 0 of Length 0x7ff0: This operation is not supported by this driver

Cortex_M4_0: File Loader: Verification failed: Target failed to write 0x20004000

Cortex_M4_0: GEL: File: C:\ti\wlan_station\Release\wlan_station.out: Load failed.

Can anyone shed any light on why I am getting this message?

Thanks in advance.

  • Hi Stephen,

    While using the debugger SOP2 jumper should be in place. Please cross check if this is done.

    Thanks and Regards,
    Siddaram
  • Hi Siddaram, thank you for taking the time to reply to my query. Yes I have made sure that the jumper is on SOP2 and unfortunately wlan_station.out still doesn't load. I get an error message saying the operation isn't supported by the driver. Have you any idea what else might be going wrong? I think it might be something to do with TI_RTOS.

    Stephen.
  • Hi Stephen,

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

    - kel
  • Hi Markel, yes I have followed the instructions in the Getting Started Guide. In fact, I have gone through the Getting Started Guide about 3-4 times now and uninstalled and re-installed all the software tools, such as the SDK, Service Pack installer, Uniflash and CCS v6.1.0 and I still cannot get wlan_station.out to load. I get quite a few errors reported mainly saying that the driver does not support this operation, meaning resetting the MCU, writing to a particular memory address. Do you know what driver these error messages are referring to?

    Thanks,

    Stephen.
  • Hi Stephen,

    As this is more of a CCS problem, alternatively post this at CCS forum to get more expert advice.

    Just some additional questions below for further clarifications.

    1. What Windows Version are you using?
    2. Are you able to run program at your CC3200 Launchpad that was programmed using Uniflash?

    Also try the CC3200 Getting Started Guide at another PC, and see if you get the same results.

    - kel
  • Hello Markel,

    Thank you for your continued help with this problem.

    To be honest I don't think this is a problem with CCS as the error messages I am getting refer to problems with a driver which I am sure is more to do with the SDK and TI RTOS. I just wish I knew what driver it is talking about.

    I am using Windows 7 64-bit on a DEL N5010 laptop. I don't understand what you mean when you ask me if I able to run program that was programmed using UniFlash. Do you mean the wlan_station.out program? According to the Getting Started Guide UniFlash is not used to load this application on to the CC3200 board. Tera Term is used in conjunction with CCS to load wlan_station.out on to the CC3200 board.

    Unfortunately I do not have another Windows 7 computer to try and load wlan_station.out.

    Do you know anything about what driver CCS is referring to in the output messages?

    Thanks,

    Stephen.

  • I'd probably try to remove and reinstall the FTDI driver for the card. But before doing this I'd double check the following in device manager.

    1) Under Ports you should see an entry for "CC3200LP Dual Port (COMxx)". The "COMxx" is the port number you'll have to use in Uniflash.

    Also, in addition to SOP2 being jumpered make sure J13 is jumpered. J13 controls board power and if using the USB cable the jumpered position indicates it will receive power from the on-board LDO.
  • Hi Craig and thanks for taking the time to post a reply to my question.

    Please can you explain how I go about re-installing the FTDI driver for the CC3200 board?

    I have checked the COM port setting in Device Manager, it is always COM4, and this is the COM port I have used in configuring the Tera Term connection to the board. You mention UniFlash but the Getting Started Guide doesn't say anything about using UniFlash when loading wlan_station.out to the board, so should I be using UniFlash? I thought CCS was loading it to the board, perhaps you could explain in a bit more detail what you mean when you mentioned UniFlash.

    I have ckecked J13 and it is jumpered on my board.

    Regards,

    Stephen.
  • To run the application under the debugger of CCS you do NOT need uniflash. I simply included that cross reference for when you do use it.

    Also check you have the following in device manager:

    Under "Universal Serial Bus Controllers" you should see:

    1) CC3200 LP JTAG Port A
    2) CC3200LP UART Port B

    If you opt to remove/reinstall the driver it can be removed in the normal method for any windows driver. To reinstall you can plug the board in and locate the driver components in the cc3200-sdk/tools/ftdi directory within the SDK install path.

    One other thing to check in CCS.  In target configurations (user defined) there should be an entry for CC3200.ccxml.  Make sure the word default appears to the right of it.  If the entry doesn't exist you may need to add a target configuration for the CC3200.  If the entry isn't the default you'll need to right click it and make it the default.

  • Hello Craig and thank you for your reply.

    I have checked the Universal Serial Bus Controllers in Device Manager and I can see the CC3200 LP JTAG Port A and CC3200LP UART Port B devices that you mention in your previous message.

    I have also tried uninstalling the FTDI driver and re-installing it as you suggested and unfortunately I still get the same error messages in CCS.

    I have also checked for a CC3200.ccxml target configuration and I can see that it is there and it is set as default.

    So I am still puzzled about why I cannot load the wlan_station.out.

    Is it the FTDI driver that CCS is referring to when it says "This operation in supported by this driver"?

    Regards,

    Stephen.
  • I assume there is some disconnect between CCS and the FTDI driver causing the issue. 

    What I would suggest is you setup a test environment and import one of the simple example projects (like Blinky - in a clean workspace) and see if you can get it to work.  If it works you have a model.  If it doesn't work then I'd try it on a different computer.  If it works on a different computer you may need to reinstall 1, or more, of the development components (CCS, SDK, other) on the computer where the error occurs.

    Let me know either way if any of these ideas prove helpful.  If not I'm all out of strategies.

  • Stephen,

    Just to cross check make sure only the following jumpers are INSTALLED (for USB connected CC3200):

    J8, J9, J10, J11, J6 (toward flash), J7 (toward flash), J12, EMU PWR, J2, J3

    That's it. I just realized they indicated (and I echoed) the SOP/2 connection should be jumpered. But the SOP/2 connection should only be jumpered when connecting the CC3200 to Uniflash. When using the unit with CCS the SOP2 connection should NOT be jumpered.
  • Hi Craig,

    SUCCESS!!!

    I have actually managed to get CCS to load wlan_station.out to my CC3200 board and the board is now producing the correct responses in TeraTerm!

    I checked the jumper settings that you mentioned and I found that J6 and J7 needed to be installed towards the Flash Device. Unfortunately, moving J6 and J7 towards the Flash Device didn't make any difference. I still got the usual set of error response in CCS. However by configuring the CC3200.ccxml target configuration file I managed to get wlan_station.out to load! By opening the CC3200.ccxml file and selecting the Basic tab at the bottom I changed the "Connection" from "Data Snapshot Viewer" to "Stellaris In-Circuit Debug Interface" and ticked the "Board or Device"check box for "CC3200", I was able to finally connect to my board and finally download wlan_station.out . I set up TeraTerm as described in the Getting Started Guide and clicked CCS "Resume" button and hey presto! I was getting the correct repsonses from the board! Wonderful! I feel really buoyed up now for the next step in the Getting Started Guide.

    Many thanks for you help,

    Stephen.
  • Hi Stephen,

    As you have confirmed that your queries are resolved,I am closing this thread, if the issue still exists please open a new thread and add a link to this one for reference

    Thanks and Regards,
    Siddaram
  • Hello Siddaram,

    Thanks for the reply however I think it is important that TI are informed about this issue as there will be other end-users of the CC3200 LaunchPad board who will undoubtedly encounter the problem that I was having in loading wlan_station.out on to the board. The "Getting Started Guide" needs to be updated to include configuring the CC3200.ccxml target configuration file inCCS before wlan_station.out will load on to the board. I don't know if you have the means of contacting TI about this but I think it is important that they are informed.

    Regards,

    Stephen.

  • Hi Stephen,

    Thanks alot. This discussion saves my day .

    Regards,
    Ayanga

  • Hello Ayanga, yes I did finally solve this problem. You can find the solution in the earlier posts I submitted in this thread.

    Stephen

  • Stephen

    I have the same problem ?

    What have you done ??

  • Hi All,

    I have the same problem with wifi_audio_app.

    I can program cc3200 launchpad with uniflash_3.2 but I can't load and debug with ccs6.

    I have done all the updates under ccs6 and follow the SWRU376C user's guide.

    But ccs6 always tells me : 

    Cortex_M4_0: GEL Output:
    Memory Map Initialization Complete
    Cortex_M4_0: Failed CPU Reset: This operation is not supported by this driver
    Cortex_M4_0: GEL Output:
    Target Reset
    Cortex_M4_0: Trouble Writing Memory Block at 0x20004000 on Page 0 of Length 0x7ff0: This operation is not supported by this driver
    Cortex_M4_0: File Loader: Verification failed: Target failed to write 0x20004000
    Cortex_M4_0: GEL: File: C:\Users\Pascal\workspace_v6_1\wifi_audio_app\UniCast\wifi_audio_app.out: Load failed.

    What can I do to resolve this?

    Best regards,

    Pascal

  • Hi Pascal,

    Have you done Stephen's solution to the problem in this post? Also next time, just make a new post regarding your problem, with a reference link to this post.

    - kel
  • Thanks Stephen,
    that worked for me too!
    JYL