I've programed the DSP SRIO to be the host and the FPGA to send it's packets to the DSP via MAINT_WR.
I have a "standalone" program that performs MAINT_RD/MAINT_WR/NREAD/NWRITE all successfully.
When I take the identical program and make it a task (the only task running) under DSP BIOS v6 the MAINT_RD fails (the contents of destination address on the DSP are unmodified after a "sucessfull" MAINT_RD with no errors.)
MAINT_WR and NREAD (not sure about NWRITE) work. (so I can program the FPGA, but then can't read the packet size from the FPGA to know how much to read with the NREAD.
My MAINT_WR are 8 bytes, but 4 bytes work too, MAINT_RD produces no data for either 4 or 8 byte reads.
Do I need to disable interrupts around either/both of the CSL_srioLsuSetup() or CSL_srioGetHwStatus() calls?