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

AT91SAM7SE-EK - AT91C_UDP_TXCOMP Interupt only every 1ms

Dear All,

I took the keil sample for AT91SAM7S-EK for mass storage and modufied it for my AT91SAMSE-EK. After the modification the program runs fine and I can use the board as a USB mass storage.

The big problem is the the reading speed on Windows side. Wrtite speed is acceptable. If the PC wants to read something, I read the sector from the flash (wich is pretty fast) and send 64 Byte to the host. After that I wait for the AT91C_UDP_TXCOMP Interupt that should come after the Buffer is empty to transfer the next 64 Byte. But this interupt occurs only every 1ms which slows down the reading speed. Does anybody know why the TXCOMP interupt is comming only every 1ms?

Thanks a lot for the help,

Christian

Parents Reply Children
  • just tried with another windows and ubuntu and got the same results.

    hm. I will go on searching...

  • just tried the board at my "non-PC-System" (X86 with RTOS) and this system tells me, that the drive is not ready. If I connect the board to my PC everything works (still slow, but works). After that I tried a Keil sample board with LPC2148 and got the same problem at the X86 system. A USB-Disk and a USB-CF-Adapter work fine.

    Could it be, that the Keil Mass Storage Samples are a little bit non-standard? Does anybody knows a mass storage sample for the A91SAM7 for keil Realview?