Monday, February 18, 2008
USB I/O on the PIC18F4550
USB sends out and receives groups of 8 bytes of data very, very quickly. The PC-side app is written in Visual Basic 6. It randomly selects values for the 8 bytes of outgoing information. The firmware takes those 8 bytes and adds 1 to each of them. When the PC-side app asks for the information back you can see that 1 has been added to each byte.
You can see the values for the bytes that the PC-side app sent out (red arrow) and that the values sent back have 1 added to each of those bytes (blue arrow).
(Read the whole story)