Hi all,
actually I will answer here, because this could serve as future reference for 
the people who face the same problem.

What I did after ATR was changing my controllers set-up regs, to reflect F=512 
and D=8 parameters sent by the card via ATR. Conversation after the change did 
not work.

Looking via oscilloscope, I found out that my controller was forming characters 
well, conforming to the new speed (F=512, D=8), but the card was still 
expecting character duration conforming to the old (ATR default) speed.

Well this sounded strange, because card itself proposed me these parameters, 
and as I understood standard, card will hold to the default (F=372, D=1) 
parameters just during ATR, but it will automatically switch to the new speed 
after ATR and will expect communication at this speed. Right? WRONG!

Actually, card will not change none of the default parameters unless we 
initiate PPS (or PTS, Protocol Type Selection). There we can change protocol 
and other prams, if card support them, using PPS protocol described in the 
standard. Card will respond to us with PPS characters received if all goes well.

After this we should re-set our controller to new speed, and now conversation 
will be OK, because both card and terminal will expect same duration of the 
characters.

Best regards,
Drasko

--
This message was sent on behalf of [email protected] at 
openSubscriber.com
http://www.opensubscriber.com/message/[email protected]/14186951.html
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to