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

Help: SD Driver for Atmel SAM3U4E

I am working on project with SAM3U-EK board.

I need to work on usbhid and sd driver for the SAM3U-EK board. So I use Keil uVision4.23 USBHID example at \Boards\Atmel\Sam3u-ek\USBHID. The example works fine but when I try to find an example for sd, I cannot to find any from Keil. So I go to Atmel website and download their sd example, basic_sdmmc_project and it works fine on SAM3U-EK board.

Now I want to combine both, usbhid and sdmmc, together and I have a problem:
the header file AT91SAM3U4.h from Keil is totally different from the AT91SAM3U4.h from Atmel sdmmc example. Therefore when I use AT91SAM3U4.h from Keil to compile, I got lots of errors such as: AT91C_HDMA_SRC_ADDRESS_MODE_INCR undefined.

Do Keil has any example for sd/mmc for SAM3U-EK board?

Because I use usbhid example as a basic to communicate with usb and later add more function to it, lcd, led, i2c, usb endpoint, etc.
My projects work on arm7, arm9, lpc2148, lpc2888 and now I want to port to SAM3U. The Keil SAM3U USBHID is very similar to other controllers so that's reason I want to use Keil header file AT91SAM3U4.h
So now I can't use Atmel sdmmc example.