[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] serial comunication in petalinux
Thanks for your response Falk, it was very useful
do you know if there is a FREE linux distribution to work in PowerPC processor (like Petalinux to microblaze)??, if yes, are they RTOS?
and is there another RTOS to uClinux besides RTLinux??
thanks for your help
Brettschneider Falk <fbrettschneider@xxxxxxxxxxxxxxx> escribió:
Hi moises,
You can turn your uClinux into an RTOS with Alejandro's excellent patch:
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2007/03/msg00088.html
The serial port via the uart_lite driver can easily be used this way (though no change of the port settings like e.g. the baud rate is possible):
ok =
io_serial_xuartlite_openPort(serialPortNo),
io_serial_xuartlite_closePort(serialPortNo),
written = io_serial_xuartlite_writeBlock(serialPortNo, pData, nLength),
yes = io_serial_xuartlite_byteAvailable(serialPortNo),
readBytes = io_serial_xuartlite_readBlock(serialPortNo, pBuffer + readTotal, stillToRead),
Cheers, F@lk
moises j. cabrera wrote:
> how can i use the serial port in uClinux?? how can i received/send data??
>
> Also i want to know if there is some kind of patch o something like that that make the
> uClinux >works in real time (convert in RTOS)??
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
¡Sé un mejor asador!
Aprende todo sobre asados en:
http://telemundo.yahoo.com/promos/mejorasador.html