On 7/28/2017 11:24 AM, Charles Steinkuehler wrote:
> On 7/28/2017 11:07 AM, Robert Nelson wrote:
>> On Fri, Jul 28, 2017 at 10:55 AM, Robert Nelson <[email protected]> 
>> wrote:
>>>
>> Charles, do you remember where the pru firmware call to "load" the firmware 
>> is..
> 
> The PRU driver is using the prussdrv library:
> 
> https://github.com/machinekit/machinekit/tree/master/src/hal/support/pru
> 
> ...and does most of it's setup in pru_init():
> 
> https://github.com/machinekit/machinekit/blob/master/src/hal/drivers/hal_pru_generic/hal_pru_generic.c#L385
> 
> ...and setup_pru():
> 
> https://github.com/machinekit/machinekit/blob/master/src/hal/drivers/hal_pru_generic/hal_pru_generic.c#L447

...and the actual firmware load is performed by the call to
prussdrv_exec_program on line 486:

https://github.com/machinekit/machinekit/blob/master/src/hal/drivers/hal_pru_generic/hal_pru_generic.c#L486

-- 
Charles Steinkuehler
[email protected]

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to