giuliomoro It does - however - make the quality of the audio input a bit worse especially at high gain levels.
Have you spent any time to figure out why/where the noise gets into the audio?

Any chance the wifi module is chewing up the 3V3 with high-current pulses?

a month later

Would say that, at this point, it's safe to get a BBB wireless to use with the Bela? Thanks

Hi Francisco,
there is a testing image we have laying around that should work with the BBGW, including the WiFi module, but no analog I/O because those are sharing the SPI bus with the WiFi module, so there is really no way around it.
I will try to get it out there some time soon.

    giuliomoro thanks,

    I was really asking if I should get the BeagleBone Black Wireless.

    Unfortunately, I've put the BBGreen Wireless aside for Bela projects, but that testing image would be great.

    Cheers,


    13 days later

    giuliomoro Hi Guilio, i'm trying to use a Bela cape with a BeagleBone Black Wireless too, is there a (test) image around somewhere that might work? I don't need to use the wifi.

    Done:
    here is the Bela/BoneBlackWireless dtb.
    if you flash the image linked above, you can then put this file on the board on the BELABOOT partition and edit the uEnv.txt file in there to tell it to use this file rather than the default Bela one.

    #dtb=am335x-bone-bela.dtb
    dtb=am335x-boneblack-wireless.dtb

    Then you could download this package (drivers for the WiFi module) and install it with

    dpkg -i firmware-ti-connectivity_20161130-3_all.deb

    OR you could just wait till tomorrow, as I am rebuilding the image now (with all the above changes) and will upload it on github tomorrow.

    7 days later

    Hi Guilio, thanks for this new image! I'm having troubles getting it to work though. I'm not sure if its a problem with the particular BBBW board i'm using. Basically the USB interface usb0 seems to be down; it isn't showing up on my laptop (which can see the normal BBB + bela version fine).

    Using the UART serial headers (without the Bela cape) to debug, I can logon to the board, and run "ip a" which gives me this output
    ...
    2: usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 6a:5a:59:be:a3:0a brd ff:ff:ff:ff:ff:ff
    inet 192.168.7.2/24 brd 192.168.7.255 scope global usb0
    valid_lft forever preferred_lft forever
    3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether de:ad:be:ef:00:00 brd ff:ff:ff:ff:ff:ff
    ...
    I presume the DOWN means inactive?

    With the default BeagleBone Debian 8.0 image the Wifi is working: the BBBW acts as an Access Point which I can connect to, and navigate to 192.168.8.1 for the default BeagleBone start page. But with the image you posted the the wlan0 does not seem to be active (and is not broadcasting an SSID). I assume that you have set it up as a client (rather than an access point), and I tried uncommenting the wlan0 example in /etc/network/interfaces but that resulted in receiving a lot of "unexpected IRQ trap at vector 38" errors (I tried both dhcp and static IP addresses, using an address on the local WIFI network).

    I'm not sure if part of the issue is because I don't have the Bela cape plugged in. That is mainly because the only way I am able to get debug output is from the UART serial header, which gets in the way of plugging the Bela cape on. Does the Bela expose these pins somwhere? Or, if I make a special attachment that can fit onto the UART pins without getting in the way of the Bela cape, will that work? or is the cape using those pins for something else?

      dr-offig . Basically the USB interface usb0 seems to be down; it isn't showing up on my laptop (which can see the normal BBB + bela version fine).

      What operating system are you on? We expected problems with Windows, though the few machines we tested on worked fine. If that is on MacOS, then I guess it helps to do sudo kextunload /Library/Extensions/HoRNDIS.kext/; sudo kextload /Library/Extensions/HoRNDIS.kext/.
      Perhaps @LiamDonovan has some more thoughts on this.

      dr-offig I'm not sure if part of the issue is because I don't have the Bela cape plugged in.

      That should have no effect on the connection.

      dr-offig But with the image you posted the the wlan0 does not seem to be active (and is not broadcasting an SSID)

      This is expected: I did not put any effort in turning that into an access point, I only made sure that the interface works. Not sure how they do it in the original image, perhaps you can find out and reuse the method on this one.

      a month later

      Hi Julio,

      I have a problem with booting when the Bela cape is attached to my BBBW.

      I have flashed the image to the uSD card and edited the uEnv.txt to

      #dtb=am335x-bone-bela.dtb
      dtb=am335x-boneblack-wireless.dtb

      When I boot from the only power led blinks.

      When I detach Bela from BBBW, the boot is successful. I can load the IDE, but the driver doesn't load.

      btw, not sure if it is relevant but tried with both previous version of the Debian image (the one that came installed in eMMC) and the current (Debian 8.7 2017-03-19 4GB SD LXQT) which I’ve just flashed.

      I don't think this relates to issue #44 as it is a new board.

      Any suggestion on how to probe this problem?

      Best,
      F

        Hola cisco,
        do you know what version you had on the eMMC? Mine has
        BeagleBoard.org Debian Image 2016-11-06
        Linux beaglebone 4.4.30-ti-r64 #1 SMP Fri Nov 4 21:23:33 UTC 2016 armv7l GNU/Linux

        I am wondering if anything changed in the bootloader on the eMMC.

        franciscobernardo When I boot from the only power led blinks.

        you are missing a (crucial) word here.

        franciscobernardo When I detach Bela from BBBW, the boot is successful. I can load the IDE, but the driver doesn't load.

        this is also funny.

        Can you try reverting the changes in uEnv.txt to:

        dtb=am335x-bone-bela.dtb
        #dtb=am335x-boneblack-wireless.dtb

        and see if that boots with the cape attached?

        Thanks Giulio,

        I had the same version of yours.

        I think with Bela attached, boot simply doesn't happen. The PWR led blinks every second or so but the others don't lit or blink as normal

        I tried reverting the changes in uEnv.txt and the symptoms are the same.

        Just to check, is the Bela cape plugged in the right way around?
        The U-shaped slot on the cape should be on the side of the 5V barrel connector, while the Bela audio connectors should sit on top of the SD card.
        This is pretty obvious on the Beaglebone Black, where the ethernet connector prevents you from inserting the cape the wrong way around, but I see how it could be not straightforward on the BBBW.
        This is what it should look like (just a bit less blurred in real life):

        alt text

        @LiamDonovan may have some more ideas as to what is happening during boot/non-boot.

        Yep, everything correct.

        Is there any way of loading the Bela driver after the boot?

        if it's the PWR led flashing, then probably boot is not happening at all. It may be that the board is shutting down for whatever reason. Perhaps a defective Bela cape which is drawing too much current? Or perhaps your power supply is not providing enough? Or a defective cable? Are you powering this off your MacBook like the other day?
        Do you still have your BeagleBone Green Wireless? Perhaps see if that boots with the cape attached (boot from the eMMC, it does not really matters what operating system it loads, as long as it loads one)?

        Also, did you try booting with the cape attached but without the SD card?

        We left a Bela at Goldsmiths after the Anvil Hack if you want to try if that cape works. Not sure who has it but it should be around, Kevin will know. Otherwise, you could come over to QM and I can look into that.

          giuliomoro Perhaps a defective Bela cape which is drawing too much current? Or perhaps your power supply is not providing enough? Or a defective cable? Are you powering this off your MacBook like the other day?

          I have to admit that I've never experienced my Bela running... I have been dealing only with Wireless BBs as you know, and I'm afraid I can't get a BBB to try it out.

          I'm powering it from my MBP usb port and I've tried out 3 different cables for that. My BBGW is Porto so I can't use it.

          giuliomoro Perhaps see if that boots with the cape attached (boot from the eMMC, it does not really matters what operating system it loads, as long as it loads one)?

          Also, did you try booting with the cape attached but without the SD card?

          That doesn't work either.

          Tomorrow I'm flying back to Porto in the afternoon, but if you're available in morning at QMUL that would be great, I can come by.

          Let me know,

          Thanks!

          Virtual follow-up after in-person meeting: Francisco's BBBW seems to have some troubles with the PMIC (e.g.: "PWR" would flash tens of times before managing to boot when powered from the barrel connector), so I suggested he gets a replacement.