Still coming up the USBizi learning curve and looking for help / suggestions / examples to accomplish the following.
We want our product to perform USB keyboard emulation. It will receive data from a barcode scanner on a com port, process it and then send it out to the PC using USB HID keyboard (keyboard emulation). It will send various fields of data with keyboard navigation keystrokes like TAB, RIGHT ARROW, etc to autofill a form running on the PC using a user defined formula or script. Since form layout will change, we need to update this formula or script. This leads to our second requirement, USB application configuration.
Using the USB CDC virtual serial feature, we think its possible to communicate with our application or an SD card to update this formula or script. So we want to read and write configuration data. It appears the CDC - Virtual Serial feature will do this for us.
Finally, we want to be able to update our application in the field using the same USB cable. We will provide software to our customers who will run it on their local PC and this software will update or replace our application in the USBizi chip. Searching the forums/tutorials, we think the USBiziUpdater may be important and we are hoping it would work over USB using the CDC - Virtual Serial feature.
We are using USBizi chip in our design (FEZmini) and are interested in finding hardware/software examples to accomplish the above.
The questions we have now are
1.) Is the above possible?
2.) What are best practices for changing the operational modes for the USB port (i.e. using switches versus software timeout).
3.) Best way to save configuration data? Since we may be logging barcode scan data in our device, we are already considering using the SD card but are interested in using USBizi internal flash (if accessible) to save a few hundred bytes of data.
Any guidance is greatly appreciated.