This example acts as a getting started point for PRU firmware development in assembly. It is a demo that shows how to access local memory locations of PRU.
Parameter | Value |
---|---|
ICSSG | ICSSG0 - PRU0, PRU1, RTU0, RTU1, TX_PRU0,TX_PRU1 |
Toolchain | pru-cgt |
Board | am64x-evm |
Example folder | examples/pru_io/empty/ |
main.asm
, linker.cmd
files gets copied to ccs workspace of PRU project. The main.asm
contains sample code for accessing Local PRU memories available: DMEM0 (64kB), DMEM1 (64kB) and Shared Ram (64kB).<sdk-install-dir/examples/pru_io/empty/firmware/device/>
Build the R5F project using the CCS project menu (see Using SDK with CCS Projects).
C:/ti/
<sdk-install-dir/examples/pru_io/adc/>
contains some PRU projects which can act as reference. PRU sources are usually separated out in a firmware/
subfolder in all these example project folders.