EMC on friendlyARM mini2440

More
22 Oct 2010 22:15 #4800 by jaydeep.gajjar90
EMC on friendlyARM mini2440 was created by jaydeep.gajjar90
hi all, i am new to emc community !
i have built a cnc mill using emc2 from my computer. now i want to run my mill by FriendlyARM mini2440.
How can i convert or change parallel port settings to GPIO of ARM board ?
Any Suggestions ?

Thanks in Advance....................:)

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

More
22 Oct 2010 22:31 #4801 by andypugh
Replied by andypugh on topic Re:EMC on friendlyARM mini2440
Do you want to run EMC2 on the FriendlyArm? That would be quite a significant porting job.

You would then need a hal realtime driver for the gpio pins.

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

More
22 Oct 2010 22:44 #4802 by jaydeep.gajjar90
Replied by jaydeep.gajjar90 on topic Re:EMC on friendlyARM mini2440
Thanks for your quick reply !
i have checked the file "hal_parport.c" in source directory.......
it has three operations : parport.0.read , parport.0.write etc

if i want to create a gpio hal driver then, specifically which driver files are required to build or modify ?
because i have no idea about parallel port HAL files.....

Waiting for reply ................

Thanks again.........

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

More
22 Oct 2010 23:02 #4803 by andypugh
Replied by andypugh on topic Re:EMC on friendlyARM mini2440
Do you have an RTAI kernel and EMC2 running on the FriendlyARM? I suspect that might be the hardest part

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

More
22 Oct 2010 23:13 #4804 by jaydeep.gajjar90
Replied by jaydeep.gajjar90 on topic Re:EMC on friendlyARM mini2440
yes, i have compiled the kernel and emc2 for arm-Linux-gcc432 compiler........

the kernel works perfectly,
but when i tried to compile emc2 source it gives error about parport as no such hardware.........:(

now what have to do ?
create the gpio drivers first or try to change parport drivers ?

if i change the base address of parport to base address of gpio then it will work or not ? ........:dry:

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

More
22 Oct 2010 23:32 #4805 by andypugh
Replied by andypugh on topic Re:EMC on friendlyARM mini2440
As an experiment, just delete all references to the parport in the Makefile then compile.

Does the RTAI latency test run? What numbers do you get?

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

More
23 Oct 2010 03:22 #4807 by aike
Replied by aike on topic Re:EMC on friendlyARM mini2440
andypugh wrote:

As an experiment, just delete all references to the parport in the Makefile then compile.

Does the RTAI latency test run? What numbers do you get?

Yes!
I also want to recocnize this!

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

More
19 Feb 2011 20:13 - 19 Feb 2011 21:10 #7318 by blkbagger
Replied by blkbagger on topic Re:EMC on friendlyARM mini2440
I am very interested in your work with the Mini2440, I have just started playing with my friendly ARM board, If possible I would very much like to share and contribute to this project, I am prototyping a CNC system and would like to use a low cost embedded solution like this VS a stand alone PC, the boards I use are based on the Toshiba TB6560AHQ chips, if there is any chance of sharing your code with me I would very much like to contribute to make this work...

I have programmed in various languages including C++. C#, VB.net, and VB Pro for nearly 25 years..

I have extensive experience with EMC running on a PC and a Sherline CNC mill setup, I am now moving into development of my own system to offer to others and I am exploring embedded systems as an option for a particular machine...


Ken
Last edit: 19 Feb 2011 21:10 by blkbagger. Reason: additional info

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

More
02 Mar 2011 11:06 #7533 by vmarkiv
Replied by vmarkiv on topic Re:EMC on friendlyARM mini2440
You can see www.cnczone.ru/forums/index.php?showtopic=1727 with example of using Friendly ARM

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

More
06 Aug 2014 14:34 #49554 by whhenyuan
Replied by whhenyuan on topic EMC on friendlyARM mini2440
I've no experience of that but I have used the mini2440 which they also have on that site:

www.hycshop.com/

Admittedly that's $88 but that includes the LCD screen. The mini2440/micro2440 is a brilliant way to get into ARM9 based Linux

development!

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

Time to create page: 0.072 seconds
Powered by Kunena Forum