Hello Community!!
Here are the Hardware test steps. Follow these instructions you could check the physical state of your MATRIX.
(I recommend run these steps with a Raspbian Stretch from scratch)
1. Install matrixio-creator-init
# Add repo and key
curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list
# Update packages and install
sudo apt-get update
sudo apt-get upgrade
# Installation
sudo apt install matrixio-creator-init
sudo reboot
2. FPGA Firmware Status
After the reboot, check the firmware info in the FPGA
$ sudo /usr/share/matrixlabs/matrixio-devices/matrix-init.bash
If all of the scripts go well, you could read the version of the software in the FPGA:
MATRIX Voice
$ sudo /usr/share/matrixlabs/matrixio-devices/fpga_info
IDENTIFY = 6032bad2
VERSION = 10007
MATRIX Creator
$ sudo /usr/share/matrixlabs/matrixio-devices/fpga_info
IDENTIFY = 5c344e8
VERSION = 10008
2.1 FPGA Test
If you don’t get this information, you need to test the FPGA flash process:
$ cd /usr/share/matrixlabs/matrixio-devices/
$ sudo ./fpga-program.bash
MATRIX Creator
**** MATRIX Creator FPGA has been programmed!
IDENTIFY = 5c344e8
VERSION = 10008
MATRIX Voice
*** MATRIX Voice has an updated firmware
If you get **** Could not program FPGA"
, please contact us.
3. Test your MATRIX board
Use the HAL examples https://github.com/matrix-io/matrix-creator-hal
4. Raspberry Pi GPIO Status.
Check the Raspberry Pi GPIO, It could interfere with the SAM3S flashing process.
$ sudo cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-53, parent: platform/3f200000.gpio, pinctrl-bcm2835:
gpio-16 ( |sysfs ) out hi
gpio-18 ( |sysfs ) out hi
gpio-19 ( |sysfs ) out hi
gpio-20 ( |sysfs ) out hi
gpio-21 ( |sysfs ) out hi
gpio-23 ( |sysfs ) out hi
gpio-29 ( |led0 ) out lo
gpiochip1: GPIOs 128-135, brcmexp-gpio, can sleep:
gpio-130 ( |led1 ) out lo
If you get another result, you should configure your device with the rapsi-config command.
Best Regards,
Kevin Patino