Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2013-09-29 17:20:52

jonor
Contributor
Registered: 2009-09-17
Posts: 97

[PATCH] hf 14b snoop blew circular buffer

While I'm waiting the write access to svn. I sent a new patch.

With this patch the problem of blew circular buffer in hf 14b snoop disappear.
It's very to hard to explain, but the problem of blew circular buffer was resolved for me with the change of gcc, from yagarto 4.6.2 to launchpad gcc 4.7.4, so I thought the problem was the compiler. Today I discoverd there was a simple patch never submitted to svn, because was a simple change to LED status always ignored when I prepared the patches to submit in svn.
This is the patch, a simple row removed. Without this row with latest svn and launchpad gcc 4.7.4 I can snoop without problems.
If I compile the same code with yagarto gcc 4.6.2 I got blew circular buffer also with this patch.

Index: armsrc/iso14443.c
===================================================================
--- armsrc/iso14443.c   (revision 786)
+++ armsrc/iso14443.c   (working copy)
@@ -269,7 +269,7 @@
             break;
     }

-    if (Uart.state == STATE_ERROR_WAIT) LED_A_OFF(); // Error
+    //if (Uart.state == STATE_ERROR_WAIT) LED_A_OFF(); // Error

     return FALSE;
 }

Offline

#2 2013-09-30 20:10:50

jonor
Contributor
Registered: 2009-09-17
Posts: 97

Re: [PATCH] hf 14b snoop blew circular buffer

Submitted as r787

Offline

#3 2013-10-01 01:15:28

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: [PATCH] hf 14b snoop blew circular buffer

I like your patches wink

Offline

#4 2013-10-06 09:07:48

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: [PATCH] hf 14b snoop blew circular buffer

Well sorry for the double-post but I think it's time to "clean" the issue page  smile

Last edited by asper (2013-10-06 09:08:19)

Offline

Board footer

Powered by FluxBB