Forum Discussion
Altera_Forum
Honored Contributor
11 years agoSGDMA Interrupt
Hi, I'm having a major issue with the SGDMA component - the callback function that I've defined does not run. I'm not sure whether my code is flawed and I'm not calling the ISR function correct...
Altera_Forum
Honored Contributor
11 years agoUPDATE: The ISR executes correctly now, the CPU instructions were being overwritten in the SDRAM by the SGDMA, so I moved them to on chip memory.
Unfortunately, when I check what's being written to the SDRAM, I only get 84 bytes of coherent data at the address 0x0 (ie: write_addr), before the values -1 and 0 are written for 32kb (ie: the specified write length), followed by 40 bytes of cohenrent data.