plasticassius

Results 42 comments of plasticassius

At this point, I think the serial over dw is working ok. I've included the mods to the usbtiny device, an example that sends serial over dw, and a monitoring...

Thanks for the comment, I hope it all comes in handy. After too many errors, the usb port does disconnect. The usbmon utility handles this by simply reconnecting. I did...

If what you mean by 6 bit square root is a 6 bit argument, you can use a lookup table: ``` static uint8_t sqrt[] = { a,b,c,d,...}; result = sqrt[arg];...

Ok, well I'm not familiar with this kind of square root function. I just automatically thought of lookup tables when you mentioned an arithmetic function being too slow. Sometimes I...

Not completely stable, but getting there.

By turning off and on the sync interrupt, the monitor gets more stable. I don't get disconnects anymore, but it could use some stress testing.

DW should be open drain since it prevents the two sides from being able to drive the signal in opposite directions. And, it also allows for power supplies to have...

It is possible for usbFunctionSetup to receive a valid setup packet, setting dwState, followed by a lost data packet leading to usbFunctionDwWrite never setting jobState. This happens frequently when there...

The error rate is greatly reduced by including a short break as a preamble. This overcomes interrupt latency on the target. Long breaks are also detected.

Allow the monitor to establish and reestablish connection without switching to dw mode. In fact, the monitor now works on any pin, and doesn't require dw at all, but is...