I am trying to get my Bela CTAG Face Starter Kit set up. I flashed bela image v0.3.6b on a micro SD card and am running it on a Mac OS 10.14.4.
The Bela/CTAG boots and runs the IDE, but when I try to compile I get the following error message:
Unrecognized Bela hardware: is a cape connected?
Error: unable to initialise audio
Makefile:524: recipe for target 'runide' failed
make: *** [runide] Error 1

I ran i2cdetect with the following result:
root@bela ~/Bela# i2cdetect -y -r 2

0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Any suggestions what to do?
Thank you very much!

i2cdetect wouldn't really work for the CTAG, as its codec is on the SPI bus, and not I2C.

Can you send a picture of the board as it is?

Can you try to run the following commands, one at a time, and send the result?

grep uboot_overlay /mnt/boot/uEnv.txt
grep -i "8dc\|828\|8d4\|82c\|8d8" /sys/kernel/debug/pinctrl/44e10800.pinmux/pins
ls /dev/spidev32766.0
board_detect

alt text

alt text

alt text
Thank you so much for the quick response.

Here are the results:
1.
uenvcmd=echo loading ${fdtfile}; load mmc ${mmcid}:2 ${fdtaddr} boot/dtbs/${uname_r}/${fdtfile}; if env exists uboot_overlay_addr0; then setenv overlay ${uboot_overlay_addr0}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr1; then setenv overlay ${uboot_overlay_addr1}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr2; then setenv overlay ${uboot_overlay_addr2}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr3; then setenv overlay ${uboot_overlay_addr3}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr4; then setenv overlay ${uboot_overlay_addr4}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr5; then setenv overlay ${uboot_overlay_addr5}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr6; then setenv overlay ${uboot_overlay_addr6}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr7; then setenv overlay ${uboot_overlay_addr7}; run bela_loadoverlay; fi; load mmc ${mmcid}:2 ${loadaddr} /boot/vmlinuz-${uname_r}; setenv bootargs console=${console} root=/dev/mmcblk${mmcid}p2 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet; bootz ${loadaddr} - ${fdtaddr};

uboot_overlay_addr2=/lib/firmware/BB-BELA-00A1.dtbo

uboot_overlay_addr3=/lib/firmware/BB-BELA-CTAG-SPI-00A0.dtbo

2.
pin 10 (44e10828.0) 00000037 pinctrl-single
pin 11 (44e1082c.0) 00000017 pinctrl-single
pin 53 (44e108d4.0) 00000017 pinctrl-single
pin 54 (44e108d8.0) 00000017 pinctrl-single
pin 55 (44e108dc.0) 00000037 pinctrl-single

3.
/dev/spidev32766.0

4.
NoHardware

Hmm, sadly that seems fairly dead, which is weird, given how these are tested individually ... Is the "PWR" LED on the cape on?
Contact orders@bela.io to arrange for a replacement.

Yes, the power LED is on. It is fresh out of it's package...

there is one more thing that can be tried, just in case there is something wrong with the board detection mechanism. Run this once and then try running the program again.

mkdir - p /run/bela/ && echo HARDWARE=CtagFace > /run/bela/belaconfig

Thank you so much for all your help Giulio! I got it working, it was actually a hardware issue where the headers connecting the beagle board and CTAG did not have correct contact. The boards came assembled and looked well connected, so I did not forge ahead to disassemble them. Should have done that earlier...

Great news. Do you think it was not pressed in enough? Did you take it apart and put it back together?

By the way, the pictures you took look very sharp, what camera/phone did you use?

The headers were well pressed in and it did look like a good connection - that is why I did not doubt that part at all. I took the boards and put them back together after examining them closely and without finding any defect. So I put them back together and tried again - this time the CTAG was recognized.
I used an iPhone 8 camera.