Jump to content
43oh

Recommended Posts

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!

 

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.

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. 

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.

Link to post
Share on other sites
  • 2 weeks later...

@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).

Link to post
Share on other sites

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
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.

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...