Hello Trần,

this may be of use:
a user space ( not realtime ) serial communication
was described here.
http://emergent.unpythonic.net/01198594294

it uses python-serial and talked usb to ardduino
but it may be a framework for COMM to 8051 for you.

python-serial is available thru Synaptic pkg manager
for my 10.04 system

no need to write a driver :)

tomp tjtr33


On 06/10/2014 08:52 PM, Trần Ngọc Quân wrote:
> Hello all,
> My previous question [1] is not clear.
>
> My idea is create hal drive (hal_serial) for pc com port:
> PC <=COM=> Microcontrol board (MC51 for example)
>
> Protocol:
> - PC read 8bits from Microcontrol boad, for read status of limit switch,
> emergency stop button etc.
> - PC write 8bits to Microcontrol boad, for on/off some things ( spindle,
> pump etc.)
> - Read/Write task will continue in forever loop.
>
> Step control by lpt or other.
>
> [1] http://sourceforge.net/p/emc/mailman/message/32442282/
>


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to