I try to modify PowerSwitch firmware to my own application.
I try to leave out all unnecessary code to save flash.
Question:
What are the ActionTimers good for? Somehow taking them out the device isn't recognized on the USB bus any longer.
Does the USB driver need the timer interrupt?
Thanks
Question on PowerSwitch
I have restarted all over and still have the same problem. Here is what I did:
1. Compiled the original firmware from PowerSwitch.2007-06-25.zip
and flashed it. Works fine
2. Added a single line to main.c:
#define TEST_DRIVER_SIZE /* <<< added this line */
#ifndef TEST_DRIVER_SIZE /* define this to check out size of pure driver */
...
Recompiled and flashed. => the USB device isn't recognized on the bus any longer. I thought the alternate main() on the very bottom of main.c should suffice for the device being recognized on the USB bus!??
1. Compiled the original firmware from PowerSwitch.2007-06-25.zip
and flashed it. Works fine
2. Added a single line to main.c:
#define TEST_DRIVER_SIZE /* <<< added this line */
#ifndef TEST_DRIVER_SIZE /* define this to check out size of pure driver */
...
Recompiled and flashed. => the USB device isn't recognized on the bus any longer. I thought the alternate main() on the very bottom of main.c should suffice for the device being recognized on the USB bus!??