You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are using the LUFA CDC implementation for the USB interface which is for xmegas still experimental. We have experienced the following problems with that:
When using the Chameleon as reader via the command send with a PC-side running python script, communication between card and Chameleon sometimes breaks down.
When reading out the Chameleon as MF classic emulation, sometimes a sector cannot be read out.
We then have simply detached the Chameleon from the USB port and again tested both (for the first one, we tested a pre-programmed procedure) again and they worked nearly flawlessly. Also, we have seen on the scope, that when using the USB interface, sometimes a miller pulse sent from the Chameleon is a little bit too late. We conclude that the USB interface (and thus LUFA) sometimes breaks the timing while sending (or possibly also receiving) data.
We also tried to use the Atmel USB stack which made everything much worse. Also, on the ATxmega128A4U datasheet, there are no errata regarding the USB module.
So there are two messages for you to know:
If you know anything we could do to solve this or have any suggestions, it would be great if you could write an answer here.
If you want to emulate a card and eliminate the possibility of the USB interface breaking the timing, please use the Chameleon in battery mode without being connected to a PC.
The text was updated successfully, but these errors were encountered:
We've had a big improvement with a recent update of the reader codec, which did not fix this problem completely, but has improved the reader ability (even with USB connection) a lot. Do you use the most recent version?
Yes, I did check the latest version first. But I have to fix issue #131 first as I have a pretentious reader. I will get back to it in a few days. Thanks for the update
tl;dr: Have a look at the end of this issue.
Currently we are using the LUFA CDC implementation for the USB interface which is for xmegas still experimental. We have experienced the following problems with that:
send
with a PC-side running python script, communication between card and Chameleon sometimes breaks down.We then have simply detached the Chameleon from the USB port and again tested both (for the first one, we tested a pre-programmed procedure) again and they worked nearly flawlessly. Also, we have seen on the scope, that when using the USB interface, sometimes a miller pulse sent from the Chameleon is a little bit too late. We conclude that the USB interface (and thus LUFA) sometimes breaks the timing while sending (or possibly also receiving) data.
We also tried to use the Atmel USB stack which made everything much worse. Also, on the ATxmega128A4U datasheet, there are no errata regarding the USB module.
So there are two messages for you to know:
The text was updated successfully, but these errors were encountered: