TI E2E Community
Sitara Processors Forum
PRU ( AM335X )
I would like to program the PRU built-in AM335X. How can I do that ? What is the software enviroment and hardware recommended to implement a firmware running in PRU ? How can I debug the PRU ? Using a JTAG tool ?
Tks in advance,
Please stay tuned. Documentation and tool chain for programming PRU in AM335x is in process of being released within next two weeks or so.
Debug of PRU is possible using the on-board USB-JTAG debugger. You will need code composer studio for this purpose.
If possible, can you please tell more about your end goal from PRU programming.
I understood that PRU can handle the real-time events, for instance, a transition in an I/O pin to attend in real-time or scan a keyboard, or toggle a LED. Is it possible to do these tasks running Linux with a time response acceptable ?
The PRU on its own can do these tasks at a very fast rate since its cycle time is 5ns. So, it can toggle an LED at several tens of MHz frequency on a pin. But if it has to interact with Linux, you can expect latencies of hundred of microseconds when PRU interrupts ARM running Linux or takes a command from Linux based software.That is mostly a Linux behavior and not directly related to hardware latencies in the system.
Please note that TI currently plans to only support industrial automation related features on PRU that we provide in the Industrial SDK. With the documentation that will be released shortly, users can surely program the PRU at their own initiative but active official support is not planned.
Many tks. Could you pls keep me informed when TI will release the tools for PRU developments ?
It is released on github
There is one more document that will appear in same location by end of this month.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.