The PRU cookbook is nearing completion (more accurately, I'm running out of summer).
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
https://markayoder.github.io/PRUCookbook/02start/start.html
1.3. Flashing a Micro SD Card
Solution
Once the SD is flashed, insert it in the Beagle and
power it up.
<Add> 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:
cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
toexit: save
sudo powerdown
Then press power button.
The device upgrades, and then powers down.
Remove uSD before pressing power switch.
<end>
1.4 Cloud9 IDE
<Comment > for windows http://192.168.7.2:3000, for
other computers see… <end>
1.5 Getting Example Code
<add > Setup for internet.
Ethernet - connected automatically
USB - <setup>
<wireless > needs to be connected to the wireless
<end>
<comment 4.14.69-ti-r75 using USB>
The following is repeated a number of times in different place:
git clone https://github.com/MarkAYoder/PRUCookbook.git
Cloning into 'PRUCookbook'...
fatal: unable to access
'https://github.com/MarkAYoder/PRUCookbook.git/': Could not resolve host:
github.com
when setup for WiFi - it worked.
<end>
1.6. Blinking an LED
Running Code worked for me
https://markayoder.github.io/PRUCookbook/03details/details.html
1.2 Compiling and Running
<comment >
debian@beaglebone:/var/lib/cloud9/git/PRUCookbook/docs/06io/code$
source gpio_setup.sh
PRUN=0
TARGET=gpio1
Wireless Not
Found
$ cat /proc/device-tree/model
TI AM335x BeagleBone Black Wireless
workaround - make all defaults of pins P9_11
<end>
1.8 & 1.9 not checked.