Page 1 of 1

Powerswitch modification

Posted: Tue Dec 11, 2007 5:50 pm
by David
Hi,

The last days i was trying to get a modificated Powerswitch firmware working. I changed the code to fit my needs, and now windows says unknown device found.

I removed all the outputByte, eepromread and write, computetemporarychanges, computeoutputstatus and timerinterrupt functions because I handle the transmited data differently.

I need to know which functions are nececary for the firmware to work and get recognized properly.

Thanks in advice
David Sere

Posted: Fri Dec 14, 2007 7:54 pm
by christian
PowerSwitch is a good example because, if you compile it with TEST_DRIVER_SIZE defined, it generates the minimum USB devices which is recognized by the host. Please note that you need to disconnect and reconnect it manually after flashing the firmware because the disconnect code is not compiled in.