Need help getting the LED blinker to work

Followed the instructions from the website, got this:

-bash: README.TXT: command not found
debian@beaglebone:~/logi-apps/blink_led_app$ sudo ./make_demo.sh
LOGI_LOADER VERSION : 0.1.0
Compiled for LOGI-BONE
Board variant is LOGIBONE_R1.5
can't open SPI spi_device
can't open SPI bus
No logi-board detected !!
Blink LED App *************

Have tried the OS that shipped on my new BB-Black, then loaded the image from the LOGI-BONE page, same result.

Any advice?

Thanks!

rmb

Comments

  • Hi,

    it seems that you are still using the debian image provided with the BBB as the user is debian@beaglebone ... To force boot from SD card, there are two options:
    1) press the boot button when blugging power
    2) erase the emmc image to for boot from sd

    After successfully booting from sd card , you still need to configure the logi-bone eeprom.
    1) got to ~/logi-tools
    2) do a git pull to get latest logi-toosl
    3) do a sudo ./init_logibone. If any error appears during this process report it here

    If your beaglebone black is not connected to internet, you can get  a .zip of logi-tools on https://github.com/fpga-logi/logi-tools then copy it on your BBB in place of the installed logi-tools and run the same process.

    Regards,

    Jonathan Piat
  • Jonathan:  Thanks for the quick response.  Rebooted under Ubuntu as directed.

    Did you mean to run ./install_logibone.sh?  It appears that init_logibone is a directory, not an executable.

    When I run ./install_logibone.sh, I get the following error during install, and the original SPI failure occurs trying to blink the LEDS:

    -----------------------------------------------------------------------------------------------------------

    <clipped for brevity>

    Ign http://ports.ubuntu.com trusty/main Translation-en_US
    Ign http://ports.ubuntu.com trusty/multiverse Translation-en_US
    Ign http://ports.ubuntu.com trusty/universe Translation-en_US
    Fetched 6,730 kB in 15s (438 kB/s)
    Reading package lists... Done
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repos.rcn-ee.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D284E608A4C46402

    W: Failed to fetch http://repos.rcn-ee.net/ubuntu/dists/trusty/InRelease

    W: Some index files failed to download. They have been ignored, or old ones used instead.
    Settin up cape eeprom ID ...............
    Error: Write failed
    Error: Write failed

  • P.S. It might be significant that the GIT download from your link yielded a slightly different library: logi-tools-master, not the originally indicated logi-tools

    I am not smart enough to know if this is significant or not.

  • the git download gives you a logi-tools-master because github add the branch name as a suffix but this i no problem. When you have the logi-tools-master unzipped, you should go to its init_logibone directory and execute the init_eeprom.sh script. Then reboot and you should be good to go.
Sign In or Register to comment.