Jump to content

NFC Bricklet Firmware not working anymore. (Card Emulation/P2P)


Recommended Posts

Geschrieben (bearbeitet)

Hi,

We experienced an issue with the latest firmware (2.0.6) for card emulation.

Scenario 1
No communication possible between NFC Bricklet and Smartphone

The bricklet is not detected by a smartphone or by another bricklet in reader mode.

(In the previous version, we got “Card Emulator: Transfer NDEF error” frequently (reading with an Android phone and another bricklet) but it was doable.)

Scenario 2
No NFC communication possible among NFC Bricklets.

One nfc bricklet in reader mode (e.g. attached to a raspberry pi),
another nfc bricklet in card emulation mode (e.g. attached to a computer which will select the tag to emulate).

I have tried to have the first bricklet in reader mode (NFC type 4 with NDEF) and the other in card emulation mode with some text (both connected to the same master brick to a computer for now).
With version 2.0.5, I can successfully “Scan for Tag” on the reader but not read any page: I get “Card Emulator: Transfer NDEF error” on the emulator.
With version 2.0.6, I’m unable to detect the emulator from the reader at all.

Scenario 3
No NFC communication possible among NFC Bricklets in P2P Mode.

I have also tried to use P2P mode (one reader, one writer), but there is neither discovery nor communication.

 

Could you please assist me on this issue?

My environment use Brick Viewer 2.4.20 for MacOS; Master Brick with firmware 2.5.0

Best regards,

Paul

bearbeitet von Arodev
Typo
Geschrieben

Between 2.0.6 and 2.0.5 we added new API functions and we changed the optimization level of the compiler for some functions because we didn't have enough firmware space left otherwise.

I will have to look into this, maybe this somehow changed the timing a little bit and that breaks something?

  • 1 month later...
Geschrieben

Very sorry for the long delays. I did take a look last month, but we didn't have any relevant changes regarding the P2P code in the last firmware versions.

The P2P code was always a bit finicky to be honest... Internally we use the official library that NXP provides. Unfortunately this has been unmaintained from NXP for many years now and there are no updates available.

I did put it on my TODO list to add some debug and find out where exactly we get an error during the NCI-Interface communication, but i haven't found time to do this yet. This is unfortunately a big effort because of the complexity of this protocol.

I will add an update if i have any news.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...