xeebot

More CC3200MOD Questions

11 posts in this topic

Good morning (or good evening)!

First of all, if these questions are stupid, don't spare my feelings. I know better than anyone that I'm still new at this and I have thick skin.

I've had a great deal of success writing my own sketches with Energia. It's fun, simple-to-use, and easy to explain to others, but I have a few questions:

1) is Energia suitable for firmware in a small commercial product or is it intended more as a rapid prototyping framework, with "permanent" firmware written in CC7?

2) When working with a PCB using the CC3200MOD, how would I flash my Energia sketch onto the modules flash?

3) If I were to have a few hundred PCBs produced for a task at my day job, would each PCB (using the CC3200MOD) have to be individually flashed by hand or is there a way to have this done during the assembly process?

For a small project like this, I don't feel that having a PCB designer work out a PCB trace antenna would be cost effective - plus my boss would want to avoid FCC issues at all costs - so the MOD version would clearly be better. I just don't know enough (yet) to know if the MOD version can be used in mass production, even on a small scale.

Again, as I said, I've had SO much fun with Energia! I would like to thank Robert Wessels for making this experience possible. I feel like I could make every device and every toy that I've ever thought would be cool, by using Energia with the TI CC3200 platform. This is so cool!

 

Share this post


Link to post
Share on other sites

I will give you my relatively uneducated opinion for what it is worth...

Quote

1) is Energia suitable for firmware in a small commercial product or is it intended more as a rapid prototyping framework, with "permanent" firmware written in CC7?

I don't think many professional C/C++ programmers (which I am not) would choose to use Energia in a commercial product and most commercial products do not use it.  The same applies to Arduino.  The reasons are many but there are exceptions of course.  The most obvious exceptions are where the product is intended for Energia/Arduino users or it is a relatively simple application that fits Energia and the programmers skills well.  I worked on a small project that used Energia and sold in very small quantity.

Quote

2) When working with a PCB using the CC3200MOD, how would I flash my Energia sketch onto the modules flash?

See for example:  http://processors.wiki.ti.com/index.php/CC3100_%26_CC3200_UniFlash_Quick_Start_Guide

Quote

3) If I were to have a few hundred PCBs produced for a task at my day job, would each PCB (using the CC3200MOD) have to be individually flashed by hand or is there a way to have this done during the assembly process?

You can discuss this with the PCB board assembler as some have this capability.  In any event, if you can do it, you can find someone else who will do it for the right price.

If you are going to build several hundred of these you might discuss your questions with a TI sales representative.

energia likes this

Share this post


Link to post
Share on other sites

We can consider Energia as a disruptive technology, in a way it allows a whole new group of users to develop on micro-controllers.

Another strong trend is frugal innovation popular among companies, where a prototype developed with Energia may be good enough to be launched on the market. 

The major difference between Energia and other Arduino-like frameworks is, Energia relies on professional-grade SDKs. Energia is based on TI-DriverLib and Energia MT on TI-RTOS now SimpleLink. 

energia and xeebot like this

Share this post


Link to post
Share on other sites
35 minutes ago, Rei Vilo said:

We can consider Energia as a disruptive technology, in a way it allows a whole new group to develop on micro-controllers.

Another strong trend is frugal innovation popular among companies, where a prototype developed with Energia may be good enough to be launched on the market. 

The major difference between Energia and other Arduino-like frameworks is, Energia relies on professional-grade SDKs. Energia is based on TI-DriverLib and Energia MT on TI-RTOS now SimpleLink. 

Rei - thank you for your insight. 

I think that giving Energia a try for at least the first iteration is worth my time. I'm very comfortable using it. I think the next step is to find out if I can successfully upload data to AWS IoT and go on from there.

Share this post


Link to post
Share on other sites

@Rei Vilo

My my CC3200MOD based PCB prototypes should be in my hand next week or the week after. Hooray!

I know how to use a Launchpad's emulator to flash the PCB - though I haven't done it yet and can't be 100% certain I have the hang of it - and that should also allow me to trick Energia into treating the board normally.

However, when I have the PCBs produced in larger quantities, is there a way to get a bin file of my Energia sketch for the assembler to flash the board? I know how to use the debugger, but can't find anything further (still looking).

Share this post


Link to post
Share on other sites
  • Set Show verbose output during compilation on the Energia preferences.
  • Launch a compilation.
  • On the pane on the bottom of Energia, search for the .bin file.

596bb84987b68_Capture2017-07-1621_02_06.thumb.png.16b056ff8b57cd6e7f88bbeaee1a6dd8.png

Share this post


Link to post
Share on other sites

I just had a Keanu moment after that - realizing that Energia, not CCS7 - whoa! You weren't kidding last week.

Share this post


Link to post
Share on other sites

Posted (edited)

Gave that a try and was unable to find the BIN file - it didn't give me a folder location ("/sys/mcuimg.bin" - don't have a sys folder, so assume it's on the launchpad as I often see it in Uniflash logs)

On the other hand, I stumbled across a menu option:

Go to the Sketch menu.
Select Export Completed Binary
Check the Sketch's folder, grab your bin upload to Uniflash

Is there any other step involved?

I gave it a try but the sketch just locks up my launchpad and I have to disconnect/reconnect, format, program, flash SP, then flash it to something else - even flashing the same sketch I'd exported works.

 

Edited by xeebot
Incomplete description

Share this post


Link to post
Share on other sites

So, in case anybody else is curious, I've got the answer to my own question.

Rename your bin to "mcuimg.bin"

In Uniflash, go to the System Files, find /sys/mcuimg.bin

Click the BROWSE button for URL and navigate to your file.

Mark Erase, Update, and Verify.

Go back to Flash Setup and Control, click Program.

Enjoy.

I really have to say that this is fantastic.I'm going to see what functions I can duplicate from CCS this way.

zeke likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now