Woul it not be easier to allocate some vars as
int Target; // use &(Target or more simple: Target as the pointer.
Your malloc(100) will fail, since an int is not one byte, better would be
dst = malloc(100 * sizeof(int)); // makes you independent of the number of bytes an int has got
Thanks for all the advices. @Bob,your words are right.But did i need to give a specific address(like 0x20008000) to the point before i use the point?Maybe the DMA can only send datas to the specific area of the sram,does'n it?
It is just the other way round: You tell the DMA where to send the data to. No specific area in sram needed.
When starting Creator 3.0 open one of the demo-projects for PSoC5 and DMA. Read about the DMA wizard, too.
Thanks,i will try.