ggxnd
New Contributor
2 years agoMemory Conflicts in onchip ram
I am using IOWR_32DIRECT to write contents in the on-chip ram and using IORD_32DIRECT to read from the same address where I performed write operation. Upto few memory location the write and read data matches. Issue arises when I perform those operation in a loop till I fill the complete on-chip ram addresses (say 2MB), it results in some memory conflicts. Either write data and read data is not matching or the compiler is not processing properly resulting in some weird print character. Does it depends on number of times IOWR_32DIRECT and IORD_32DIRECT execution? On what part of hardware configuration does it depends on? What is the minimum program area needed for such functionality?
Thanks in Advance!