EMC2 running on Raspberry Pi?

More
14 years 1 month ago - 14 years 1 month ago #23904 by ArcEye
Hi

Farnells tell me my R Pi is en route, so I am interested in your download too.

EDIT: In fact it has just arrived!

Unfortunately left clicking on the link gets a site about sound proofing and right clicking and saving gets something that is very small and isn't a valid tar ball.

regards
Last edit: 14 years 1 month ago by ArcEye.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #23942 by mungkie
OOPs, I just found there is a problem with hosting, as I got free hosting from a friend and they set a maximum file size for downloads as they dont want their server getting thrashed or any extra bills.

I will try and sort out hosting on sourceforge or berlios as I have accounts there if I can work out what the login details are.

I hopefully will sort this out tonight although last time I logged into berlios was a few years ago and I remember having terrible problems with getting my password right.

Also please note the install package should work but I have added things that could void your RPI warranty like overvolting the soc so that it can run at 1Ghz, also I have not properly tested all the scripts so it may be best to read through and check things first (though if any system corruption occurs reflashing the SD card is very simple).

I hope I should get time to arrange uploading in about 4-5 hours as I have other stuff to do first, on the off chance I have problems, if anyone else has suggestion for hosting let me know.

Please Log in or Create an account to join the conversation.

  • mhaberler
  • New Member
  • New Member
More
14 years 1 month ago #23943 by mhaberler
Replied by mhaberler on topic Re:EMC2 running on Raspberry Pi?
I played with my Raspberry a bit and it seems straightforward to build a hal_gpio component

all the missing pieces are in the C-code in this package pypi.python.org/pypi/RPi.GPIO/0.3.1a#downloads

I/O is memory mapped - so it's just read/write of memory locations


- Michael

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #23984 by mungkie
mhaberler wrote:

I played with my Raspberry a bit and it seems straightforward to build a hal_gpio component

all the missing pieces are in the C-code in this package pypi.python.org/pypi/RPi.GPIO/0.3.1a#downloads

I/O is memory mapped - so it's just read/write of memory locations


- Michael


I get the feeling that running direct from the gpio pins as a parallel interface is more hassle than its worth, I have done everything via the i2c bus with an expander chip, the rpi has hardware that makes handing i2c very simple with everything automatically buffered and checked and should be possible to send 16bits at 50Khz. I think SPI is handled similarly but much faster, though only a single device per bus.

Also I believe there has been a board revision so some of the gpio pins are changed on new boards, I dont yet know if it effect my drvers??

If you check the html doc in the tarball it should give some info about how to start implementing other io options I will eventually get round to interfacing an avr via i2c as it looks like there is plenty of avr code for i2c.

PLEASE LET ME KNOW IF THE TARBALL WORKS, I HAVE NOT TESTED IT!
ftp://ftp.berlios.de/pub/natld/rpi_cnc.tgz
ftp://ftp.berlios.de/pub/natld/rpi_cnc.tgz

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #24009 by ArcEye
Hi

The download works fine thanks, I have had a quick look at it but will not be able to do any proper playing with it until a couple of extra SD cards I have ordered for development appear.

Am currently running a debian based image to prove it and it works better than it deserves to really, for such a limited processor and memory.

I may try building the xenomia rt kernel first, as that is perhaps best documented and see where that leads me.

regards

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #24021 by wizard69
Replied by wizard69 on topic Another ARM board coming.
I just came across these guys: cubieboard.org/ whom are trying to deliver another open ARM based board. Maybe something to keep an eye on. The board is expected to be more expensive that Raspbeery PI but it sounds like it will be more powerful. Documentation isn't out yet so I really don't know the comple port situation, I'm hoping it is suitable equipped to handle LinuxCNC.

In any even they are expected to ship soon.

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum