Smart Card 7816 receive lost

Table of Contents

ATME AT91RM9200串口有7816模式。

单独测试7816没有问题。但是在有ping包发现APDU出错。

经过DEBUG发现是7816接收APDU丢失字节。怀疑是7816发送接收切换被中断干扰。

修改7816发送最后一个字节在中断进行,发送完毕后打开接收。

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.