nathancrum 21 Posted September 28, 2014 Author Share Posted September 28, 2014 @@greeeg - you are the man. So - I was counting on CCS to update the firmware and it was erroring out without attempting to fix anything. I was able to flash the BSL firmware using flasher, but every time I tried to flash the FW_3_3_0_6 firmware it failed verification. So - I tried flashing only the BSL_1_1 firmware. Then I plugged the ezFET into USB and tried erasing the target using MSPFlasher. That's when it did this: c:\ti\MSP430Flasher_1.3.2>MSP430Flasher.exe -e ERASE_ALL * -----/|-------------------------------------------------------------------- * * / |__ * * /_ / MSP430 Flasher v1.3.2 * * | / * * -----|/-------------------------------------------------------------------- * * Evaluating triggers...done * Checking for available FET debuggers: * Corrupted USB FET firmware detected. Starting recovery. * ********************************************************* * * * * Initializing Update Bootloader. * * Programming new firmware: * * |||||||||||||||||||||||||||||||||||||||||||||||||| 100% * * Update was successfully finished. * * * ********************************************************* * * Exit Update Bootlader and reboot firmware. * USB FET recovery completed.* Found USB FET @ COM3. <- Selected YAY!! Then it proceeded to do a firmware update * Initializing interface @ COM3...done * Checking firmware compatibility: * The firmware of your FET is outdated. - Would you like to update it? (Y/N): y * ********************************************************* * * * * Initializing Update Bootloader. * * Programming new firmware: * * |||||||||||||||||||||||||||||||||||||||||||||||||| 100% * * Update was successfully finished. * * * ********************************************************* * * Exit Update Bootlader and reboot firmware. * FET firmware is up to date. Double YAY! Now it works fine with both MSP430Flasher and CCS - everything is A-ok. So I guess the key is to flash the BSL and let the programmers do the rest. I haven't checked if I can just flash the BSL and use CCS to update the firmware the first time, but at least I have a working procedure. bluehash 1 Quote Link to post Share on other sites
nathancrum 21 Posted September 28, 2014 Author Share Posted September 28, 2014 FYI - flashing only the BSL and connecting to CCS has essentially the same effect. It "recovers" then updates and it works fine. Quote Link to post Share on other sites
greeeg 460 Posted September 28, 2014 Share Posted September 28, 2014 @@nathancrum Glad to see everything is working. I would be interesting in using this product. eventually I too have had trouble getting CCS to perform the FW update. glad that we have tools like MSPdebug and MSPFlasher that are cross platform and can successfully do it. FW_3_3_0_6 while technically it SHOULD update to newest, it might just be too far a jump. obviously something isn't going right. Programming just the BSL definitely sounds like the best way to go, that way it's instantly upgraded to the newest version. Quote Link to post Share on other sites
pabigot 355 Posted September 28, 2014 Share Posted September 28, 2014 I too have had trouble getting CCS to perform the FW update. glad that we have tools like MSPdebug and MSPFlasher that are cross platform and can successfully do it. I also like that because the source is available I keep multiple versions installed if necessary, something that's probably hard to make CCS do. I'm a bit concerned by the comment somebody made somewhere that the original EXP430FR5969LP would not work with the latest MSPDebug stack that fully supports energy trace, which suggests the new EXP430FR5969LP might not work with the old MSPDebug stack. I too am looking forward to trying this new platform. Quote Link to post Share on other sites
nathancrum 21 Posted November 23, 2014 Author Share Posted November 23, 2014 Hi guys, We've been playing with the prototypes for a few weeks now and wanted to start adding support for our board in Energia and...after some searching, it's not at all clear if that's possible right now. I will keep looking, but figured I should post here for now since someone probably knows the answer, "Is is possible to add new processor boards to Energia via text configuration files?" ...or is it more complicated? I got as far as writing a pins file before realizing this was not sufficient to totally describe the board. The Storm Ninja is "hardware-compatible" with the FR5969 Launchpad (same processor & ezFet lite programmer), but the pin numbering is very different (different ports used, different pins for LED, more pins, etc.) pins_energia.h Storm Ninja Energia Pins.pdf Quote Link to post Share on other sites
spirilis 1,265 Posted November 23, 2014 Share Posted November 23, 2014 Should be possible. I can't think of what would get in your way. Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
pabigot 355 Posted November 23, 2014 Share Posted November 23, 2014 We've been playing with the prototypes for a few weeks now and wanted to start adding support for our board in Energia and...after some searching, it's not at all clear if that's possible right now. I will keep looking, but figured I should post here for now since someone probably knows the answer, "Is is possible to add new processor boards to Energia via text configuration files?" ...or is it more complicated? While it has fewer users and targets a different audience than Energia, I'd meant to ask if you'd like your board supported by BSP430. I also use a couple mapping text file per platform and a couple cloned headers, so it's pretty easy. I'd do it in trade for a couple ready-to-use boards. Send me a direct message if you're interested. Quote Link to post Share on other sites
nathancrum 21 Posted November 26, 2014 Author Share Posted November 26, 2014 @@pabigot - We definitely would like to get some demos in the hands of people that can put them to use, but we don't have many prototypes yet. I think there's probably something we can work out though. BSP430 also looks really cool - we'd love to have the Storm Ninja supported there too. Regarding Energia - I was still hoping to figure it out myself so I knew where everything was located. If someone could either list the files or point me towards the documentation that would be awesome. I don't mind doing the work - I'm just a little lost. As I mentioned - I think I have the pins file figured out, but I don't know what other files tells Energia about the targets. Thanks Quote Link to post Share on other sites
Automate 69 Posted November 26, 2014 Share Posted November 26, 2014 @@energia ? Quote Link to post Share on other sites
Patrick 0 Posted November 27, 2014 Share Posted November 27, 2014 Hey guys, just wanted to say we got it figured out today. Storm Ninja prototypes program just fine with energia and the pins I tested so far seem to work. Here are my notes for getting a bare Energia 13 installation working with Storm Ninja (and with the 5969 for that matter which doesn't work without a dll update) boards.txt contains high level processor speed protocol etc. under hardware/msp430 an entry duplicateing the lpmsp430fr5969 entry is required to add a new variant. then the prefix should be changed from lpmsp430fr5969 to stormninja additionally the line xxx.build.variant should be changed to a folder name for the new variant in our case storm_ninja_p2 under hardware/msp430/variants create a new folder named as above place the 5969 board.mk file and the new custom pins_energia.h file in this folder when you next start energia it will have the entry for the new board option. ---- boards.txt exerpt ... ############################################################## lpmsp430fr5969.name=LaunchPad w/ msp430fr5969 lpmsp430fr5969.upload.protocol=tilib lpmsp430fr5969.upload.maximum_size=65536 lpmsp430fr5969.build.mcu=msp430fr5969 #lpmsp430fr5969.build.f_cpu=16000000L lpmsp430fr5969.build.f_cpu=8000000L lpmsp430fr5969.build.core=msp430 lpmsp430fr5969.build.variant=launchpad_fr5969 lpmsp430fr5969.upload.maximum_ram_size=1024 ############################################################## stormninja.name=Storm Ninja p2 stormninja.upload.protocol=tilib stormninja.upload.maximum_size=65536 stormninja.build.mcu=msp430fr5969 #stormninja.build.f_cpu=16000000L stormninja.build.f_cpu=8000000L stormninja.build.core=msp430 stormninja.build.variant=storm_ninja_p2 stormninja.upload.maximum_ram_size=1024 ############################################################## ----- variants/pin definition files is required. --- required for energia 13 from http://humboldtmcu.blogspot.fr/2014/08/unboxing-and-updating-texas-instruments.html "Once you have downloaded and installed it, you need to open two folders. One is the MSP430Flasher install directory (click the pictures to the right for a larger size), the other is the mspdebug directory inside the Energia install directory. The pictures to the right show the paths on my computer. Once you find the two directories you want to copy HIL.dll and MSP430.dll from MSP430Flasher into Energia's mspdebug directory. Backing up Energia's copies of those two files isn't a bad idea, I created a directory called "OEM" and moved the originals into it, then copied the new HIL and MSP430 dlls. Once you have copied those two files, re-open Energia (if you didn't close it before, close it and re-open it) and run Update Programmer again. Instead of throwing errors it should happily update the remaining piece of firmware. If you feel like being sure, run it again and make sure it's happy that time too." Quote Link to post Share on other sites
nathancrum 21 Posted December 17, 2014 Author Share Posted December 17, 2014 FYI - We've also forked the Energia github and have pushed these changes already. Hopefully we can resolve the driver issues in the future, but for now it's functioning separately. https://github.com/ApparentlyConnected/Energia We've also started adding libraries for our Shurikens (daughter boards) like the Sharp 128x128px LS013B7DH03 Memory LCD. On deck are the bluetooth (Microchip RN4020) and WiFi (Microchip RN171) modules. Unfortunately the existing libraries like SPI aren't abstracted enough to be cross compatible (we're using different UARTs, pins, etc) so some more work will need to be done to either make them universal or port for the FR5969 LP and other MSP430's, but it shouldn't take much to make them useful for anyone who wants to use these peripherals with Energia. bluehash 1 Quote Link to post Share on other sites
nathancrum 21 Posted December 29, 2014 Author Share Posted December 29, 2014 FYI - made some more progress on the Energia graphics library and have added a bitmap interpreter for the TI Image Reformer tool in the MSP430 graphics library package. Adding any custom image to a project just got a lot easier. (edit) And I am loving this screen - the contrast is awesome. pine and bluehash 2 Quote Link to post Share on other sites
bluehash 1,581 Posted December 29, 2014 Share Posted December 29, 2014 @@nathancrum That looks totally sweet! Quote Link to post Share on other sites
nathancrum 21 Posted December 30, 2014 Author Share Posted December 30, 2014 @@bluehash Thanks - we're already having fun playing with it and really impressed with the Sharp LS013B7DH03. The mirrory finish on the 96px one from the BoosterPack is sort of a novelty, but the contrast on the 128px H03 is much nicer on the eyes overall. Next I'm working on a Bluetooth LE shuriken and Android app and @@Patrick is working on a WiFi expansion and internet upload. Weeeee! bluehash 1 Quote Link to post Share on other sites
nathancrum 21 Posted May 6, 2015 Author Share Posted May 6, 2015 Hi guys. It's been awhile since we've posted on this project, but progress has been steadily moving on. We're working with the Rev 3 prototypes at this point and I think we're pretty close to a final product. Patrick is going to be out at the Bay Area Maker Faire next week showing them off. We're also trying to upload stuff as it's stable to github - a few demo projects and an Android app for bluetooth: https://github.com/ApparentlyConnected Shurikens (daughterboards) have expanded now to include a sensor board (RGB, accel & temp), a relay board, an AC rectifier board for use with a current clamp in addition to newer revisions of the LCD, Wifi, and BTLE shurikens. What kind of demo projects do you guys think would be best to show off the FRAM and low power capabilities of the MSP430FR5969? Or what demos would you just like to show how it works? /Nathan vinicius.jlantunes, bluehash and DeepBlueSky 3 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.