Micropython port for the CC3200 launchxl

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Micropython port for the CC3200 launchxl

Post by danicampora » Tue Sep 30, 2014 7:41 am

Hello,

This is my first post to the forum since I discovered Micropython a few weeks ago. I was very excited when I found out about it and now I am planning on getting one of the CC3200-LAUNCHXL development boards and port Micropython to it. The CC3200 is a SoC comprised of a Cortex-M4 and a WiFi radio with a full TCP/IPv4 stack. Since it is already a Cortex-M4 micro, porting it won't be a difficult task, but the CC3200 has some limitations regarding memory and speed. Max CPU frequency is 80Mhz and it only has up to 256KB of RAM for both code and data, no built-in flash memory. Therefore, it probably won't have a full-blown Micropython port, but I still think the CC3200 would be a really cool Python enabled Internet of Things platform. If someone is already doing some work to port it to this chip, please let me know, otherwise I will fork a new branch soon.

Regards,

Daniel

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Micropython port for the CC3200 launchxl

Post by danicampora » Sun Nov 02, 2014 4:45 pm

I started the work for this port here:

https://github.com/danicampora/micropython

For now I have written a UART module and a GPIO module (not as generic as the stmhal "pin" module). Since memory size is an issue with this chip, I will try to keep the features implemented as minimal as possible, as long as the provide useful functionality for the majority of use cases. Micropython floating point support has been disabled for the same reason (saves around 40k).

User avatar
slothy
Posts: 11
Joined: Mon Oct 26, 2015 6:19 pm

Re: Micropython port for the CC3200 launchxl

Post by slothy » Sun Jan 31, 2016 7:54 pm

Hi!

Any news on the topic ?, may be a comprehensive guide ? will be really cool

Thanks

User avatar
slothy
Posts: 11
Joined: Mon Oct 26, 2015 6:19 pm

Re: Micropython port for the CC3200 launchxl

Post by slothy » Mon Feb 01, 2016 8:33 am

Yep, sorry i didn't see > https://github.com/micropython/micropyt ... ter/cc3200

Flashed ;)

Outstanding work.

Thanks!

arek
Posts: 2
Joined: Wed Apr 13, 2016 1:19 pm

Re: Micropython port for the CC3200 launchxl

Post by arek » Wed Apr 13, 2016 8:08 pm

Hm, there are cheap boards based on CC3200

http://p.globalsources.com/IMAGES/PDT/S ... 491051.pdf

http://www.alarmsources.com/UserFiles/% ... 826514.pdf

12$ on aliexpress

Did anyone try to run micro python on these?

Cheesehead
Posts: 3
Joined: Thu Jun 30, 2016 4:16 pm

Re: Micropython port for the CC3200 launchxl

Post by Cheesehead » Thu Jun 30, 2016 5:00 pm

Am working with this port on a CC3200 Launchpad board. Building and flashing worked great!

In the README file it says to ftp /flash/sys/mcuimg.bin for an OTA update. Wouldn't that just update the bootloader?

Is anybody still actively working on this port?

Is there an API guide that is specific for the CC3200, like there is for the ES8266?

Thanks in advance.

saudahmed
Posts: 4
Joined: Fri Oct 21, 2016 9:18 am

Re: Micropython port for the CC3200 launchxl

Post by saudahmed » Mon Oct 24, 2016 9:24 am

@Dani Campora

I discovered you on Micropython forum and from your github id

https://github.com/danicampora

that you wrote a port of Micropython for cc3200 Launch XL. I am working on a project where I have to port Micropython for cc2640 with SMART RF06 Development board and I am a student at Technical University of Munich. The CC2640 consists of Cortex-M3 and a Bluetooth low energy (BLE) stack provided by Texas Instruments. It has limitations regarding memory and speed with CPU frequency 48Mhz, 128 KB of in System Programmable flash, 8KB SRAM for Cache and 20 KB of SRAM. You had a similar kind of experience with CC3200. Can you advice me from where to start and what basics should I cover. Because I am beginner in this case and it is a task for my master thesis.

Your piece of advice will be very much appreciated.

Post Reply