On Mon, 4 Jan 2021 19:46:53 -0300, in gmane.comp.hardware.beagleboard.user
Vinicius Juvinski
<[email protected]> wrote:


>
>My main question is how to use the offsets.

        By adding them to the correct BASE address...

>How 0x0002_2000 will become 0x4B2A2000?

        From my previous post:

>       Page 397 has
>-=-=-
>PRU-ICSS1 0x4B20_0000 0x4B27_FFFF 512KiB PRU-ICSS1 configuration registers
>PRU-ICSS2 0x4B28_0000 0x4B2F_FFFF 512KiB PRU-ICSS2 configuration registers
>-=-=-

        That's table 2-1 L3 MAIN memory map. 

        Page 418 table 2-12 PRU-ICSS memory map has 
-=-=-
PRUSS_PRU0_CONTROL 0x0002_2000 0x0002_23FF 1KiB PRU-ICSS PRU0 control
-=-=-

... so for PRU-ICSS2 (second PRU module) base, PRU0 control (first PRU in
the module) you have

        0x4B28_0000 + 0x0002_2000 => 0x4B2A_2000


-- 
Dennis L Bieber

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/78v8vf52se0r5573gvq988eg1r5ni9fv33%404ax.com.

Reply via email to