Mathias wrote:The sighandler wasn't really that helpfull anyways. What exactly fails on your mac? Didn't it compile or did it crash on runtime? Finding a proper solution shutting down the program is still on my todo list.
Nah, I it didn't solve anything after all. On my Mac, the app froze when I tried to terminate it. With the debug option on, it always failed, but with the debug options off, it some times terminated ok. If I remove the handler, the app will terminate with Ctrl-C, but I'm not sure if it will release the USB device.
Mathias wrote:And I'd say the same thing about this project. Its not hard to understand what I'm doing there, but since this is my first coding on any uC and the first time I do anything with USB, it was quite a learning curve for me. But I can say, I learned a lot about it.
I spent many long hours on my first time around. As you say, it's a really steep curve. And even then, I don't know that much about USB, I only skimmed the surface and got something working.
Mathias wrote:Also if anyone has tips to improve the speed...
Have you benchmarked it? If so, what results did you get. On my AVR32 project, I managed to get around 1 and 1.2 MByte/sec i memory serves me. That was on a FS connection (12Mbps) to a Win7 machine.