Hello,

I contacted the manufacturer of the sound card device I am working with.  They 
sent a data sheet, so I have the I/O pin numbers.  They also sent me some 
software to read and write bytes to the GPIO registers.  This was some source 
code and a compiled binary.  Unfortunately the binary was compiled for a 
different Product ID than the device I have.  Doubleplus unfortunately the 
source code for the .lib file which actually sends the data packets to the 
device is already compiled.  I have the header file, but not the source.

So, to figure out the data packet format I think I have to do the following:

1) Recompile the demo code with the correct Product ID for my model of sound 
card
2) Use the demo app to send packets to the device and record USB data with a 
sniffer app
3) Pick out the data format
4) Write PyUSB code to do make packets

Unfortunately the demo code is Microsoft Visual C++ (using MFC).  What is the 
easiest way to recompile the source?  Is there another way to examine 
the .lib file and find out how it works?  Is there another way to use 
the .lib file with another program to send data to the device?

I did ask the manufacturer for the source of the .lib file (just the code to 
write a packet to this device) but they didn't send it to me.

It would actually be very useful to have the demo app working because I could 
test the GPIO function with the circuit I am building.  If it doesn't work 
then there is no point in going further.

Any help or advice would be appreciated.

Thank you,

Andrew

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to