Proxmark developers 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.

#51 2015-01-27 10:13:17

holiman
Contributor
Registered: 2013-05-03
Posts: 566

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

yes and no. I haven't decided what timer to use. There are several to choose from:

* number of samples, has historically been used. Pretty useless.
* number of ssc_clock-ticks. Used in iso14443a. Uses all timers, depends on FPGA clock and FPGA-mode.
* number of microseconds. Has been used, uses up all ARM-timers. Could conflict with other things which uses timers.
* number of 'ticks'. Looks like a good 'generic' candidate.

The iso14443a timers are extremely finetuned, since piwis prng-attack relied on extreme timing. For generic tracing, I think it's ok with just some kind of decent timer. I don't know which I'll use, so I just used 0 for the moment. Previously, there was no timiing info at all on 'hf 14b list' (correct me if I'm wrong).

Offline

#52 2015-01-27 10:15:04

holiman
Contributor
Registered: 2013-05-03
Posts: 566

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

I may just put " < na > " in the timing column in case the value is 0. That makes it look less like a bug and more like unimplemented functionality, which is the case.

Offline

#53 2015-01-27 10:19:26

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

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

A good timing will be needed while studying 14b smartcard, otherwise i think <na> is more correct. Thank you for you reply.

Offline

#54 2015-01-27 13:01:15

piwi
Moderator
Registered: 2013-06-04
Posts: 472

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

The demodulation and modulation is done by the FPGA with a clock based on the 13,56MHz XTAL. Therefore the ssc_clock should be the only reasonable choice. All other clocks are not in sync with whatever happens in the FPGA and "on air".

Offline

#55 2015-01-27 14:34:08

holiman
Contributor
Registered: 2013-05-03
Posts: 566

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

Yes, but ssc_clk is not necessarily constant... Different modes may use different ssc_clks.

Offline

#56 2015-01-27 14:42:52

holiman
Contributor
Registered: 2013-05-03
Posts: 566

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

Also, you do a lot of black magic with delay lines and stuff to calc the correct time.. I am not sure what to use for e.g. 14443b ...

Offline

#57 2015-01-27 17:27:10

holiman
Contributor
Registered: 2013-05-03
Posts: 566

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

I've tested a bit, made some more tweaks. Hopefully it works now. I also added the extra annotations that you (asper) listed.

Offline

#58 2015-01-27 17:58:43

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

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

Thank you man ! I am low in time int hose days, I will test as soon as I can. The annotation is really a GREAT feature man !

Offline

#59 2015-02-05 14:05:51

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

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

Added more commands.

When parsing snooped bytes the real command in ISO15693 protocol, it is the second byte, the 1st one is a byte containing bit-flags; ex if you have 022001+2bytesCRC the real command is 20 (read block), 02 contains the flags, 01 is the block to read.

Last edited by asper (2015-02-05 14:06:09)

Offline

#60 2015-02-05 20:47:45

holiman
Contributor
Registered: 2013-05-03
Posts: 566

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

@asper, have you been able to test the generic-tracing since my changes (14b) ? I'd like to merge it into main before main-development goes too far ahead..

Offline

#61 2015-02-05 21:57:23

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

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

Yes, my reported tests were from the generic-tracing branch so it works... snooping is a bit difficult (antenna positioning choosiness) but it works !

Offline

#62 2015-02-08 09:41:18

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

Re: Recent changes ('hf 14 list', 'hf iclass list') and loclass

Updated and added more custom commands.

Offline

Board footer

Powered by FluxBB