Simon Küppers
Simon Küppers
Plus 2 endpoints from this line: https://github.com/emsec/ChameleonMini/blob/603121bc21d0caa71e2faa67cfef81da3e8ee075/Firmware/Chameleon-Mini/LUFADescriptors.c#L157 However it may be possible to reduce the endpoint buffer size, if I am not mistaken.
This poses a severe race condition problem! The protocol "framing" using CRLF was originally put in place (by me) to solve the issue of finding the end of the response....
Quite impressive! Like to see the way you implemented it in your Code.
I noticed the "xhci_hcd" in the Kernel Log. So maybe it is an issue with USB 3.0? Can you test the Chameleon with a USB 2.0 port or USB 2.0-only...
Also, what avrdude are you using (What Linux Distro+Packet Repo resp. build from sources?). According to this (old) bug, it might be a problem in a (very old, or unpatched)...
So my guess is confirmed. I Wunder whether the fault is in the OS, libusb, avrdude or the atmel bootloader. David, is there a known-bugs page to document the issue?
Thank you for your tenaciousness. If you now switch back to the non-working (with avrdude anyway) USB hub, can you successfully connect to the Chameleon COM Port and issue commands?...
It's interesting that changing the -B parameter changes behavior at all. It is supposed to set the click speed when using the hardware isp interface. Someone should check what the...
I think a better solution to this problem is to add a new command to the chameleon command line, e.g. "SETTING_STORAGE=OFF" that is set to ON automatically on every startup...
I would just replace the string "EOT" by 0x04 from the ASCII table ("End Of Transmission"), since all output from the chameleon is ASCII. A human readable terminal application would...