login

Author Topic: Progress on MSP430 Support  (Read 4279 times)

0 Members and 1 Guest are viewing this topic.

robertinant

Progress on MSP430 Support
« on: March 05, 2012, 02:19:29 PM »
Hello Wiring,

Any progress on MSP430 support? Ref: http://forum.wiring.co/index.php/topic,41.msg138.html#msg138

I have been working  on a port myself and do not want to duplicate efforts already progress.

At this point I have the basic system up and running on a Launchpad with more boards coming:
- pins_arduino.h for the Launchpad
- Arduino.h for MSP430
- Digital works (pinMode, digitalWrite, digitalRead, etc)
- Analog input works (analogReference, analogRead)
- Wire Master works
- Serial (Timer based serial implementation with send only for now)
- Changes to the Processing UI to accomodate MSP430
- Programming through MSP430Flasher from the Processing UI (using upload button) (MSP430 value line has to little RAM/FLASH to accommodate any kind of boot loader nor is there a way to trigger the boot loader).

Thanks,

Robert

cver65

Re: Progress on MSP430 Support
« Reply #1 on: March 14, 2012, 11:08:15 AM »
Hi Robert, good news, there is progress (since you did it ;-) )

Is there some place where I could find information about how to do the same for a Cortex M ? It is so strange that Maple people have said many months ago that they would migrate to Wiring, but nobody is posting anything on the forums...

I suggest you post your code and experience (blog? ) somewhere, and hopefully it will make it to the Wiring framework soon at https://github.com/WiringProject/Wiring/tree/master/framework/cores/msp430  !!!

barragan

Re: Progress on MSP430 Support
« Reply #2 on: March 16, 2012, 03:11:43 AM »
hi, we are finishing the developers documentation here: http://wiki.wiring.co/wiki/Category:Developers_Reference please check recent changes for recently updated content, it would be great if you guys join the development, this is work in progress, note how the documents are trying to link to the issues on github etc for things we need to change to make a portable core.

pataelmo

Re: Progress on MSP430 Support
« Reply #3 on: March 26, 2012, 11:19:04 AM »
All,
  I am also interested in getting MSP430 support, and would be happy to help the development process.  I am new to the Wiring world, but very interested in the power it provides to make quick firmware that works.

Robert,
   I don't know how you have the code structured, but would you be willing to share what you have currently?  I'd be happy to help setup a code branch somewhere (either under the wiring github, or on my own server) so we can continue development.

Thanks,
  Patrick

cver65

Re: Progress on MSP430 Support
« Reply #4 on: March 29, 2012, 07:07:48 AM »
Any idea of how much work it would be to do the same for an ARM chip ?

pataelmo

Re: Progress on MSP430 Support
« Reply #5 on: March 29, 2012, 03:25:12 PM »
Cver,
  I am assuming that it wouldn't be all that much work.  However I haven't actually dug into how the cores actually work.  I was hoping to see what Robert had done with the MSP430, help complete that, and work on the cortex-m3 chips.  Namely the Stellaris parts, since those are my favorite of the Cortex-M3's.  If we get that started, would you be interesting in helping support the effort?

Patrick

barragan

Re: Progress on MSP430 Support
« Reply #6 on: March 30, 2012, 04:20:27 PM »
There is also the Maple from LeafLabs: http://leaflabs.com/devices/ We have been working together to integrate their devices into the Wiring environment. An effort is being done in this direction and here is the work in progress for the developers reference: http://wiki.wiring.co/wiki/Category:Developers_Reference for porting the Framework to different platforms

rei_vilo

Re: Progress on MSP430 Support
« Reply #7 on: April 09, 2012, 01:59:47 PM »
The MSP430 port project is called Energia



The GitHub repository is at https://github.com/energia/Energia

cver65

Re: Progress on MSP430 Support
« Reply #8 on: April 16, 2012, 03:55:09 PM »
Hi Rei, all,

Could you explain to me how it exactly works with github ? I'm a bit surprised that there is a need to start a separate project or a personal fork to make a project like Wiring progress ? Shouldn't this be a collaborative effort with a main branch called wiring ?

What are the advantages of "forking" and creating yet another derivative ?
« Last Edit: April 16, 2012, 03:56:43 PM by cver65 »

rei_vilo

Re: Progress on MSP430 Support
« Reply #9 on: April 21, 2012, 05:13:45 PM »
Sorry, I don't understand quite well the point.

cver65

Re: Progress on MSP430 Support
« Reply #10 on: April 25, 2012, 02:31:38 PM »
Well, I 'm not very experienced in github, but I think (maybe naively) that the purpose is to get poeple collaborate on projects. What I found on the site was more a number of 'personal' lists of repositories (organised a bit like iTunes : person/repositories), but sometimes the 'person' is an organisation, e.g. arduino/arduino or wiring/wiring.

So if I want to "merge" libmaple and wiring, do I need to first "fork" both, by creating cver65/wiring and cver65/libmaple, and then start create additional directories and copying files, and start tuning those and some make files so that it first compiles and second provides the expected results ?

Or do I understand this completely wrong ?