GeraldS 1 Posted December 11, 2012 Share Posted December 11, 2012 I managed to get a copy of LM Flash Programmer from somewhere else. It seems to be able to talk to the board, it can read register values and the firmware version (haven't tried to upload anything with it yet). So, if the drivers work, maybe the problem lies at Energia after all? Quote Link to post Share on other sites
chopc 0 Posted December 12, 2012 Share Posted December 12, 2012 Update on playing with "09" Having had no luck with Energia 09 on Ubuntu 12.04 , I had a look at my installed software , I saw that I had both V6 and V7 of OpenJDK JAVA Runtime , Thinking that I might not need both version I deleted "6" Attempting to load Energia failed totally so I reloaded "6" , Load Energia now and everything works without problems !!! Obviously my knowlege of Linux is too sketchy to come up with a credible explanation as to why removing something and then reloading the same thing made such a difference !!! :-) Anyway I how have Energia playing happily on 12.04 32bit Quote Link to post Share on other sites
emihackr97 0 Posted December 12, 2012 Share Posted December 12, 2012 Hi, I am currently trying to take advantage of the multiple I2C buses on the StellarPad, but I can't find a way to specify which one I am trying to initialize and write, anyone had any luck with this? Quote Link to post Share on other sites
bluehash 1,581 Posted December 12, 2012 Share Posted December 12, 2012 Hi, I am currently trying to take advantage of the multiple I2C buses on the StellarPad, but I can't find a way to specify which one I am trying to initialize and write, anyone had any luck with this? You will probably get better help in this forum: http://forum.stellarisiti.com/forum/63-energia/ Quote Link to post Share on other sites
xv4y 46 Posted December 13, 2012 Share Posted December 13, 2012 Two days ago TI informed me that my StellarPad is shipping. I should have it in a few days. Your timing for this release is perfect! Thanks for the fantastic work you are doing. Yan - XV4Y. --- http://xv4y.radioclub.asia/ Quote Link to post Share on other sites
energia 485 Posted December 13, 2012 Author Share Posted December 13, 2012 Hi, I am currently trying to take advantage of the multiple I2C buses on the StellarPad, but I can't find a way to specify which one I am trying to initialize and write, anyone had any luck with this? To select a different module call Wire.setModule(<module number>); before Wire.begin(); By default module 3 is selected. You can find the pins with module mapping on the Wiki: https://github.com/energia/Energia/wiki/Hardware#wiki-StellarPad_EKLM4F120XL Quote Link to post Share on other sites
PTB 27 Posted December 17, 2012 Share Posted December 17, 2012 Thank you for the Stellaris support, but when I try to upload "Blink" I keep getting "Cannot run program "E:\ENERGI~1\HARDWARE\TOOLS\LM4F\BIN\arm-none-eabi-g++" CreateProcess error=2 File not found". EDIT: Fixed this by renaming energia's folder from "energia-0101E0009" or so to "ener9", name seems to be an issue. Fix this please or note somewhere that folder name can't be longer than 6 characters. Thanks for the solution maxik. That fixed that one for me. Quote Link to post Share on other sites
xv4y 46 Posted December 18, 2012 Share Posted December 18, 2012 Hi, I have a little problem with 009 release on OS X. Using right from the installation everything is working ok, any code I have written with 008 is compiled and run on the MSP430 LaunchPad. However, as with 008 programs using my RTC library run slow. In 008 I had to comment out a line in wiring.c (//BCSCTL3 |= LFXT1S_2;) because it interferes with my own clock setting. Doing the same with 009 makes Energia still compile ok but the produced binary is not working anymore on the LaunchPad. Curiouser and curiouser, if I uncomment the BCSCTL3 |= LFXT1S_2; line, things are not coming back to normal. Two questions : - Is there something else I had to change in wiring.c (or elsewhere). I had a glance at it but found nothing relevant ? - Is there another way to make my RTC lib code working normally without having to fiddle in Energia internal files ? Thanks for all the good work you are doing with Energia. Yannick. Quote Link to post Share on other sites
sirri 28 Posted December 18, 2012 Share Posted December 18, 2012 Hi, In Turkey (EK-LM3S811) Stellaris is available. Does Energia support this? Quote Link to post Share on other sites
energia 485 Posted December 20, 2012 Author Share Posted December 20, 2012 Hi, I have a little problem with 009 release on OS X. Using right from the installation everything is working ok, any code I have written with 008 is compiled and run on the MSP430 LaunchPad. However, as with 008 programs using my RTC library run slow. In 008 I had to comment out a line in wiring.c (//BCSCTL3 |= LFXT1S_2;) because it interferes with my own clock setting. Doing the same with 009 makes Energia still compile ok but the produced binary is not working anymore on the LaunchPad. Curiouser and curiouser, if I uncomment the BCSCTL3 |= LFXT1S_2; line, things are not coming back to normal. Two questions : - Is there something else I had to change in wiring.c (or elsewhere). I had a glance at it but found nothing relevant ? - Is there another way to make my RTC lib code working normally without having to fiddle in Energia internal files ? Thanks for all the good work you are doing with Energia. Yannick. Hi Yannick, Is the latest library the one posted here? http://xv4y.radioclub.asia/boutique/docs/ I'll look into it tomorrow. I might have an idea of what is going on. If I am right then this is an issue we have seen before and has to do with the current compiler treating the code in the constructor differently vs the one we had in 0008. Quote Link to post Share on other sites
xv4y 46 Posted December 20, 2012 Share Posted December 20, 2012 Hi Yannick, Is the latest library the one posted here? http://xv4y.radioclub.asia/boutique/docs/ I'll look into it tomorrow. I might have an idea of what is going on. If I am right then this is an issue we have seen before and has to do with the current compiler treating the code in the constructor differently vs the one we had in 0008. Robert, Rick told me about pins P2_6 P2_7 being set to GPIO instead of xtal by default. I will try this... Thanks, Yan. Quote Link to post Share on other sites
ajr85 0 Posted December 20, 2012 Share Posted December 20, 2012 Hi, Seems like the new LM4F120 is supported on OSX version of Energia. But where i can find the drivers required to communicate with launchpad via usb? OSX version 10.8.2 Thanks! Quote Link to post Share on other sites
energia 485 Posted December 20, 2012 Author Share Posted December 20, 2012 Robert, Rick told me about pins P2_6 P2_7 being set to GPIO instead of xtal by default. I will try this... Thanks, Yan. That's it! Place this snip at the beginning of your constructor before you set the ACLK to source from the XTAL. P2SEL |= (BIT6 | BIT7) Robert xv4y 1 Quote Link to post Share on other sites
xv4y 46 Posted December 21, 2012 Share Posted December 21, 2012 That's it! Place this snip at the beginning of your constructor before you set the ACLK to source from the XTAL. P2SEL |= (BIT6 | BIT7) Robert Hi Robert, It does work. Thanks! However I have still no chance when I try to do the same to override the BCSCTL3 |= LFXT1S_2 that is set in wiring.c. I must be missing something with the bits logic. I have tried to put BCSCTL3 &= ~LFXT1S_2 in the constructor or later in the begin(). Placed in the constructor, the clock stays at 12KHz, placed later it just does not start... Tried to set everything in BCSCTL3 to 0 too without success... Yan. Quote Link to post Share on other sites
energia 485 Posted December 21, 2012 Author Share Posted December 21, 2012 Nothing else is touching BCSCTL3 and if you have not already done so can try: BCSCTL3 = (LFXT1S_0 | XCAP_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.