USB IR Toy test firmware v20 with open source USB stack

The USB IR Toy is the first project to be ported to the open source USB stack. In the past we relied on Microchip’s non-distributable USB stack and it made development a pain. With the new stack we can give you all the files, and compiling should be easy as clicking a button.

You can grab the third test release in the forum, and load it into an IR Toy v1 or v2 using the normal instructions.

This is only a test release, and there are many known bugs. So far, these features work reasonably well:

  • IRman RC5 decoder mode. Well tested
  • IR Sample receive mode (WinLIRC, EventGhost). Well tested
  • IR Widget compatibility mode
  • Overall USB connectivity is solid
  • Minor modes like USB->Serial converter, etc should work fine

Known issues. We know these things just don’t work yet. With the new stack they’ll get better fast though:

  • IR transmit and compatibility with any IR Toy REC & PLAY utility
  • SUMP logic analyzer mode crashes the client, but works fine in terminal

The biggest show-stopper is the SUMP logic analyzer problem. It works fine in a terminal, but with the actual client there are problems:

  • At 115K BPS one capture is possible, but at the end the IR Toy disconnects from the PC
  • At 900KBPS, pressing the capture button crashes the client completely, even before data is send (just opening the port). The IR Toy still works in a terminal and will return SUMP data just fine

We need lots of help testing this release in the real world. Especially multi-platform tests of the buggy SUMP mode with the OLS client.

As always, all code contributions and debugging help are appreciated with fame and free PCB coupons.

Join the Conversation

2 Comments

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.