This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x Bare metal/RTOS PRU Loader

Other Parts Discussed in Thread: AM3358, PRU-SWPKG, SYSBIOS

Hello!

I'm developing firmware for am AM3358 on a Win7 64-bit system using CCS v6.1.2.00015.

I've just spent the last 2 hours hunting in the E2E material for something that leads me to something like a bare metal PRU loader.  I see that there is elaborate material on doing this on a host that runs Linux.  Especially nice is Lab 4 and Lab 5 of this page:  processors.wiki.ti.com/.../PRU_Training:_Hands-on_Labs.

However, these don't help me much because I am developing an application under TI-RTOS that needs to have at least 1 if not both PRUs working for it.

What I would MOST like to do is read the PRU's application .OUT file directly (ELF?) by the Cortex-A8 and take the appropriate steps, including loading the instructions into the PRU's instruction RAM, and probably initialize the  .data  and  .bss  sections of the PRU's RAM. (Or any other simple approach would be welcome, keeping in mind that once the main application is developed, varieties of it will go out in the field with different PRU programs, and possibly multiple PRU programs per device to be loaded dynamically when needed. So I'm looking for a solution which minimizes the translation effort from generating a new PRU application to being able to use it with the main application.)

Has anyone ported the Linux loader to a bare-metal version?  What are the resources I should be looking at?  (I have the PRU-SWPKG v4.0.2, but have not been able to easily determine or locate whether there is a loader included.)

Kind regards,
Vic