From kirti.chopra at mavs.uta.edu Mon Mar 1 17:51:47 2010 From: kirti.chopra at mavs.uta.edu (Chopra, Kirti) Date: Mon, 1 Mar 2010 17:51:47 +0000 Subject: Openpcd reader not working Message-ID: <0FA3B141AE3DFE48995801B15AFDF61CB25F@BL2PRD0103MB054.prod.exchangelabs.com> Hi, I am using Ubuntu 8.04 and openpcd RFID reader v04. I have been able to compile librfid and build firmware. I can also set red LED on and off. Now that I am trying to read an ISO 14443 B credit card or a ISO 15693 tag , the reader does not detect the card. The message I get is initializing librfid opening reader handle OpenPCD, CM5x21 scanning for RFID token... also sometimes it does not detect the reader at all. The message I get is initializing librfid opening reader handle OpenPCD, CM5x21 No OpenPCD found No Omnikey Cardman 5x21 found Can anyone please tell me what is the possible problem? Thanks & regards Kirti -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20100301/b97cb142/attachment.htm From kirti.chopra at mavs.uta.edu Wed Mar 17 21:32:34 2010 From: kirti.chopra at mavs.uta.edu (Chopra, Kirti) Date: Wed, 17 Mar 2010 21:32:34 +0000 Subject: main_dumbreader COMPILE ERROR - please help!! Message-ID: <0FA3B141AE3DFE48995801B15AFDF61C012209@BL2PRD0103MB060.prod.exchangelabs.com> Hello, After I issue build command "make DEBUG=1 BOARD=PCD TARGET=main_dumbreader" for openpcd main_dumbreader firmware I get following error message. I get same error message with DEBUG=0 as well . No error messages with "make BOARD=PCD TARGET=main_dumbreader" Linking: main_dumbreader.elf arm-none-eabi-gcc -mcpu=arm7tdmi -I. -gdwarf-2 -DRUN_FROM_ROM -D__MS_types__ -D__LIBRFID__ -DDEBUG -DPCD -D__AT91SAM7S128__ -Isrc/pcd -Iinclude -Isrc -O2 -Wall -Wextra -Wcast-align -Wimplicit -Wunused -Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow -Wbad-function-cast -Wsign-compare -Waggregate-return -Wa,-adhlns=src/start/ Cstartup_app.lst -I../librfid.hw/include/ -MD -MP -MF .dep/main_dumbreader.elf.d src/start/Cstartup_app.o lib/changebit.o lib/clearbit.o lib/setbit.o lib/testchangebit.o lib/testclearbit.o lib/testsetbit.o lib/lib1funcs.o lib/div64.o lib/lib_AT91SAM7.o lib/vsprintf.o lib/ctype.o lib/string.o src/os/pcd_enumerate.o src/os/fifo.o src/os/dbgu.o src/os/led.o src/os/req_ctx.o src/os/trigger.o src/os/main.o src/os/syscalls.o src/os/usb_handler.o src/os/usb_benchmark.o src/os/tc_cdiv.o src/os/pit.o src/os/pwm.o src/os/pio_irq.o src/os/usbcmd_generic.o src/os/wdt.o src/os/blinkcode.o src/os/system_irq.o src/os/flash.o src/pcd/rc632.o src/pcd/rc632_highlevel.o src/pcd/main_dumbreader.o --output main_dumbreader.elf -nostartfiles -Wl,-Map=main_dumbreader.map,--cref -lc -lgcc -L../librfid.hw/src/.libs/ -Tlink/AT91SAM7S128-ROM-sam7dfu-app.ld /root/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/libgcc.a(_udivsi3.o): In function `__aeabi_uidiv': (.text+0x0): multiple definition of `__udivsi3' lib/lib1funcs.o:/home/kirti/env/firmware/lib/lib1funcs.S:183: first defined here /root/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/libgcc.a(_udivsi3.o): In function `__aeabi_uidiv': (.text+0x0): multiple definition of `__aeabi_uidiv' lib/lib1funcs.o:/home/kirti/env/firmware/lib/lib1funcs.S:183: first defined here collect2: ld returned 1 exit status make: *** [main_dumbreader.elf] Error 1 Can you please help as I have got my project deadline in 2 weeks. Kindly help. Thanks & regards Kirti -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20100317/3328df06/attachment.htm From vogelchr at vogel.cx Thu Mar 18 06:57:00 2010 From: vogelchr at vogel.cx (Christian Vogel) Date: Thu, 18 Mar 2010 07:57:00 +0100 Subject: main_dumbreader COMPILE ERROR - please help!! In-Reply-To: <0FA3B141AE3DFE48995801B15AFDF61C012209@BL2PRD0103MB060.prod.exchangelabs.com> References: <0FA3B141AE3DFE48995801B15AFDF61C012209@BL2PRD0103MB060.prod.exchangelabs.com> Message-ID: <20100318075700.30362kp1cx3x8p8g@webmail.df.eu> Hi, try the patch from http://lists.openpcd.org/pipermail/openpcd-devel/2010-February/000282.html udivsi3 is already included in libgcc.a and thus has to be removed from lib1funcs.S. Greetings, Chris From erdeanralph at googlemail.com Thu Mar 18 08:56:05 2010 From: erdeanralph at googlemail.com (Ralph) Date: Thu, 18 Mar 2010 09:56:05 +0100 Subject: RS-232 communication Message-ID: <2cd019e91003180156x1c22acd8raaec7c1ad2d5efc5@mail.gmail.com> Hi, 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 :) with regards... Christian From mathieu.deloitte at student.uclouvain.be Thu Mar 18 10:23:00 2010 From: mathieu.deloitte at student.uclouvain.be (Mathieu Deloitte) Date: Thu, 18 Mar 2010 11:23:00 +0100 Subject: Manage the field of the reader (OpenPCD) Message-ID: <45C0CFB9-A30B-490F-8B04-D31ECAC7BBC9@student.uclouvain.be> Hi, I would like to manage to field of the reader (OpenPCD). Does someone know how it is possible to do this with LibRFID ? Thanks for your help Mathieu From meriac at openpcd.de Thu Mar 18 11:33:14 2010 From: meriac at openpcd.de (Milosch Meriac) Date: Thu, 18 Mar 2010 12:33:14 +0100 Subject: RS-232 communication In-Reply-To: <2cd019e91003180156x1c22acd8raaec7c1ad2d5efc5@mail.gmail.com> References: <2cd019e91003180156x1c22acd8raaec7c1ad2d5efc5@mail.gmail.com> Message-ID: <4BA20F7A.5050409@openpcd.de> 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 From kirti.chopra at mavs.uta.edu Fri Mar 19 00:52:21 2010 From: kirti.chopra at mavs.uta.edu (Chopra, Kirti) Date: Fri, 19 Mar 2010 00:52:21 +0000 Subject: main_dumbreader COMPILE ERROR - please help!! In-Reply-To: <20100318075700.30362kp1cx3x8p8g@webmail.df.eu> References: <0FA3B141AE3DFE48995801B15AFDF61C012209@BL2PRD0103MB060.prod.exchangelabs.com>, <20100318075700.30362kp1cx3x8p8g@webmail.df.eu> Message-ID: <0FA3B141AE3DFE48995801B15AFDF61C012368@BL2PRD0103MB060.prod.exchangelabs.com> Thanks a lot Chris!! that worked fine. ________________________________________ From: Christian Vogel [vogelchr at vogel.cx] Sent: Thursday, March 18, 2010 1:57 AM To: Chopra, Kirti Cc: openpcd-devel at lists.openpcd.org Subject: Re: main_dumbreader COMPILE ERROR - please help!! Hi, try the patch from http://lists.openpcd.org/pipermail/openpcd-devel/2010-February/000282.html udivsi3 is already included in libgcc.a and thus has to be removed from lib1funcs.S. Greetings, Chris From kirti.chopra at mavs.uta.edu Fri Mar 19 01:14:41 2010 From: kirti.chopra at mavs.uta.edu (Chopra, Kirti) Date: Fri, 19 Mar 2010 01:14:41 +0000 Subject: Openpcd USB device load problem!! Message-ID: <0FA3B141AE3DFE48995801B15AFDF61C01274A@BL2PRD0103MB060.prod.exchangelabs.com> Hi, I am using Ubuntu 9.10 (Karmic Koala) for accessing openpcd v04 reader. I have successfully downloaded main_dumbreader firmware to AT91SAM7 chip. I can toggle red LED as well. When I tried accessing CLRC632 registers using /opcd_test -r I am not able to. Then I tried reading tags using ./librfid-tool -s but receive a message "No openpcd found...............No Cardman 5121 found" After debugging I realized that it is not able to open the reader handle and also on giving dmesg | grep ttyUSB does not display any message or "connected disconnected messages". I did not have modprobe.conf files in modprobe.d , I did create one and added "options USBserial product and vendor " as written in the firmware page. But, still no success. Now, I have realized that I am getting "error opening reader handle...No openpcd found" because the reader module is not getting loaded successfully. There is USB issue. Though I have added 62-openpcd.rules to /etc/udev/rules.d and also librfid.rules to /etc/udev folder. My librfid.rules files added is as follows: # This file is part of the librfid distribution # # udev rules file for supported readers # # ACTION!="add", GOTO="librfid_rules_end" SUBSYSTEM!="usb_device", GOTO="librfid_rules_end" # Omnikey 5121 SYSFS{idVendor}=="076b", SYSFS{idProduct}=="5121", MODE="0664", GROUP="users" # Openpcd SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="076b", MODE="0664", GROUP="users" LABEL="librfid_rules_end" Can anyone please tell still why it is not able to load reader module? Or is it because of Ubuntu 9.10. Do I need to add some more rule file or make some changes to existing file. Thanks & regards Kirti -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20100319/3d471b51/attachment.htm From vogelchr at vogel.cx Fri Mar 19 06:47:41 2010 From: vogelchr at vogel.cx (Christian Vogel) Date: Fri, 19 Mar 2010 07:47:41 +0100 Subject: Openpcd USB device load problem!! In-Reply-To: <0FA3B141AE3DFE48995801B15AFDF61C01274A@BL2PRD0103MB060.prod.exchangelabs.com> References: <0FA3B141AE3DFE48995801B15AFDF61C01274A@BL2PRD0103MB060.prod.exchangelabs.com> Message-ID: <20100319074741.20964nqkjwz8m3ac@webmail.df.eu> Dear Kirti, > ACTION!="add", GOTO="librfid_rules_end" > SUBSYSTEM!="usb_device", GOTO="librfid_rules_end" > # Omnikey 5121 > SYSFS{idVendor}=="076b", SYSFS{idProduct}=="5121", MODE="0664", GROUP="users" > # Openpcd > SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="076b", MODE="0664", GROUP="users" on newer Linux distributions often the "users" group is no longer used because for every user (e.g. kirti) a similar named group is created. Run the command "id" and check if "users" is listed as a group. If not, add your username to the group "users" in /etc/group, e.g. /etc/group: users:x:123:kirti Greetings, Chris From aguirrea at gmail.com Sun Mar 21 15:49:59 2010 From: aguirrea at gmail.com (Andres Aguirre) Date: Sun, 21 Mar 2010 12:49:59 -0300 Subject: contact smart card reader with openpcd Message-ID: Hi, I'm planning to connect a SAM/SIM reader to openpcd, has anybody try to do this? Any recommendation about io pins available to do this? regards -- /\ndr?s -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20100321/416cc619/attachment.htm