RS-232 communication

Milosch Meriac meriac at openpcd.de
Thu Mar 18 11:33:14 UTC 2010


Hi Ralph,

Am 18.03.2010 09:56, schrieb Ralph:
 > i have an altera de2-board with a nios2-cpu running on it.
 > unfortunately i'm not able to start any communication with the
 > openpcd-rfid-reader (v0.4). i configuered my rs-232 interface as told
 > on openpcd-wiki ("The parameters for serial communication are
 > 115200/8/N/1.")
 > so, did i forget anything else like sending something like a
 > start-signal to the reader or doesn't provide the openpcd rs-232
 > communication right from the start?
 > would be great if someone could help me with that :)

The serial commands supported depend on the firmware installed. Please 
have a look at:

firmware/src/pcd/main_*.c

see the function "_main_dbgu".

If you want just to detect tag IDs in proximity - use main_presence.c as 
a start - this firmware scans standalone for tags in proximity.

By using AT91F_DBGU_Printk you can output data on the serial port.

Warmest regards,

Milosch



More information about the openpcd-devel mailing list