Coder Social home page Coder Social logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 3 Aug 2009 at 3:30

  • Changed state: Accepted

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 2 Sep 2009 at 5:04

  • Changed state: Started

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
Using svn trunk r86 with DEBUG__TRY_ARYGON_APDB defined, i got this output:

# nfc-list
DBG dev_arygon.c:64: Trying to find ARYGON device on serial port: /dev/ttyUSB#
DBG dev_arygon.c:85: Successfully connected to: /dev/ttyUSB0
 TX: 32  00  00  ff  04  fc  d4  06  00  00  26  00
DBG rs232.c:145: RX time-out.
 RX: 00  00  ff  00  ff  00  00  00  ff  03  fd  d5  07  00  24  00
 TX: 32  00  00  ff  02  fe  d4  02  2a  00
ERROR: Unable to receive data. (RX)
ERROR: Unable to connect to NFC device.

Any idea ?

Original comment by [email protected] on 3 Sep 2009 at 10:27

  • Changed title: Some NFC ARYGON readers doesn't work (APDB)

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
Using svn trunk r87 with DEBUG__TRY_ARYGON_APDB defined, i got this output:

$ nfc-list
DBG dev_arygon.c:64: Trying to find ARYGON device on serial port: /dev/ttyUSB#
DBG dev_arygon.c:85: Successfully connected to: /dev/ttyUSB0
 TX: 32  00  00  ff  04  fc  d4  06  00  00  26  00
 RX: 00  00  ff  00  ff  00  00  00  ff  03  fd  d5  07  00  24  00
 TX: 32  00  00  ff  02  fe  d4  02  2a  00
DBG rs232.c:144: RX time-out without received data.
ERROR: Unable to receive data. (RX)
ERROR: Unable to connect to NFC device.

Original comment by [email protected] on 3 Sep 2009 at 11:45

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
Using svn trunk r88 with DEBUG__TRY_ARYGON_APDB defined, APDB1UA33N works.

Unfortunately, APDB2UA33 does not:
$ nfc-list
DBG dev_arygon.c:66: Trying to find ARYGON device on serial port: /dev/ttyUSB#
DBG dev_arygon.c:87: Successfully connected to: /dev/ttyUSB0
 TX: 32  00  00  ff  04  fc  d4  06  00  00  26  00
 RX: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00  00  00  00
 TX: 32  00  00  ff  02  fe  d4  02  2a  00
 RX: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00  00  00  00
 TX: 32  00  00  ff  04  fc  d4  06  63  3d  86  00
 RX: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00  00  00  00
Segmentation fault

Original comment by [email protected] on 3 Sep 2009 at 12:39

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 3 Sep 2009 at 12:43

  • Changed state: Accepted

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
GDB trace:

$ gdb nfc-list
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) r
Starting program: /usr/bin/nfc-list
[Thread debugging using libthread_db enabled]
DBG dev_arygon.c:66: Trying to find ARYGON device on serial port: /dev/ttyUSB#
DBG dev_arygon.c:87: Successfully connected to: /dev/ttyUSB0
 TX: 32  00  00  ff  04  fc  d4  06  00  00  26  00
 RX: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00  00  00  00
 TX: 32  00  00  ff  02  fe  d4  02  2a  00
 RX: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00  00  00  00
 TX: 32  00  00  ff  04  fc  d4  06  63  3d  86  00
 RX: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00  00  00  00
[New Thread 0xb7d8b8c0 (LWP 32216)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7d8b8c0 (LWP 32216)]
0xb7f195a9 in pn53x_set_reg (pdi=0xbfb50800, ui16Reg=<value optimized out>,
ui8SybmolMask=0 '\0', ui8Value=61 '=') at libnfc.c:130
130       pncmd_set_register[4] = ui8Value | (pn53x_get_reg(pdi,ui16Reg) &
(~ui8SybmolMask));
(gdb)

Original comment by [email protected] on 3 Sep 2009 at 2:53

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
Problem was due to speed setting problem. Fixed in r110.

Original comment by [email protected] on 14 Sep 2009 at 4:18

from libnfc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 14 Sep 2009 at 4:18

  • Changed state: Fixed

from libnfc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.