problem loading SPI overlay

Hi -

I really hate to ask this question here, since I’m sure I’m doing something obviously wrong, but…I’m trying to duplicate Dr. Molloy’s example in his book, and I’m getting an error:

`

mzimmers@beaglebone:/lib/firmware$ pwd
/lib/firmware
mzimmers@beaglebone:/lib/firmware$ cat $SLOTS
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universaln
mzimmers@beaglebone:/lib/firmware$ sudo sh -c “echo BB-SPIDEV0 > $SLOTS”
sh: echo: I/O error
mzimmers@beaglebone:/lib/firmware$ cat $SLOTS
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universaln
mzimmers@beaglebone:/lib/firmware$

`

I’ve tried it a few times…same results. What am I screwing up here?

Thanks…

cape universal is already loaded, thus the pins are taken..

open /boot/uEnv.txt

remove the:

cape_universal=enabled

option

or just use "config-pin" to set the pins as spi

Regards,

type:

dmesg | tail

and see what happend..

Regards,

It didn't replace anything, the first 4 entries are tied to the cape
eeprom standard, anything after that is just a list of virtual capes..

Regards,