In the PRU Reference Guide, see section 11.1.2 on the SYSCFG register.

This is why you typically see something like the following at the start
of most PRU programs:

    // Clear syscfg[standby_init] to enable ocp master port
    LBCO r0, CONST_PRUCFG, 4, 4
    CLR r0, r0, 4
    SBCO r0, CONST_PRUCFG, 4, 4


On 5/16/2014 5:05 PM, foreverska wrote:
> Not the entire thing but I definitely didn't know about a SOC bridge.  That 
> section of code is a derivation on:
> http://boxysean.com/blog/2012/08/12/first-steps-with-the-beaglebone-pru/
> Nothing is ever said about that and it worked for quite a few runs before 
> becoming lost.  However, I'm more than willing to try enabling it but I'm 
> having trouble finding mention of it.
>  
> 
>> Is that the entire program?  You have to enable the bridge to the SoC 
>> interconnect bus before doing memory accesses to things like the GPIO 
>> banks.  That could be why your program is "getting lost". 
>>
>> -- 
>> Charles Steinkuehler 
>> [email protected] <javascript:> 

-- 
Charles Steinkuehler
[email protected]

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to