API changes for v1.0.0
[hackover2013-badge-firmware.git] / tools / examples / sensors / pn532 / MifareClassic_MemDump / readme.txt
1 OVERVIEW
2 ============================================================
3 This example will wait for a Mifare Classic 1K or 4K card to
4 enter the RF field, and then try to dump the card's contents
5 to USB CDC.
6
7 It will work with empty Mifare Classic cards using the
8 default authentication keys:
9
10 Key 1 = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
11 Key 2 = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
12
13 Or with NDEF records using the following keys:
14
15 Key 1 = { 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5 };
16 Key 2 = { 0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7 };
17
18 HOW TO USE THIS EXAMPLE
19 ============================================================
20 1.) Connect the PN532 NFC Breakout Board to UART on the
21 LPC1343 as follows:
22
23 PN532 LPC1343
24 ----- -------
25 GND GND
26 TXD RXD
27 RXD TXD
28 3.3V 3.3V
29
30 Set SEL0 to Off and SEL1 to Off (= UART)
31
32 or via I2C as follows:
33
34 PN532 LPC1343
35 ----- -------
36 GND GND
37 SDA SDA
38 SCL SCL
39 IRQ 3.2
40 3.3V 3.3V
41
42 Set SEL0 to On and SEL1 to Off (= I2C)
43
44 2.) Configure your terminal software to open the USB COM
45 port at 115K.
46
47 3.) When the application starts, there is a 5 second delay
48 (to allow you time to connect via USB CDC), after which
49 point the device will wait for a single ISO14443A card
50 (Mifare Classic, etc.) and try to read it's ID. Once a
51 card is found, the reader will start looking again for a
52 card after a 1 second delay.
53
54 4.) Select whether the default or NDEF keys should be used
55 by setting CARDFORMAT_NDEF to either 1 or 0.
56
57 SAMPLE OUTPUT
58 ============================================================
59
60 Bare Mifare Classic Card Example
61 ------------------------------------------------------------
62 When a new Mifare Classic card is placed in the field you
63 should see results similar to the following:
64
65 -------------------------Sector 00--------------------------
66 Block 00: 6e8ae2b0b60804006263646566676869 n\8aâ°¶...bcdefghi
67 Block 01: 00000000000000000000000000000000 ................
68 Block 02: 00000000000000000000000000000000 ................
69 Block 03: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
70 -------------------------Sector 01--------------------------
71 Block 04: 00000000000000000000000000000000 ................
72 Block 05: 00000000000000000000000000000000 ................
73 Block 06: 00000000000000000000000000000000 ................
74 Block 07: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
75 -------------------------Sector 02--------------------------
76 Block 08: 00000000000000000000000000000000 ................
77 Block 09: 00000000000000000000000000000000 ................
78 Block 10: 00000000000000000000000000000000 ................
79 Block 11: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
80 -------------------------Sector 03--------------------------
81 Block 12: 00000000000000000000000000000000 ................
82 Block 13: 00000000000000000000000000000000 ................
83 Block 14: 00000000000000000000000000000000 ................
84 Block 15: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
85 -------------------------Sector 04--------------------------
86 Block 16: 00000000000000000000000000000000 ................
87 Block 17: 00000000000000000000000000000000 ................
88 Block 18: 00000000000000000000000000000000 ................
89 Block 19: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
90 -------------------------Sector 05--------------------------
91 Block 20: 00000000000000000000000000000000 ................
92 Block 21: 00000000000000000000000000000000 ................
93 Block 22: 00000000000000000000000000000000 ................
94 Block 23: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
95 -------------------------Sector 06--------------------------
96 Block 24: 00000000000000000000000000000000 ................
97 Block 25: 00000000000000000000000000000000 ................
98 Block 26: 00000000000000000000000000000000 ................
99 Block 27: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
100 -------------------------Sector 07--------------------------
101 Block 28: 00000000000000000000000000000000 ................
102 Block 29: 00000000000000000000000000000000 ................
103 Block 30: 00000000000000000000000000000000 ................
104 Block 31: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
105 -------------------------Sector 08--------------------------
106 Block 32: 00000000000000000000000000000000 ................
107 Block 33: 00000000000000000000000000000000 ................
108 Block 34: 00000000000000000000000000000000 ................
109 Block 35: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
110 -------------------------Sector 09--------------------------
111 Block 36: 00000000000000000000000000000000 ................
112 Block 37: 00000000000000000000000000000000 ................
113 Block 38: 00000000000000000000000000000000 ................
114 Block 39: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
115 -------------------------Sector 10--------------------------
116 Block 40: 00000000000000000000000000000000 ................
117 Block 41: 00000000000000000000000000000000 ................
118 Block 42: 00000000000000000000000000000000 ................
119 Block 43: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
120 -------------------------Sector 11--------------------------
121 Block 44: 00000000000000000000000000000000 ................
122 Block 45: 00000000000000000000000000000000 ................
123 Block 46: 00000000000000000000000000000000 ................
124 Block 47: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
125 -------------------------Sector 12--------------------------
126 Block 48: 00000000000000000000000000000000 ................
127 Block 49: 00000000000000000000000000000000 ................
128 Block 50: 00000000000000000000000000000000 ................
129 Block 51: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
130 -------------------------Sector 13--------------------------
131 Block 52: 00000000000000000000000000000000 ................
132 Block 53: 00000000000000000000000000000000 ................
133 Block 54: 00000000000000000000000000000000 ................
134 Block 55: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
135 -------------------------Sector 14--------------------------
136 Block 56: 00000000000000000000000000000000 ................
137 Block 57: 00000000000000000000000000000000 ................
138 Block 58: 00000000000000000000000000000000 ................
139 Block 59: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
140 -------------------------Sector 15--------------------------
141 Block 60: 00000000000000000000000000000000 ................
142 Block 61: 00000000000000000000000000000000 ................
143 Block 62: 00000000000000000000000000000000 ................
144 Block 63: 000000000000ff078069ffffffffffff ......ÿ.\80iÿÿÿÿÿÿ
145
146 NDEF Example
147 ------------------------------------------------------------
148 When an NDEF formatted Mifare Classic card is placed in the
149 field you should see results similar to the following:
150
151 Note: In this case, only the first two sectors are formatted
152 for NDEF using the authentication key, so attempts to read
153 the other sectors fail because the wrong keys are provided
154
155 -------------------------Sector 00--------------------------
156 Block 00: 9eb36e66250804006263646566676869 \9e³nf%...bcdefghi
157 Block 01: 140103e103e103e103e103e103e103e1 ...á.á.á.á.á.á.á
158 Block 02: 03e103e103e103e103e103e103e103e1 .á.á.á.á.á.á.á.á
159 Block 03: 000000000000787788c1000000000000 ......xw\88Á......
160 -------------------------Sector 01--------------------------
161 Block 04: 00000311d1010d550161646166727569 ....Ñ..U.adafrui
162 Block 05: 742e636f6dfe00000000000000000000 t.comþ..........
163 Block 06: 00000000000000000000000000000000 ................
164 Block 07: 0000000000007f078840000000000000 .......\88@......
165 -------------------------Sector 02--------------------------
166 Block 08: Unable to read this block
167 Block 09: Unable to read this block
168 Block 10: Unable to read this block
169 Block 11: Unable to read this block
170 -------------------------Sector 03--------------------------
171 Block 12: Unable to read this block
172 Block 13: Unable to read this block
173 Block 14: Unable to read this block
174 Block 15: Unable to read this block
175 -------------------------Sector 04--------------------------
176 Block 16: Unable to read this block
177 Block 17: Unable to read this block
178 Block 18: Unable to read this block
179 Block 19: Unable to read this block
180 -------------------------Sector 05--------------------------
181 Block 20: Unable to read this block
182 Block 21: Unable to read this block
183 Block 22: Unable to read this block
184 Block 23: Unable to read this block
185 -------------------------Sector 06--------------------------
186 Block 24: Unable to read this block
187 Block 25: Unable to read this block
188 Block 26: Unable to read this block
189 Block 27: Unable to read this block
190 -------------------------Sector 07--------------------------
191 Block 28: Unable to read this block
192 Block 29: Unable to read this block
193 Block 30: Unable to read this block
194 Block 31: Unable to read this block
195 -------------------------Sector 08--------------------------
196 Block 32: Unable to read this block
197 Block 33: Unable to read this block
198 Block 34: Unable to read this block
199 Block 35: Unable to read this block
200 -------------------------Sector 09--------------------------
201 Block 36: Unable to read this block
202 Block 37: Unable to read this block
203 Block 38: Unable to read this block
204 Block 39: Unable to read this block
205 -------------------------Sector 10--------------------------
206 Block 40: Unable to read this block
207 Block 41: Unable to read this block
208 Block 42: Unable to read this block
209 Block 43: Unable to read this block
210 -------------------------Sector 11--------------------------
211 Block 44: Unable to read this block
212 Block 45: Unable to read this block
213 Block 46: Unable to read this block
214 Block 47: Unable to read this block
215 -------------------------Sector 12--------------------------
216 Block 48: Unable to read this block
217 Block 49: Unable to read this block
218 Block 50: Unable to read this block
219 Block 51: Unable to read this block
220 -------------------------Sector 13--------------------------
221 Block 52: Unable to read this block
222 Block 53: Unable to read this block
223 Block 54: Unable to read this block
224 Block 55: Unable to read this block
225 -------------------------Sector 14--------------------------
226 Block 56: Unable to read this block
227 Block 57: Unable to read this block
228 Block 58: Unable to read this block
229 Block 59: Unable to read this block
230 -------------------------Sector 15--------------------------
231 Block 60: Unable to read this block
232 Block 61: Unable to read this block
233 Block 62: Unable to read this block
234 Block 63: Unable to read this block
This page took 0.055663 seconds and 5 git commands to generate.