OzGrant 22 Posted August 1, 2014 Share Posted August 1, 2014 G Quote Link to post Share on other sites
chicken 630 Posted August 1, 2014 Share Posted August 1, 2014 Energia creates a .hex file during "verify": http://www.energia.nu/Guide_BuildProcess.html You can probably take that and upload it manually with the MSP430 Flasher tool http://processors.wiki.ti.com/index.php/MSP430_Flasher_-_Command_Line_Programmer Quote Link to post Share on other sites
OzGrant 22 Posted August 2, 2014 Author Share Posted August 2, 2014 G'day Mr Chicken (sounds better with the Mr in front) Had a quick look at your links and will give it a shot tomorrow. Tks Grant Quote Link to post Share on other sites
energia 485 Posted August 2, 2014 Share Posted August 2, 2014 If you prefer a GUI based programmer then have a look at this one from Elprotronic http://www.elprotronic.com/fetpro430.html chicken 1 Quote Link to post Share on other sites
OzGrant 22 Posted August 14, 2014 Author Share Posted August 14, 2014 G'day, After a lot of playing can finally send a compiled Energia HEX file to the F5529 using MSP430 Flasher. But have the following observations that need clarifying as I feel they are bugs either in Energia or the TI Flasher utility. 1. I am using Flasher 1.3.1 and Energia 0101E0012 if I flash the F5529 after I have used Energia to upload a sketch, Flasher states the firmware is out-of-date. After allowing Flasher to upgrade the firmware, if I then want to upload a sketch from Energia, Energia complains and wants me to use Quote Link to post Share on other sites
OzGrant 22 Posted August 15, 2014 Author Share Posted August 15, 2014 G'day, Solved the device name problem(2), you just have to leave it out and Flasher uses the device it finds e.g. Msp430flasher.exe Quote Link to post Share on other sites
bobnova 59 Posted August 15, 2014 Share Posted August 15, 2014 Is this for devices that are already in the field and expecting the Energia firmware revision? If not, why not just update/flash with Flasher before you ship them out? Then the customer won't be confronted with revision messages. Quote Link to post Share on other sites
OzGrant 22 Posted August 15, 2014 Author Share Posted August 15, 2014 G'day bobnova, The problem I'm addressing is when a customer requires an upgrade, either to fix a bug or to add an additional design feature. I want to be able to email a hex file and a bat file. At the moment I only have two choices; return the unit for me to upgrade, or install energia and supply the latest source sketch. Maybe an older version of Flasher may suit Enegia 12, so will give that a shot today. Quote Link to post Share on other sites
OzGrant 22 Posted August 15, 2014 Author Share Posted August 15, 2014 It appears Energia 12 does not have the latest firmware. If I use Flasher version 1.2.3 the firmware checking works OK. But using Flasher version 1.3.0 or 1.3.1 I get the firmware out of date problem. So now I can email a client with a bat file and a hex file, that allows him upgrade his system, without ever seeing the source code or having to install energia plus the custom libs. Quote Link to post Share on other sites
bobnova 59 Posted August 15, 2014 Share Posted August 15, 2014 What I was thinking is write the program and make the hex in Energia, then flash it with Flasher before you send it out so that you can send them the hex and flasher and .bat later. Now that you've found a version of flasher that works after Energia runs the flash, that is even easier. Quote Link to post Share on other sites
OzGrant 22 Posted August 16, 2014 Author Share Posted August 16, 2014 G'day, A small point to watch is the -e trigger for erasure of eeram. The ERASE_MAIN does not work correctly as it erasures all the EERAM, just like the default ERASE_ALL. A bit of a problem if you store defines in flash. I got around the problem by letting the sketch check for 0xFF's and then loading the info segment with defaults, or allow the client to fill it in on the first boot after a new program load. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.