BSC9131 read memory on both sides

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BSC9131 read memory on both sides

2,833 Views
olukovizky
Contributor I

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?

Labels (1)
Tags (1)
0 Kudos
1 Reply

2,793 Views
Pavel
NXP Employee
NXP Employee

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://stackoverflow.com/questions/12040303/how-to-access-physical-addresses-from-user-space-in-lin...

 

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos