Opened 14 years ago
Closed 14 years ago
#838 closed defect (fixed)
NDS 0963 - Initialization problem (" INS 36 too short" problem and fix)
Reported by: | 00.4 | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Card support |
Severity: | medium | Keywords: | INS36 |
Cc: | Sensitive: | no |
Description
To read the boxID, INS 36 is sent. ATM the length of the INS36 to be sent is read with
D0 36 00 80 01
This just returns "00" on the 0963 card and the initialization fails.
The correct cmd to read the INS36 length is
D0 5E 00 0C 02
This returns the P2 value and length for the following INS36.
eg
TX Data : D0 5E 00 0C 02
RX Data : 5E
RX Data : 02 EC
RX Data : 90 00
Thus the INS 36 cmd should be more like
D0 36 00 02 EC
(depending upon the response of the INS 5E)
and the BoxID follows the F3 tag as normal.
I'm not aware of which other NDS systems this may be applicable to aswell.
Note:
See TracTickets
for help on using tickets.
Fixed by rebdog in #8139. Thank you.