openpcd errors (was: green LED flashing?)
Robin O'Leary
openpcd-devel at unique.ro.nu
Tue Feb 26 21:46:48 UTC 2008
On Fri, Feb 22, 2008 at 06:14:57PM +0000, Robin O'Leary wrote:
> ...the wiki makes no mention of the green LED, which I therefore assume
> should be off---but my green LED flashes at about 2Hz. Is this normal?
Looking at the firmware source, I think this is normal, but I'd still
like someone to confirm it.
On Fri, Feb 22, 2008 at 06:14:57PM +0000, Robin O'Leary wrote:
> ...'librfid/utils/librfid-tool -s' says: ...
> No OpenPCD found
> No Omnikey Cardman 5x21 found
This turned out to be because I didn't have libusb-dev installed when
I built librfid, so rfid_readers[] was empty. Now I have it, running
'librfid-tool -s' gets further, but does not detect an openpcd-branded
mifare-classic card on top of the reader, saying only:
opening reader handle OpenPCD, CM5x21
scanning for RFID token...
With today's librfid (revision 2089) and DEBUG_LIBRFID defined,
I see several different errors reported on successive runs, e.g.
...
rfid_scan.c(54):rfid_layer2_scan: testing l2 0
rfid_scan.c(54):rfid_layer2_scan: testing l2 1
rfid_scan.c(54):rfid_layer2_scan: testing l2 2
rfid_layer2_iso14443b.c(302):iso14443b_init: fsd is 64
rfid_asic_rc632.c(1335):rc632_iso14443b_init: entering
rfid_layer2_iso14443b.c(310):iso14443b_init: error during reader 14443b init
rfid_scan.c(54):rfid_layer2_scan: testing l2 3
...
...
rfid_scan.c(54):rfid_layer2_scan: testing l2 0
rfid_scan.c(54):rfid_layer2_scan: testing l2 1
rfid_asic_rc632.c(139):rc632_clear_bits: error during reg_read(0xb7fb9cc8, 9):-19
rfid_layer2_iso14443a.c(143):iso14443a_anticol: error during transceive_sf: -1
rfid_scan.c(54):rfid_layer2_scan: testing l2 2
rfid_layer2_iso14443b.c(302):iso14443b_init: fsd is 64
rfid_asic_rc632.c(1335):rc632_iso14443b_init: entering
rfid_layer2_iso14443b.c(310):iso14443b_init: error during reader 14443b init
rfid_scan.c(54):rfid_layer2_scan: testing l2 3
...
...
rfid_scan.c(54):rfid_layer2_scan: testing l2 0
rfid_scan.c(54):rfid_layer2_scan: testing l2 1
rfid_asic_rc632.c(422):rc632_transceive: timeout=92, rx_len=0, tx_len=2
rfid_asic_rc632.c(437):rc632_transceive: status_flag: 0x00, mIdle
rfid_asic_rc632.c(439):rc632_transceive: status_flag: 0x00, mIdle
rfid_asic_rc632.c(441):rc632_transceive: status_flag: 0x00, mIdle
rfid_asic_rc632.c(443):rc632_transceive: error_flag: 0x00
rfid_asic_rc632.c(233):best_prescaler: timeout 920 usec, prescaler = 0, divisor = 6
rfid_asic_rc632.c(273):rc632_wait_idle_timer: status_flag: 0xb7, Hi, IRQ, Lo, mTXeof
rfid_asic_rc632.c(288):rc632_wait_idle_timer: interrupt_flag: 0xf3, HiA, LoA, TX, TIMER, SET
rfid_asic_rc632.c(291):rc632_wait_idle_timer: timer expired before RX!!
rfid_asic_rc632.c(482):rc632_transceive: rc632_wait_idle >> ret=-110 ETIMEDOUT
rfid_asic_rc632.c(967):rc632_iso14443a_transceive_sf: error during rc632_transceive()
rfid_layer2_iso14443a.c(143):iso14443a_anticol: error during transceive_sf: -110
rfid_scan.c(54):rfid_layer2_scan: testing l2 2
rfid_layer2_iso14443b.c(302):iso14443b_init: fsd is 64
rfid_asic_rc632.c(1335):rc632_iso14443b_init: entering
rfid_layer2_iso14443b.c(310):iso14443b_init: error during reader 14443b init
rfid_scan.c(54):rfid_layer2_scan: testing l2 3
...
The above were done as a normal user with a card near the reader,
but I get similar errors as root and/or without a card in the field.
Robin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20080226/8152f30d/attachment.pgp
More information about the openpcd-devel
mailing list