| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is just to match the behavior in the old uart read DAL.
It does not actually fix any problems, just pushes errors higher
in stack.
Change-Id: Iee065f39a006804be2618c3704e32b3f41a8a59e
|
|
|
|
|
|
|
|
|
| |
This restores the previous DAL behavior for read. It turns out
this is a necessary hack to allow us to abort a pending read
when switching to FW download mode due to a non-responsive
NFC controller.
Change-Id: Ief6f82600bb0603daaa50097a54a5ac42ae0f6b4
|
|
|
|
|
|
|
|
|
| |
Log ALL buffers (including size 1 and long buffers).
Use a more concise format.
This is helpful for debugging FW download failures.
Change-Id: I97370e8daf93ce851a036274ffa2856af05b6941
|
|
|
|
|
|
|
|
|
|
| |
o Fix most libnfc warnings, from 360 to 18
o Make DAL_DEBUG much less verbose and more useful
o Clean up Android.mk
Done with minimal textual diff to minimize merge conflicts.
Change-Id: I918645500723ff7bb092ad9959628fcabac45bec
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also clean up some UART and I2C DAL functions.
o Re-enable FW download
o Use /system/vendor/firmware for pn544 firmware now
o Clean up read() and write() paths for both I2C and UART
o Use new sysfs entry for power and FW control on I2C platforms
o Remove userspace sleep()'s on power control toggle. They are now
done in the kernel as they should be.
Change-Id: I39956d36e02c1eb526a5c546bd3cb74edce4ff18
|
|
|
|
| |
Change-Id: Ie78432b46ded168c72b5f00dd05ea72287ab155d
|
|
|
|
|
|
|
|
|
|
| |
o Fix uart read() implementation
o Temporarily disable firmware update
o Rename ttySx to ttyOx (this should be properly abstracted later)
o Bug fix in #ifdef code
o Update verbose logging arguments
Change-Id: I87814e2be9ddbf5036d5586a2fd82311d56ec47f
|
|\
| |
| |
| |
| |
| |
| | |
per latest advice from NXP.
* commit '252aedb3edd2c04adedeb5c9f8369af504411dad':
Sleep 500us between i2c writes, as per latest advice from NXP.
|
| |
| |
| |
| |
| |
| | |
This should fix pn544 lock-ups seen during wired-mode stress tests.
Change-Id: I606b5909338dc889a475ad880df8646546b9ba40
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
low level traces can be enabled at run-time with:
adb shell setprop debug.nfc.LOW_LEVEL_TRACES 1
and disabled with
adb shell setprop debug.nfc.LOW_LEVEL_TRACES 0
NFC must be turned off and on again for this change to take affect.
Change-Id: Iefdc4873b3ee5bc697f34b307c22c06a6eda0667
Signed-off-by: Nick Pelly <npelly@google.com>
|
|\
| |
| |
| | |
c1f33130d9d2100e6232f8f3c782949c75205be6" into gingerbread
|
| |
| |
| |
| |
| |
| | |
c1f33130d9d2100e6232f8f3c782949c75205be6
Change-Id: I8c2bd923d9dedf89c784199f03fba0e2cfc12009
|
|/
|
|
|
|
| |
NXP have confirmed that 3ms delay is only needed for writes destined for SWP.
Change-Id: I90a5229dbb738e1f00d37a052c7ac55e0e9d215c
|
|
|
|
|
|
|
| |
This patch permit to display the NFC frames exchanged through the I2C line.
To enable that, you just need to enable LOW_LEVEL_TRACES macro.
Change-Id: Ica2ff2e6d111b76c056161ec557346f23d21ada0
|
|
|
|
| |
Change-Id: I9fd0291bfd8ba9d26a0c93bc14d7184a9a188b90
|
|
|
|
|
|
|
|
| |
This patch permit to perform a recovery when a transaction failure is detected.
To detect this exception, we are filtering the Ox57 bytes because this means that the IRQ
line is high but no data is available from PN544.
Change-Id: Ibb55ea3db2bc6cdff2c5b28bbe2127250c5637a8
|
|
|
|
|
|
|
|
| |
Time-out value of 0 is used to indicate minimum value, see e.g.
PH_HAL4NFC_RECV_CB_TIMEOUT in phHal4Nfc_P2P.c where it is used with P2P target
receive in case data has already been received by the PN544
Change-Id: I9f15f2135ca003b848590fc87265edb39d85bf4c
|
|
|
|
| |
Change-Id: Idfed8c90453a0acc7fa632f62a1e20617b4ae7f6
|
|
|
|
| |
Change-Id: I89e08ab079a6c0a83cd5a128ecfee2026411af15
|
|
|
|
| |
Change-Id: I85a4235a4f13e02a61d2c07ca301e72e7b369c8b
|
|
|
|
|
| |
Change-Id: Iee39957227fcdc8e97b520d22032dc97915323f3
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
|
|
|
|
| |
VEN was pulled low for 7ms, as per data sheet, but pn544 not awlays reset.
Increase time.
Change-Id: I7de9e4fc94a0493605f706505962bdfab9d03666
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
|
| |
Change-Id: I2d8d981d01d1e0f035d3dd3485d62dd26028b8ba
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
| |
Change-Id: I27ef4ab66c1b3a9ed4eb668125cda36f7cccd4a7
|
|
|
|
| |
Change-Id: Ib9fe02224daa65a59a87fcd7b5cd8506fca0f3ab
|
|
|
|
|
|
| |
workaround with delay
Change-Id: I736e5f50db749c9570b24194fe3963efbacc5c52
|
|
|
|
|
| |
Change-Id: I2580675e2002546ac28a6a3a5ced7683af9448d9
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
|
| |
Change-Id: Ib6563a94b29c7eb9de6615881eadbdf0e94994c8
S5PC11X: NFC: Enable the STANDBY mode and add enableDiscovery and disableDiscovery for polling loop.
|
|
Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)
Change-Id: Ie47f18423f949a8d3e0815d13f55c814312add24
Signed-off-by: Nick Pelly <npelly@google.com>
|