TI software support package example PRU_ADC_onChip

Hi,

I am practicing PRU_ADC_onChip example from TI software support package.
I came across this problem.

root@beaglebone:/var/lib/cloud9/pru-software-support-package-5.7.0/examples/am335x/PRU_ADC_onChip# ./pru_adc_userspace -c 5
Reading voltage at ADC Channel: 5
/dev/rpmsg_pru30 could not be opened.
Trying to initialize PRU using sysfs interface.
ERROR: Could not open /dev/rpmsg_pru30

So I ran /opt/scripts/tools/version.sh and it is attached below. It seems firmware is not loaded properly? Can anyone explain why this happens?
BTW, I ran the same code on Beaglebone Black, and it runs smoothly.

Thanks in advance.

Regards,
Cheng

git:/opt/scripts/:[b39ec679648a6be8f25f48bd1c9784c1fc5a0c46]
eeprom:[A335BNLTBWA52027BBWG0159]
model:[TI_AM335x_BeagleBone_Black_Wireless]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2019.04-g10968f0]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BBBW-WL1835-00A0]
kernel:[4.19.94-ti-r61]
nodejs:[v10.15.2]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_emmc=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210401.0-0~buster+20210401]
pkg:[bb-wl18xx-firmware]:[1.20200322.0-0rcnee0~buster+20200322]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~buster+20190327]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi iio docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 15.241873] remoteproc remoteproc0: 4a334000.pru is available
[ 15.256480] remoteproc remoteproc1: 4a338000.pru is available
[ 73.290235] remoteproc remoteproc2: wkup_m3 is available
[ 73.300350] remoteproc remoteproc2: powering up wkup_m3
[ 73.300378] remoteproc remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217148
[ 73.300636] remoteproc remoteproc2: remote processor wkup_m3 is now up
[ 245.475039] remoteproc remoteproc1: powering up 4a338000.pru
[ 245.475720] remoteproc remoteproc1: Booting fw image am335x-pru0.fw, size 112472
[ 245.504825] remoteproc remoteproc1: registered virtio0 (type 7)
[ 245.504846] remoteproc remoteproc1: remote processor 4a338000.pru is now up
[ 248.541812] remoteproc remoteproc1: stopped remote processor 4a338000.pru
[ 1335.522838] remoteproc remoteproc1: powering up 4a338000.pru
[ 1335.529139] remoteproc remoteproc1: loading /lib/firmware/PRU_ADC_onChip.out failed with error -22
[ 1335.529162] remoteproc remoteproc1: Direct firmware load for PRU_ADC_onChip.out failed with error -22
[ 1335.529185] remoteproc remoteproc1: request_firmware failed: -22
[ 1335.549209] remoteproc remoteproc1: Boot failed: -22
[ 1487.266299] remoteproc remoteproc1: powering up 4a338000.pru
[ 1487.266398] remoteproc remoteproc1: loading /lib/firmware/PRU_ADC_onChip.out failed with error -22
[ 1487.266409] remoteproc remoteproc1: Direct firmware load for PRU_ADC_onChip.out failed with error -22
[ 1487.266427] remoteproc remoteproc1: request_firmware failed: -22
[ 1487.291899] remoteproc remoteproc1: Boot failed: -22
dmesg | grep pru
[ 15.241873] remoteproc remoteproc0: 4a334000.pru is available
[ 15.242075] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[ 15.256480] remoteproc remoteproc1: 4a338000.pru is available
[ 15.256660] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
[ 245.475039] remoteproc remoteproc1: powering up 4a338000.pru
[ 245.475720] remoteproc remoteproc1: Booting fw image am335x-pru0.fw, size 112472
[ 245.484068] pruss 4a300000.pruss: configured system_events[63-0] = 00000000,00030000
[ 245.484090] pruss 4a300000.pruss: configured intr_channels = 0x00000005 host_intr = 0x00000005
[ 245.485485] pruss_intc_irq_set_affinity: event 18 not configured: ch = -1, host = -1
[ 245.504846] remoteproc remoteproc1: remote processor 4a338000.pru is now up
[ 248.541738] pruss 4a300000.pruss: unconfigured system_events[63-0] = 00000000,00030000
[ 248.541757] pruss 4a300000.pruss: unconfigured host_intr = 0x00000005
[ 248.541812] remoteproc remoteproc1: stopped remote processor 4a338000.pru
[ 1335.522838] remoteproc remoteproc1: powering up 4a338000.pru
[ 1487.266299] remoteproc remoteproc1: powering up 4a338000.pru
dmesg | grep pinctrl-single
[ 0.954358] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[ 0.967759] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END