Page 1 of 1

Micropython port for the CC3200 launchxl

Posted: Tue Sep 30, 2014 7:41 am
by danicampora
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

Re: Micropython port for the CC3200 launchxl

Posted: Sun Nov 02, 2014 4:45 pm
by danicampora
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).

Re: Micropython port for the CC3200 launchxl

Posted: Sun Jan 31, 2016 7:54 pm
by slothy
Hi!

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

Thanks

Re: Micropython port for the CC3200 launchxl

Posted: Mon Feb 01, 2016 8:33 am
by slothy
Yep, sorry i didn't see > https://github.com/micropython/micropyt ... ter/cc3200

Flashed ;)

Outstanding work.

Thanks!

Re: Micropython port for the CC3200 launchxl

Posted: Wed Apr 13, 2016 8:08 pm
by arek
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?

Re: Micropython port for the CC3200 launchxl

Posted: Thu Jun 30, 2016 5:00 pm
by Cheesehead
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.

Re: Micropython port for the CC3200 launchxl

Posted: Mon Oct 24, 2016 9:24 am
by saudahmed
@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.