Jump to content
energia

New Energia release 0101E0009 - 12/06/2012

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

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

×