Forum Discussion
Altera_Forum
Honored Contributor
19 years agoWhat are you pointing the DMA's RADDRESS (read address) towards?
I don't think your issue has anything to do with whether you're using printf or not, as I've found that pointing RADDRESS at non stack-resident variables tends to work (global, statically declared variables, or malloc'ed buffers), whereas anything stack/function resident will return garbage. A simple check (to see if I'm correct) would be to add the 'static' qualifier to any of your stack-resident variables to see if that helps. Cheers, - slacker