Hi Dennis,

thanks.
Im migrating a cape BBBMINI - Ardupilot cape for beaglebones.

I will test, thanks again.

Em segunda-feira, 4 de janeiro de 2021 01:41:09 UTC-3, Dennis Bieber 
escreveu:
>
> On Sun, 3 Jan 2021 17:50:17 -0800 (PST), in 
> gmane.comp.hardware.beagleboard.user Vinicius Juvinski 
> <[email protected] <javascript:>> 
> wrote: 
>
> > 
> >Anyone please help me in what is the addresses for PRU2_0 for this 
> >addresses ? I tried all the addresses I found at AM5729 Reference manual 
> >and digging the filesystem I achived this addresses: 
>
>         I presume you are using a BB AI board then? 
>
> >#define RCOUT_PRUSS_RAM_BASE      0x4b280000 
> >#define RCOUT_PRUSS_CTRL_BASE     0x4b24000 
> >#define RCOUT_PRUSS_IRAM_BASE     0x4b2b4000 
> >#define RCIN_PRUSS_RAM_BASE       0x4b281000 
>
>         Please cite the page/document in which you found these values. 
>
>         Page 7394 has: 
> -=-=- 
> Table 30-57. PRUSS_PRU_CTRL Instance Summary 
> Module Name Base Address Size 
> PRUSS1_PRU0_CTRL 0x4B22 2000 48 Bytes 
> PRUSS1_PRU1_CTRL 0x4B22 4000 48 Bytes 
> PRUSS2_PRU0_CTRL 0x4B2A 2000 48 Bytes 
> PRUSS2_PRU1_CTRL 0x4B2A 4000 48 Bytes 
> -=-=- 
>
>         0x4B2A2000 (PRU0; 0x4B2A4000 for PRU1) is quite different from 
> 0x4B24000 (which isn't even 8 hex digits!) 
>
> THIS IS LIKELY THE MAIN PROBLEM -- THE OTHER VALUES ARE SOMEWHAT 
> REASONABLE 
> PER THE FOLLOWING. 
>
>         Though I'm not certain how you define your RCIN RAM base: 
> 0x4B281000 is 
> in the middle of the RAM0 range, RAM1 is at 0x4B282000. 
>
>
>         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 
> -=-=- 
>
>         Using page 397 and page 418, PRU-ICSS2 RAM0 is at 0x4B280000 and 
> RAM1 
> is at 0x4B282000. PRU-ICSS2 PRU0 Control is at 0x4B2A2000. PRU-ICSS2 PRU0 
> IRAM would be 0x4B2B4000. 
>
>
>
>
>
>
>         Page 7362 has the example: 
> -=-=- 
> Example 3: DSP1 accesses the PRU0_IRAM in the global memory space to load 
> instructions to be executed by the PRU0 upon boot time: 
> • Because the DSP1 is an external host to PRU-ICSS1, it has to target at 
> first place the PRU-ICSS configuration and memory space in the L3_MAIN 
> space. For PRU-ICSS1, slave port the base address is 0x4B20_0000. 
> • According to the Table 30-10, the PRU0_PRUSS1_PRU0_IRAM_TARG offset is 
> 0x0003_4000. Hereby the physical address that DSP1 must use to store the 
> PRU0 booting instructions to PRU0_IRAM is 0x4B23_4000. 
> -=-=- 
>
>
>
> -- 
> 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/a54e7103-4ec4-4f4c-93cd-978fa13d9b94o%40googlegroups.com.

Reply via email to