Hello all,
I work with Nadim on this subject.
We have additionnal questions because we started to notice strange things.
In LoggerSM_getBinary on line 341 is a
fwrite(readPtr, numBytes, 1, LoggerSM_obj.outfile)
In our case numBytes is around 60200 bytes. ReadPtr value is good, it points at the right place in the MSMC shared memory.
The outfile is in the ucLinux file system which is in DDR3.
We added some code around the fwrite and we see that fwrite returns 0 and errno = 14 (EFAULT).
The strange thing is that the data we get in the binary file (much smaller than expected) is OK because we see the same binary words in the memory browser.
We are wondering if it's not related to the mapMem part of the initialization which we don't really understand well for now.
Do you have any ideas with these issues ?
Thank you,
Clement