Hello,
First think i se is you write the adress of addr to the file, not the content of addr..., you must remove the & in write block...
SD_WriteBlock(startadr, addr, blocksiz);
or i think
SD_WriteBlock(startadr, test, blocksiz);
It will proberly give a type warning..
For the read:
u32 start=((u32)0x00000000);
char antwort[4096];
SD_ReadBlock(start, antwort,blocksiz);
antwort[6]=0;
printf_screen(antwort);
When you have an array, the reference to the name (antwort) will give you automaticly the adress to the ram point, if you use antwort[0] it will give you the first data in the array
Hope that can help you a tlitle
Kasper