We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi!
I'm using El-Chan code for SD Card. I can initialize the card, but I can't write in the SD Card.
I'm using DMA, and the problem is that DMA just works on USB RAM. And the data that should be in that area its not.
Can someone show me how can I declare a variable in USB RAM (0x7FD00000)?
Sorry for my english.
Leo
For just single variable, "at" attribute may be easier.
U32 UDCA[USB_EP_NUM] __attribute__((at(0x7FD00000)));
When you place more variables, "#pragma arm section" and customized scatter file will be required.
Placing functions and data at specific addresses http://www.keil.com/support/man/docs/armlink/armlink_BABDJCAA.htm
Tsuneo
Thank you! It works.