Jump to content
43oh

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?

Link to post
Share on other sites
  • Replies 47
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

After 4 months (to the day) of hard work by the Energia team, Energia release 0101E0009 - 12/06/2012 it is ready to go! A full list of new features and bug fixes will be posted on the github wiki page

The StellarPad pins maps

https://github.com/energia/Energia/downloads ... it is up there .. energia.nu just hasn't been updated.

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

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/

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

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.

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.

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.

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.

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.

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