PRUCookbook Comments

Mark A. Yoder <>

Fri, Aug 17, 7:58 AM

to BeagleBoard

The PRU cookbook is nearing completion (more accurately, I’m running out of summer).

Here’s a link

I’m happy for any feedback you can give me.


Great format, I really like it online.
To test it I choose a BeagleBone Black Wireless (as it turns out it was spare) and it already had a version 4.9 onit and upgraded it to
Linux beaglebone 4.14.69-ti-r75 #1 SMP PREEMPT Thu Sep 13 23:34:50 UTC 2018 armv7l GNU/Linux

Initially I followed instruction using USB, but then changed to wireless. Following is suggestions/observations

1.3. Flashing a Micro SD Card


Once the SD is flashed, insert it in the Beagle and power it up.

To permanently copy the image to the Beagle, copy it to Beagle flash.

[Reference to flashing beaglebone but post 4.4]

sudo nano \boot\uEnv.txt - remove from #cmdline

##enable BBB: eMMC Flasher:


toexit: save

sudo powerdown

Then press power button.

The device upgrades, and then powers down.

Remove uSD before pressing power switch.

1.4 Cloud9 IDE

for windows, for other computers see…

1.5 Getting Example Code

Setup for internet.

Ethernet - connected automatically


needs to be connected to the wireless

<comment 4.14.69-ti-r75 using USB>

The following is repeated a number of times in different place:

git clone

Cloning into ‘PRUCookbook’…

fatal: unable to access ‘’: Could not resolve host:

when setup for WiFi - it worked.

1.6. Blinking an LED

Running Code worked for me

1.2 Compiling and Running

debian@beaglebone:/var/lib/cloud9/git/PRUCookbook/docs/06io/code$ source



Wireless Not Found

$ cat /proc/device-tree/model

TI AM335x BeagleBone Black Wireless

workaround - make all defaults of pins P9_11

1.8 & 1.9 not checked.

Dude, you’re a genius. You help me a lot !!

Thank you very much!!!

I’m glad you like it. Let me know if you have any questions for suggestions for improvement.


Yes, I made some adjustments in the Makefile to simplify the addressing of PRUs, see if it is useful:


Lookup PRU by address

ifeq ($(PRUN),0)
ifeq ($(PRUN),1)


all: stop install start

@echo “- Stopping PRU $(PRUN)”
@echo stop | sudo tee $(PRU_DIR)/state || echo Cannot stop $(PRUN)

@echo “- Starting PRU $(PRUN)”
@echo start | sudo tee $(PRU_DIR)/state


Yes I need help,

I am using BBW and since last two days it is not getting detected in desktop computer what will be the possible cause of the problem,
It is booting properly that I can confirm by seeing led blinking,
Please help me.

You could download a default image and write to an sd card so you can confirm if it is a software or hardware problem so you know if your board is damaged.

I have write new image to BBW but there isn’t any change.