Jump to content
zeke

I'm struggling with the CC3200

Recommended Posts

Hallo everybody,

 

I am a newbie on the CC3200. I mostly develop in C2000 for power electronics applications. I have a basic question: 

 

Why to use an operating system on such mcu? What are the reasons to do so? I have searched over the internet and I couldn't find a convincing answer.

 

Couldn't all these functions to be implemented using conventional code without the use of an OS?

 

Any resources would be useful. Thank you. 

Share this post


Link to post
Share on other sites

Hallo everybody,

 

I am a newbie on the CC3200. I mostly develop in C2000 for power electronics applications. I have a basic question: 

 

Why to use an operating system on such mcu? What are the reasons to do so? I have searched over the internet and I couldn't find a convincing answer.

 

Couldn't all these functions to be implemented using conventional code without the use of an OS?

 

Any resources would be useful. Thank you. 

It is most likely to do with the network stack management. For simple superloop applications, bare metal code works, but when heavy network/usb stacks come into play, a small footprint real-time OS helps(in this case, TI-RTOS) to schedule and prioritize tasks. Hope this helps.

Share this post


Link to post
Share on other sites

I've just started playing around with the CC3200 Launchpad as I'm also finding it tricky. I think it's definitely the CC3200 that's difficult as playing with the TM4C1294 Connected Launchpad and TI-RTOS beforehand wasn't too bad.

 

Here are some things I seemed to have to find out the hard way. Please correct me if you know better I've got anything wrong.

 

Flashing with CCS Uniflash

  • Connect using CC3x Serial (UART) Interface, not Stellaris In-Circuit Debug Interface.
  • The SOP jumper must be set to 2
  • You must power cycle the whole board if you change the jumper. Not just the reset button.
  • You can set the WLAN profiles in Uniflash. No need to use the "SmartConfig" which I had problems with. Select the profiles tab and check the "Update" box. Enter details for Profile1, etc.
  • /sys/mcuimg.bin is what's run when the board is powered up. Always this. Not the last debug session like on the MSP430 or TM4C.

 

Debugging

  • Remove the SOP jumper if you've been flashing. Power cycle. Not just reset.
  • The dubugger is "Stellaris In-Circuit Debug Interface"
  • UART output is "CC3200LP Dual Port". Sometimes you can't start debugging if this is connected first. You can attach once debugging.
  • Your debug session is temporary. On reset it'll run mcuimg.bin code again.
  • Some examples use SSID defined with "#define SSID_NAME" (e.g. WLAN Station). Some use the config in flash (e.g. httpServer). Beware.

Other

  • Watch that jumper to select station or AP (on P58). Stuff will hang if you set it wrong.
  • There's a new SimpleLink WiFi Starter Pro android app. A bit more usable, but it's still easy to screw up profile settings and get it to misbehave if you flashed anything other than the OOB code.

I think I've got my head round it now. Probably. The documentation is there but not easy to find and digest. The TM4C is much easier if you have an ethernet cable nearby though!

 

I have found examples that can be done with FreeRTOS or TI-RTOS. A bit of a pain to tweak things to compile, but if you follow the guides under SDK/docs/example you'll get there.

@Fred

 

I am struggling with running demo codes, porting them from TI-RTOS to FreeRTOS

I have gone through the documentation as well tried to understand from the code but so far no luck

 

 

http://processors.wi.../CC32xx_TI-RTOS

 

wlan_ap it mentions for TI-RTOS as well FreeRTOS

 

Any help

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...