Hi,
I’ve got a XDS200 JTAG Emulator connected to my Pocket Beagle 2. I’ve created the usual ‘toggling-pin’ app in CCS to test it. I can build and run the program on PRU0 and I can see that it’s running by single-stepping it. What I can’t figure out is how to ‘connect’ the PRU to the output pins. Is there some script that is required?
Regards, Mike.
Usually use R30 and R31 for doing output pins. You’ll need to enable in the device tree (or if raw metal by setting the right mux modes of the pin). I did a device tree here:
1 Like
Thanks Dave.
Linux is not running - I’m going bare-metal on this with the JTAG connected to the PRU.
When I did a similar thing on the Beaglebone Black there was some *.GEL files required. Also there was a bit of javascript to run.
Read up on pinmux in the TRM then. Or use SysConfig that will give you the code to set pinmux for the PRU.