This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Atmel USB FrameWork and ARM RTX

Hello,

I want to use Atmel USB FrameWork on RTX RTOS. Could I use an example "usb-device-massstorage-project-at91sam9260-ek-keil" without a big modifications. I've tried to run this example on the different task, but after first USB interrupt my program crashes. What kind of modifications must I make before to run this example on the different task in RTX. If I use this example without RTX it works perfectly.

Best
Regards
Taris.T

  • Hello,

    I've solved this problem. You must add a line "*AT91C_AIC_EOICR = 0;" (end of interrupt) when you return from USB interrupt "void USBD_InterruptHandler(void) __irq". It's possible to run the mentioned example on the different task after this fix without a big modifications.

    Best Regards
    Taris T.