HOW TO CONVERT PARALLEL PORT TO GPIO

jaydeep
hi all !
i have built a cnc mill which is controlled by my computer via parallel
port. i have used EMC2 software on ubuntu for controlling.

now i want to install EMC2 on my mini2440 (3.5" inch). but how can i access
the gpio port or make the gpio works as parallel port ?

any help would preferable.

Thanks in Advance :)

jrh_engineering
http://farm2440.blogspot.com/
Check the build script to make sure it matches your Qt install directory.

JamesH

Sebastien
Hello,

Before gpio/parallel problem, i would check minimal requirements for EMC2.

Despite the fact i think you have a pretty smart idea, i have a doubt
concerning MINI2440 hardware (For exemple Cpu@700Mhz or 256Mb Ram...)

But, i may be totally wrong!

Good luck!

Sergey
I think main problem it's not how to access GPIOs (see kernel docs for
kernel and user space API), but how to generate step/dir pulses in real
time. As far, as know RTAPI ported to ARM, but not ported to S3C2440. But
this idea is works: http://www.youtube.com/watch?v=_Ti7yJoLla4 !