Hello,
I want to read memory cells (some equlaizer wieghts) on the e500 linux side that are in use on the DSP SC3850 side for online debug (see the wieghts value on screen) without using IPC.
The DSP is writing the wieghts to specific address in the DDR, but when i try to read them with cpp app i wrote on linux (e500) i get "segmentation fault" error.
Is there a way to somehow overcome this?
See the following pages about accessing to physical memory under Linux:
https://www.win.tue.nl/~aeb/linux/lk/lk-9.html
https://falsinsoft.blogspot.com/2013/10/access-physical-memory-in-linux.html
https://www.linuxquestions.org/questions/programming-9/physical-memory-access-in-linux-925776/
https://linux-kernel-labs.github.io/refs/heads/master/labs/memory_mapping.html
https://www.oreilly.com/library/view/linux-device-drivers/0596005903/ch15.html
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------