44 Replies Latest reply on Mar 15, 2019 8:47 PM by Vimarsh ‍

    Matrix Creator not working with Raspberry pi

    aabhas

      samreen.islam and tariq.ahmad

      These are the errors's images faced in interfracing matrix creator with raspberry pi , Nothing works on my matrix creator .

      I tried the fgpa test - It shows cant connect to any device , and shows device id 0

      helloWorld.js- It has no result shown up in the everloop.

      assistant.js - It shows connected to mqtt server but

      nothing works.

       

      samreen.islam what should i do to know that wether my matrix creator is working , i tried many thing but nothing works out.

      tariq.ahmad it would be very helpful if you can have a replacement for my matrix creator because it turns out to be damaged .

      I am attaching the output of the fgpa test below, i tried the helloWorld  also but nothing is shown as result , in  the assistant.js but it only shows connectec to snips mqtt server nothing happens after that

      Even sam test microphone did not work for me.

       

      Which other test should i do and send you its image so you can verify wether it is working or not.

       

      Aabhas Senapati

      • Reply
        • Re: Matrix Creator not working with Raspberry pi
          jomoenginer

          I don't see any output posted in your post.

           

          The first place you should start with is the Overview page and then select an Ecosystem such as MARTIX-HAL or MATRIX-Lite

          https://matrix-io.github.io/matrix-documentation/matrix-creator/device-setup/

           

          What Raspberry Pi are you using and what version of OS are you using on the Pi?  Raspbian or something else?

          Ensure you are using at least a 5v 2.5A power supply to power the Pi.

           

          You can check to see if the Pi sees the Matrix Creator with the following from the Pi.

          NOTE: This is from a Raspberry Pi 3 A+

          cat /etc/os-release 
          PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
          NAME="Raspbian GNU/Linux"
          VERSION_ID="9"
          VERSION="9 (stretch)"
          ID=raspbian
          ID_LIKE=debian
          HOME_URL="http://www.raspbian.org/"
          SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
          BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
          
          

           

          sudo cat /sys/kernel/debug/gpio
           gpiochip0: GPIOs 0-53, parent: platform/3f200000.gpio, pinctrl-bcm2835:
           gpio-4 ( |sysfs ) in hi
           gpio-16 ( |sysfs ) out lo
           gpio-17 ( |sysfs ) in hi
           gpio-18 ( |sysfs ) out hi
           gpio-19 ( |sysfs ) out hi
           gpio-20 ( |sysfs ) out hi
           gpio-21 ( |sysfs ) out hi
           gpio-22 ( |sysfs ) in lo
           gpio-23 ( |sysfs ) out hi
           gpio-27 ( |sysfs ) in hi
           gpio-29 ( |led0 ) out lo
          gpiochip1: GPIOs 128-135, brcmexp-gpio, can sleep:
           gpio-130 (  
          

           

          ls /dev/spi
           /dev/spidev0.0 /dev/spidev0.1
          

           

          i2cdetect -y 1
           0 1 2 3 4 5 6 7 8 9 a b c d e f
           00: – -- – 06 – -- – -- – -- – -- –
           10: – -- – -- – -- – -- – -- – -- 1c – -- –
           20: – -- – -- – -- – -- – -- – -- – -- – --
           30: – -- – -- – -- – -- 38 39 – -- – -- – --
           40: – -- – -- – -- – -- – -- – -- – -- – --
           50: – -- – -- – -- – -- – -- – -- – -- – 5f
           60: 60 – -- – -- – -- – -- – 6a – -- – -- –
           70: – -- – -- – -- – --
          

           

           

          If you do not see anything similar, the you can run raspi-config and then go to ‘Interfacing Options’ to enable SPI and i2c if needed.

           

          If you download the MATRIX-HAL code, you should have a 'matrix-creator-hal' folder. After building the code, there should be a build folder where you can run one of the demos.

          Ex: firmware-info

          ./firmware_info 
          MCU ID = 0x10
          MCU version = 0x18040
          
          4 of 4 people found this helpful
          • Re: Matrix Creator not working with Raspberry pi
            aabhas

            I attached the image many times but image does not upload

            Is there any other way i can upload the image?

            1 of 1 people found this helpful
              • Re: Matrix Creator not working with Raspberry pi
                jomoenginer

                The element14 site seems to be experiencing some issues so that might be why you can't attach an image.  You can try to cut and paste it directly into the post or just capture the text output of the console.

                 

                The other option , if you have not done so already, is to post your issue at the Matrix Labs Community site.

                https://community.matrix.one/

                3 of 3 people found this helpful
                • Re: Matrix Creator not working with Raspberry pi
                  samreen.islam

                  aabhas,

                   

                  Along the lines of what jomoenginer was saying, what OS are you using? We recommend Raspbian Stretch.

                   

                  Also ensure that you are powering your Pi with a 5V 2.5A power supply and try the instructions Jon Morss posted above to see if it is communicating with the Pi appropriately.

                   

                  Once tariq.ahmad lets you know how to upload pictures, can you also upload some of the MATRIX Creator's front and back?

                   

                  If the e14 site is having upload issues, you can also post on our community as mentioned above.

                   

                  Thanks!

                  Samreen

                  3 of 3 people found this helpful
                    • Re: Matrix Creator not working with Raspberry pi
                      aabhas

                      Thanks samreen.islam  and jomoenginer  for your help . I am using the arm dev day image(os) given on github , on the raspberry pi , i have tried to run matrix creator on both raspberry pi 3a+ and 3b+ ,but it worked on none.I did the gpio status test along with fpga test but the output was much different than mentioned by jon . I am using a power supply of 2.7 A and 5v and raspberry pi also doesnt show the thunder symbol.i have enabled all i2c aspi and other all given in the raspberry pi configuration interfraces.

                       

                      I cannot spot any physically broken part on my matrix creator , so i dont know the actual  reason of damage or problem , it may be due to breaking of some component  or due to elctrostatic discharge or due to any other reason , during shipping or when i was handling.

                       

                      Lets see if my matrix creator works , i will upload the image of errors on matrix community website soon.

                      If my matrix creator works , or tariq.ahmad  can  get a replacement , so i can work on my matrix creator as soon as possible .Till then i will try to troubleshoot my matrix creator.

                       

                      Thanks

                      Aabhas Senapati

                      2 of 2 people found this helpful
                      • Re: Matrix Creator not working with Raspberry pi
                        aabhas

                        This is the fgpa test image

                        2 of 2 people found this helpful
                      • Re: Matrix Creator not working with Raspberry pi
                        tariq.ahmad

                        Hi aabhas ,

                         

                        Depending on what mode reply is set to you, you may need to click on Show Full Editor like the screenshot below:

                         

                         

                        You should then see a WYSIWYG with an image icon where you can upload images directly in the thread.

                         

                         

                        Let me know if this helps.

                         

                        Tariq

                        3 of 3 people found this helpful
                          • Re: Matrix Creator not working with Raspberry pi
                            aabhas

                            Thanks tariq.ahmad but i tried the this way also but image fails to upload , still i am trying to upload it once again and attach it below , if the image uploads it would be very good.

                            1 of 1 people found this helpful
                              • Re: Matrix Creator not working with Raspberry pi
                                tariq.ahmad

                                You can email it to me as an attachment to tahmad@newark.com if that is easier.

                                3 of 3 people found this helpful
                                • Re: Matrix Creator not working with Raspberry pi
                                  jomoenginer

                                  Make sure your image has a an extension to the file such .jpg or .png.  I've seen where the pic will not paste in the edit window if it does not have an extension.

                                   

                                  Please provide the output of 'dmesg'

                                   

                                  Also, have a look at your /var/log/messages and /var/log/syslog for any messages you might see.

                                   

                                  Please provide the output from i2cdetect and the gpio from your system.

                                   

                                  You should be able to do this with just text and not an image.

                                   

                                  Is this the image you are using?

                                  https://github.com/matrix-io/Arm-DevDay-2019/blob/master/PreWorkshop.md

                                  3 of 3 people found this helpful
                                    • Re: Matrix Creator not working with Raspberry pi
                                      aabhas

                                      Which  dmesg command are you talikng about jomoenginer i dont know that command , please tell me?

                                      I will run the other commands again and send the output image to mail of tariq.ahmad  soon and he would post it in the discussion .

                                      Yes i am using the image which you have mentioned .

                                       

                                      Thanks

                                      Aabhas Senapati

                                      • Re: Matrix Creator not working with Raspberry pi
                                        aabhas

                                        pi@raspberrypi:~ $ dmesg

                                        [    0.000000] Booting Linux on physical CPU 0x0

                                        [    0.000000] Linux version 4.14.98-v7+ (dom@dom-XPS-13-9370) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1200 SMP Tue Feb 12 20:27:48 GMT 2019

                                        [    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d

                                        [    0.000000] CPU: div instructions available: patching division code

                                        [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

                                        [    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3

                                        [    0.000000] Memory policy: Data cache writealloc

                                        [    0.000000] cma: Reserved 8 MiB at 0x3ac00000

                                        [    0.000000] On node 0 totalpages: 242688

                                        [    0.000000] free_area_init_node: node 0, pgdat 80c85780, node_mem_map ba39f000

                                        [    0.000000]   Normal zone: 2133 pages used for memmap

                                        [    0.000000]   Normal zone: 0 pages reserved

                                        [    0.000000]   Normal zone: 242688 pages, LIFO batch:31

                                        [    0.000000] percpu: Embedded 17 pages/cpu @ba346000 s38720 r8192 d22720 u69632

                                        [    0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096

                                        [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

                                        [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240555

                                        [    0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 root=PARTUUID=b2293e98-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash

                                        [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

                                        [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

                                        [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

                                        [    0.000000] Memory: 940224K/970752K available (7168K kernel code, 577K rwdata, 2080K rodata, 1024K init, 698K bss, 22336K reserved, 8192K cma-reserved)

                                        [    0.000000] Virtual kernel memory layout:

                                                           vector  : 0xffff0000 - 0xffff1000   (   4 kB)

                                                           fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

                                                           vmalloc : 0xbb800000 - 0xff800000   (1088 MB)

                                                           lowmem  : 0x80000000 - 0xbb400000   ( 948 MB)

                                                           modules : 0x7f000000 - 0x80000000   (  16 MB)

                                                             .text : 0x80008000 - 0x80800000   (8160 kB)

                                                             .init : 0x80b00000 - 0x80c00000   (1024 kB)

                                                             .data : 0x80c00000 - 0x80c906d4   ( 578 kB)

                                                              .bss : 0x80c97ef8 - 0x80d468f0   ( 699 kB)

                                        [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

                                        [    0.000000] ftrace: allocating 25298 entries in 75 pages

                                        [    0.000000] Hierarchical RCU implementation.

                                        [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16

                                        [    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).

                                        [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns

                                        [    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns

                                        [    0.000018] Switching to timer-based delay loop, resolution 52ns

                                        [    0.000266] Console: colour dummy device 80x30

                                        [    0.000300] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)

                                        [    0.000316] pid_max: default: 32768 minimum: 301

                                        [    0.000635] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

                                        [    0.000651] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

                                        [    0.001591] Disabling memory control group subsystem

                                        [    0.001667] CPU: Testing write buffer coherency: ok

                                        [    0.002094] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

                                        [    0.002500] Setting up static identity map for 0x100000 - 0x10003c

                                        [    0.002624] Hierarchical SRCU implementation.

                                        [    0.003303] smp: Bringing up secondary CPUs ...

                                        [    0.004099] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

                                        [    0.004954] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

                                        [    0.005791] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

                                        [    0.005895] smp: Brought up 1 node, 4 CPUs

                                        [    0.005907] SMP: Total of 4 processors activated (153.60 BogoMIPS).

                                        [    0.005912] CPU: All CPU(s) started in HYP mode.

                                        [    0.005916] CPU: Virtualization extensions available.

                                        [    0.006834] devtmpfs: initialized

                                        [    0.017625] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0

                                        [    0.018299] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4

                                        [    0.018528] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

                                        [    0.018545] futex hash table entries: 1024 (order: 4, 65536 bytes)

                                        [    0.019101] pinctrl core: initialized pinctrl subsystem

                                        [    0.019851] NET: Registered protocol family 16

                                        [    0.022498] DMA: preallocated 1024 KiB pool for atomic coherent allocations

                                        [    0.027409] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

                                        [    0.027416] hw-breakpoint: maximum watchpoint size is 8 bytes.

                                        [    0.027634] Serial: AMBA PL011 UART driver

                                        [    0.029603] bcm2835-mbox 3f00b880.mailbox: mailbox enabled

                                        [    0.030115] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe

                                        [    0.062328] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1

                                        [    0.063788] SCSI subsystem initialized

                                        [    0.064017] usbcore: registered new interface driver usbfs

                                        [    0.064070] usbcore: registered new interface driver hub

                                        [    0.064153] usbcore: registered new device driver usb

                                        [    0.070073] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-02-12 19:46

                                        [    0.071408] clocksource: Switched to clocksource arch_sys_counter

                                        [    0.148190] VFS: Disk quotas dquot_6.6.0

                                        [    0.148272] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

                                        [    0.148456] FS-Cache: Loaded

                                        [    0.148642] CacheFiles: Loaded

                                        [    0.156687] NET: Registered protocol family 2

                                        [    0.157405] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

                                        [    0.157515] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

                                        [    0.157701] TCP: Hash tables configured (established 8192 bind 8192)

                                        [    0.157829] UDP hash table entries: 512 (order: 2, 16384 bytes)

                                        [    0.157873] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

                                        [    0.158100] NET: Registered protocol family 1

                                        [    0.158570] RPC: Registered named UNIX socket transport module.

                                        [    0.158576] RPC: Registered udp transport module.

                                        [    0.158581] RPC: Registered tcp transport module.

                                        [    0.158586] RPC: Registered tcp NFSv4.1 backchannel transport module.

                                        [    0.160200] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available

                                        [    0.162980] workingset: timestamp_bits=14 max_order=18 bucket_order=4

                                        [    0.171144] FS-Cache: Netfs 'nfs' registered for caching

                                        [    0.171786] NFS: Registering the id_resolver key type

                                        [    0.171816] Key type id_resolver registered

                                        [    0.171822] Key type id_legacy registered

                                        [    0.171837] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

                                        [    0.173763] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)

                                        [    0.173893] io scheduler noop registered

                                        [    0.173900] io scheduler deadline registered (default)

                                        [    0.174072] io scheduler cfq registered

                                        [    0.174079] io scheduler mq-deadline registered

                                        [    0.174085] io scheduler kyber registered

                                        [    0.176474] BCM2708FB: allocated DMA memory fad00000

                                        [    0.176500] BCM2708FB: allocated DMA channel 0 @ bb813000

                                        [    0.185056] Console: switching to colour frame buffer device 82x26

                                        [    0.190284] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled

                                        [    0.191722] bcm2835-rng 3f104000.rng: hwrng registered

                                        [    0.191865] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)

                                        [    0.192316] vc-sm: Videocore shared memory driver

                                        [    0.192600] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000

                                        [    0.202245] brd: module loaded

                                        [    0.210866] loop: module loaded

                                        [    0.210878] Loading iSCSI transport class v2.0-870.

                                        [    0.211615] libphy: Fixed MDIO Bus: probed

                                        [    0.211721] usbcore: registered new interface driver lan78xx

                                        [    0.211788] usbcore: registered new interface driver smsc95xx

                                        [    0.211805] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)

                                        [    0.239708] dwc_otg 3f980000.usb: base=0xf0980000

                                        [    0.439895] Core Release: 2.80a

                                        [    0.439904] Setting default values for core params

                                        [    0.439933] Finished setting default values for core params

                                        [    0.640187] Using Buffer DMA mode

                                        [    0.640193] Periodic Transfer Interrupt Enhancement - disabled

                                        [    0.640198] Multiprocessor Interrupt Enhancement - disabled

                                        [    0.640205] OTG VER PARAM: 0, OTG VER FLAG: 0

                                        [    0.640216] Dedicated Tx FIFOs mode

                                        [    0.640607] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad14000 dma = 0xfad14000 len=9024

                                        [    0.640630] FIQ FSM acceleration enabled for :

                                                       Non-periodic Split Transactions

                                                       Periodic Split Transactions

                                                       High-Speed Isochronous Endpoints

                                                       Interrupt/Control Split Transaction hack enabled

                                        [    0.640638] dwc_otg: Microframe scheduler enabled

                                        [    0.640691] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805ed94c

                                        [    0.640703] WARN::hcd_init_fiq:460: FIQ ASM at 0x805edcb4 length 36

                                        [    0.640715] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000

                                        [    0.640769] dwc_otg 3f980000.usb: DWC OTG Controller

                                        [    0.640802] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1

                                        [    0.640832] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000

                                        [    0.640879] Init: Port Power? op_state=1

                                        [    0.640884] Init: Power Port (0)

                                        [    0.641086] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

                                        [    0.641097] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

                                        [    0.641105] usb usb1: Product: DWC OTG Controller

                                        [    0.641114] usb usb1: Manufacturer: Linux 4.14.98-v7+ dwc_otg_hcd

                                        [    0.641121] usb usb1: SerialNumber: 3f980000.usb

                                        [    0.641732] hub 1-0:1.0: USB hub found

                                        [    0.641772] hub 1-0:1.0: 1 port detected

                                        [    0.642270] dwc_otg: FIQ enabled

                                        [    0.642275] dwc_otg: NAK holdoff enabled

                                        [    0.642280] dwc_otg: FIQ split-transaction FSM enabled

                                        [    0.642290] Module dwc_common_port init

                                        [    0.642520] usbcore: registered new interface driver usb-storage

                                        [    0.642688] mousedev: PS/2 mouse device common for all mice

                                        [    0.642756] IR NEC protocol handler initialized

                                        [    0.642761] IR RC5(x/sz) protocol handler initialized

                                        [    0.642767] IR RC6 protocol handler initialized

                                        [    0.642772] IR JVC protocol handler initialized

                                        [    0.642777] IR Sony protocol handler initialized

                                        [    0.642782] IR SANYO protocol handler initialized

                                        [    0.642787] IR Sharp protocol handler initialized

                                        [    0.642792] IR MCE Keyboard/mouse protocol handler initialized

                                        [    0.642797] IR XMP protocol handler initialized

                                        [    0.643518] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer

                                        [    0.643782] bcm2835-cpufreq: min=600000 max=1400000

                                        [    0.644160] sdhci: Secure Digital Host Controller Interface driver

                                        [    0.644165] sdhci: Copyright(c) Pierre Ossman

                                        [    0.644527] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe

                                        [    0.644852] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe

                                        [    0.644952] sdhci-pltfm: SDHCI platform and OF driver helper

                                        [    0.646390] ledtrig-cpu: registered to indicate activity on CPUs

                                        [    0.646525] hidraw: raw HID events driver (C) Jiri Kosina

                                        [    0.646692] usbcore: registered new interface driver usbhid

                                        [    0.646697] usbhid: USB HID core driver

                                        [    0.647274] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0

                                        [    0.648657] [vc_sm_connected_init]: start

                                        [    0.657212] [vc_sm_connected_init]: end - returning 0

                                        [    0.657814] Initializing XFRM netlink socket

                                        [    0.657836] NET: Registered protocol family 17

                                        [    0.657930] Key type dns_resolver registered

                                        [    0.658368] Registering SWP/SWPB emulation handler

                                        [    0.658946] registered taskstats version 1

                                        [    0.664904] uart-pl011 3f201000.serial: cts_event_workaround enabled

                                        [    0.664975] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2

                                        [    0.666553] console [ttyS0] disabled

                                        [    0.666582] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 166, base_baud = 31250000) is a 16550

                                        [    0.666625] console [ttyS0] enabled

                                        [    0.667505] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0

                                        [    0.667514] mmc-bcm2835 3f300000.mmc: DMA channel allocated

                                        [    0.722016] sdhost: log_buf @ bad13000 (fad13000)

                                        [    0.758737] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)

                                        [    0.760325] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

                                        [    0.761894] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

                                        [    0.764674] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)

                                        [    0.801425] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)

                                        [    0.802425] of_cfs_init

                                        [    0.802506] of_cfs_init: OK

                                        [    0.803208] Waiting for root device PARTUUID=b2293e98-02...

                                        [    0.842713] random: fast init done

                                        [    0.850015] mmc1: new high speed SDIO card at address 0001

                                        [    0.861596] Indeed it is in host mode hprt0 = 00021501

                                        [    0.962617] mmc0: host does not support reading read-only switch, assuming write-enable

                                        [    0.966521] mmc0: new high speed SDHC card at address aaaa

                                        [    0.966972] mmcblk0: mmc0:aaaa JULIE 14.8 GiB

                                        [    0.969528]  mmcblk0: p1 p2

                                        [    0.996039] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem

                                        [    0.996046] EXT4-fs (mmcblk0p2): write access will be enabled during recovery

                                        [    1.071461] usb 1-1: new high-speed USB device number 2 using dwc_otg

                                        [    1.071599] Indeed it is in host mode hprt0 = 00001101

                                        [    1.135367] EXT4-fs (mmcblk0p2): recovery complete

                                        [    1.138342] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

                                        [    1.138396] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.

                                        [    1.145996] devtmpfs: mounted

                                        [    1.149264] Freeing unused kernel memory: 1024K

                                        [    1.311760] usb 1-1: New USB device found, idVendor=0424, idProduct=2514

                                        [    1.311775] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

                                        [    1.312385] hub 1-1:1.0: USB hub found

                                        [    1.312471] hub 1-1:1.0: 4 ports detected

                                        [    1.555180] systemd[1]: System time before build time, advancing clock.

                                        [    1.631456] usb 1-1.1: new high-speed USB device number 3 using dwc_otg

                                        [    1.703398] NET: Registered protocol family 10

                                        [    1.704428] Segment Routing with IPv6

                                        [    1.716705] ip_tables: (C) 2000-2006 Netfilter Core Team

                                        [    1.733876] random: systemd: uninitialized urandom read (16 bytes read)

                                        [    1.739486] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)

                                        [    1.740045] systemd[1]: Detected architecture arm.

                                        [    1.743791] systemd[1]: Set hostname to <raspberrypi>.

                                        [    1.761760] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514

                                        [    1.761774] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

                                        [    1.762395] hub 1-1.1:1.0: USB hub found

                                        [    1.762488] hub 1-1.1:1.0: 3 ports detected

                                        [    1.777038] random: systemd: uninitialized urandom read (16 bytes read)

                                        [    1.793275] random: systemd-cryptse: uninitialized urandom read (16 bytes read)

                                        [    2.071528] Under-voltage detected! (0x00050005)

                                        [    2.115189] dwc_otg_handle_wakeup_detected_intr lxstate = 2

                                        [    2.223478] systemd[1]: [/lib/systemd/system/matrixio-malos-zigbee.service:10] Unknown lvalue 'After' in section 'Install'

                                        [    2.253669] systemd[1]: Listening on fsck to fsckd communication Socket.

                                        [    2.272873] systemd[1]: Listening on Journal Socket (/dev/log).

                                        [    2.273180] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.

                                        [    2.274001] systemd[1]: Created slice User and Session Slice.

                                        [    2.274238] systemd[1]: Listening on Syslog Socket.

                                        [    2.274558] systemd[1]: Listening on udev Control Socket.

                                        [    2.431628] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.

                                        [    2.437889] bcm2835_alsa bcm2835_alsa: card created with 8 channels

                                        [    2.484056] i2c /dev entries driver

                                        [    2.514110] media: Linux media interface: v0.10

                                        [    2.539906] Linux video capture interface: v2.00

                                        [    2.571507] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg

                                        [    2.574078] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.

                                        [    2.701936] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800

                                        [    2.701950] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

                                        [    2.842618] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

                                        [    2.967475] libphy: lan78xx-mdiobus: probed

                                        [    2.972790] systemd-journald[89]: Received request to flush runtime journal from PID 1

                                        [    2.991115] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64

                                        [    3.395712] Driver for 1-wire Dallas network protocol.

                                        [    3.398982] w1-gpio onewire@0: gpio pin 4, external pullup pin -1, parasitic power 0

                                        [    3.399009] w1_add_master_device: set_pullup requires write_byte or touch_bit, disabling

                                        [    3.751996] brcmfmac: F1 signature read @0x18000000=0x15264345

                                        [    3.762249] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006

                                        [    3.762811] usbcore: registered new interface driver brcmfmac

                                        [    3.945145] random: crng init done

                                        [    3.945159] random: 7 urandom warning(s) missed due to ratelimiting

                                        [    4.087181] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04

                                        [    4.087867] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28

                                        [    5.117440] uart-pl011 3f201000.serial: no DMA platform data

                                        [    6.057223] Adding 102396k swap on /var/swap.  Priority:-2 extents:204 across:239680k SSFS

                                        [    6.391668] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

                                        [    6.391744] brcmfmac: power management disabled

                                        [    7.147748] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

                                        [    8.574513] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

                                        [   13.195710] Bluetooth: Core ver 2.22

                                        [   13.195862] NET: Registered protocol family 31

                                        [   13.195876] Bluetooth: HCI device and connection manager initialized

                                        [   13.197549] Bluetooth: HCI socket layer initialized

                                        [   13.197578] Bluetooth: L2CAP socket layer initialized

                                        [   13.197644] Bluetooth: SCO socket layer initialized

                                        [   13.214781] Bluetooth: HCI UART driver ver 2.3

                                        [   13.214804] Bluetooth: HCI UART protocol H4 registered

                                        [   13.214812] Bluetooth: HCI UART protocol Three-wire (H5) registered

                                        [   13.215037] Bluetooth: HCI UART protocol Broadcom registered

                                        [   13.565699] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

                                        [   13.565713] Bluetooth: BNEP filters: protocol multicast

                                        [   13.565735] Bluetooth: BNEP socket layer initialized

                                        [   13.659212] Bluetooth: RFCOMM TTY layer initialized

                                        [   13.659267] Bluetooth: RFCOMM socket layer initialized

                                        [   13.659312] Bluetooth: RFCOMM ver 1.11

                                        2 of 2 people found this helpful
                                      • Re: Matrix Creator not working with Raspberry pi
                                        Christopher Stanton

                                        There was a problem with the element14 Community yesterday that prevented image uploads, this should now be resolved.

                                        3 of 3 people found this helpful
                                  • Re: Matrix Creator not working with Raspberry pi
                                    aabhas

                                    samreen.islam , jomoenginer and tariq.ahmad.

                                    I  have posted all the outputs mentioned of commands mentioned above , please infpri me if I need to post output of any other command.

                                    I think now you can rectify wether myatrix creator is damamda or not.

                                    I have used the arm dev day image for Rpi and snips is also configured , this is the output of tge assistant.js , the wakeword is not detected and when I run helloWorld.js there is no output on everloop.

                                    The image is attached below

                                    2 of 2 people found this helpful
                                      • Re: Matrix Creator not working with Raspberry pi
                                        samreen.islam

                                        aabhas,

                                         

                                        What is your terminal output when you run the helloWorld.js everloop example?

                                         

                                        Can you also let me know the output of the command below?

                                        systemctl status matrixio-malos

                                         

                                        Thanks!
                                        Samreen

                                        3 of 3 people found this helpful
                                          • Re: Matrix Creator not working with Raspberry pi
                                            aabhas

                                            samreen.islam

                                            This is the terminal output of the command you told

                                            2 of 2 people found this helpful
                                            • Re: Matrix Creator not working with Raspberry pi
                                              aabhas

                                              samreen.islam

                                              This was the output of fgpa test.

                                               

                                              Aabhas Senapati

                                              2 of 2 people found this helpful
                                                • Re: Matrix Creator not working with Raspberry pi
                                                  samreen.islam

                                                  Can you please run the following and let me know the output?

                                                  cd /usr/share/matrixlabs/matrixio-devices/
                                                  sudo ./fpga-program.bash 
                                                  2 of 2 people found this helpful
                                                    • Re: Matrix Creator not working with Raspberry pi
                                                      aabhas

                                                      This is the output of the command which you told.

                                                      2 of 2 people found this helpful
                                                        • Re: Matrix Creator not working with Raspberry pi
                                                          samreen.islam

                                                          aabhas

                                                           

                                                          Thank you for your patience so far! We are getting closer to identifying what may be causing the problem.

                                                           

                                                          Could you post the outputs of the following?

                                                          lsmod | grep matrix
                                                          2 of 2 people found this helpful
                                                            • Re: Matrix Creator not working with Raspberry pi
                                                              jomoenginer

                                                              samreen.islam

                                                               

                                                              The following is seen in the dmesg output that was posted.  Is this normal?

                                                               [    2.223478] systemd[1]: [/lib/systemd/system/matrixio-malos-zigbee.service:10] Unknown lvalue 'After' in section 'Install'
                                                              
                                                              

                                                               

                                                              Would it be helpful to run the matrix-init command from matixio-devices to reinitialize the Creator?

                                                              /usr/share/matrixlabs/matrixio-devices/matrix-init.bash

                                                               

                                                              Also, I am not running with the MATRIX OS or the Day One image, however would it be helpful to run the following to update the os and firmware just to ensure it is a current level?

                                                              sudo apt-get update
                                                              sudo apt-get upgrade
                                                              sudo apt-get dist-upgrade
                                                              sudo apt-get install rpi-update
                                                              sudo rpi-update
                                                              

                                                               

                                                              Perhaps the other option is to download and install a base Raspbian image and then install the MATRIX Creator manually?

                                                              2 of 2 people found this helpful
                                                              • Re: Matrix Creator not working with Raspberry pi
                                                                aabhas

                                                                samreen.islam

                                                                The output of lsmod is

                                                                pi@raspberrypi:~ $ lsmod
                                                                Module                  Size  Used by
                                                                fuse                  110592  3
                                                                rfcomm                 49152  16
                                                                bnep                   20480  2
                                                                hci_uart               36864  1
                                                                btbcm                  16384  1 hci_uart
                                                                serdev                 20480  1 hci_uart
                                                                bluetooth             368640  39 hci_uart,bnep,btbcm,rfcomm
                                                                ecdh_generic           28672  1 bluetooth
                                                                spidev                 16384  0
                                                                brcmfmac              307200  0
                                                                brcmutil               16384  1 brcmfmac
                                                                cfg80211              573440  1 brcmfmac
                                                                rfkill                 28672  7 bluetooth,cfg80211
                                                                i2c_bcm2835            16384  0
                                                                spi_bcm2835            16384  0
                                                                w1_gpio                16384  0
                                                                wire                   40960  1 w1_gpio
                                                                cn                     16384  1 wire
                                                                hwmon                  16384  1 wire
                                                                fixed                  16384  0
                                                                uio_pdrv_genirq        16384  0
                                                                uio                    20480  1 uio_pdrv_genirq
                                                                bcm2835_v4l2           53248  0
                                                                v4l2_common            16384  1 bcm2835_v4l2
                                                                videobuf2_vmalloc      16384  1 bcm2835_v4l2
                                                                videobuf2_memops       16384  1 videobuf2_vmalloc
                                                                videobuf2_v4l2         24576  1 bcm2835_v4l2
                                                                videobuf2_core         45056  2 bcm2835_v4l2,videobuf2_v4l2
                                                                videodev              184320  4 v4l2_common,videobuf2_core,bcm2835_v4l2,videobuf2_v4l2
                                                                media                  32768  1 videodev
                                                                i2c_dev                16384  0
                                                                snd_dummy              24576  0
                                                                snd_bcm2835            32768  1
                                                                snd_pcm                98304  2 snd_bcm2835,snd_dummy
                                                                snd_timer              32768  1 snd_pcm
                                                                snd                    69632  6 snd_timer,snd_bcm2835,snd_dummy,snd_pcm
                                                                ip_tables              24576  0
                                                                x_tables               32768  1 ip_tables
                                                                ipv6                  425984  69
                                                                

                                                                Nothing is displayed on terminal when I run grep matrix command.

                                                                2 of 2 people found this helpful
                                                                  • Re: Matrix Creator not working with Raspberry pi
                                                                    jomoenginer

                                                                    Yeah, I don't get anything either when I try to grep for 'matrix' by running 'lsmod | grep matrix' and my config is working.

                                                                    2 of 2 people found this helpful
                                                                      • Re: Matrix Creator not working with Raspberry pi
                                                                        samreen.islam

                                                                        The Arm DevDay image has kernel modules installed which means 'lsmod | grep matrix' should output something like the following.

                                                                        pi@raspberrypi:~ $ lsmod | grep matrix
                                                                        matrixio_playback      49152  1
                                                                        matrixio_mic          278528  1
                                                                        matrixio_codec         16384  1
                                                                        snd_soc_core          188416  3 matrixio_playback,matrixio_codec,matrixio_mic
                                                                        matrixio_uart          16384  0
                                                                        matrixio_env           16384  0
                                                                        matrixio_imu           16384  0
                                                                        industrialio           73728  2 matrixio_imu,matrixio_env
                                                                        matrixio_gpio          16384  0
                                                                        matrixio_everloop      16384  0
                                                                        matrixio_regmap        61440  0
                                                                        matrixio_core          16384  7 matrixio_everloop,matrixio_regmap,matrixio_playback,matrixio_imu,matrixio_mic,matrixio_uart,matrixio_env
                                                                        snd_pcm                98304  6 matrixio_playback,snd_pcm_dmaengine,matrixio_mic,snd_bcm2835,snd_soc_core,snd_dummy

                                                                         

                                                                        jomoenginer, I did see the malos zigbee part in dmesg and thought it was interesting, but assumed that zigbee may have been installed. aabhas, did you try to install zigbee modules?

                                                                         

                                                                        I think as Jon Morss said earlier, it might be worth trying from scratch with a clean install of Raspbian Stretch. Then install MATRIX Lite and try the simple everloop example. If this does not work, please let me know and we can troubleshoot from there.

                                                                         

                                                                        In the meantime, I will test the Arm DevDay image to see what is going on there.

                                                                         

                                                                        Best,

                                                                        Samreen

                                                                        2 of 2 people found this helpful
                                                                          • Re: Matrix Creator not working with Raspberry pi
                                                                            aabhas

                                                                            samreen.islam

                                                                            I didn't try to install zigbee modules.

                                                                             

                                                                            Aabhas Senapati

                                                                            2 of 2 people found this helpful
                                                                              • Re: Matrix Creator not working with Raspberry pi
                                                                                jomoenginer

                                                                                That is odd you do not see the driver modules loaded.  You could try to load them manually just to see if they are present or that there is some sort of issue with loading them.

                                                                                 

                                                                                Try the following and see what the output is:

                                                                                 

                                                                                sudo modprobe -v matrixio_gpio

                                                                                 

                                                                                There are the dependencies for matrix_core, so if the gpio one works, then try the others and then load matrix_core the same way.

                                                                                Do these first:

                                                                                  matrixio_everloop, matrixio_regmap, matrixio_playback, matrixio_imu, matrixio_mic, matrixio_uart, matrixio_env

                                                                                 

                                                                                if it succeeds, check your gpio listing again.

                                                                                 

                                                                                You may want to have a look at '/var/log/messages' or 'dmesg' to see if any errors shown.

                                                                                2 of 2 people found this helpful
                                                            • Re: Matrix Creator not working with Raspberry pi
                                                              aabhas

                                                              Nothing is displayed on terminal when running the node helloWorld.js command.

                                                              And when I run node assistant.js it displays connected to snips mqtt server

                                                              I will run the command which you have specified and post it's result after some time.

                                                               

                                                              Thanks

                                                              Aabhas Senapati

                                                              1 of 1 people found this helpful
                                                              • Re: Matrix Creator not working with Raspberry pi
                                                                aabhas

                                                                These are the images of front and back of the matrix creator and when it's connected with raspberry pi 3B+

                                                                2 of 2 people found this helpful
                                                                • Re: Matrix Creator not working with Raspberry pi
                                                                  aabhas

                                                                  samreen.islam

                                                                  I have a doubt that how do we get the data of the sensors in matrix creator like for temperature the command in js it is matrix.temperature so what is the command for other sensor inputs?

                                                                  Other doubt is how do we read the status of a gpio I mean getting data wether it is high or low.

                                                                   

                                                                  Thanks

                                                                  Aabhas Senapati

                                                                  1 of 1 people found this helpful
                                                                  • Re: Matrix Creator not working with Raspberry pi
                                                                    aabhas

                                                                    Also how do we get analog , i2c ,spi based sensor data input

                                                                    1 of 1 people found this helpful
                                                                      • Re: Matrix Creator not working with Raspberry pi
                                                                        samreen.islam

                                                                        aabhas,

                                                                         

                                                                        Is the MATRIX Creator working for you now?

                                                                         

                                                                        The commands for getting sensor data will depend on what programming layer you are using. If you are using JavaScript in MATRIX Core (which is in the Arm DevDay image), then you can find the references here. MATRIX Core is a bit elaborate syntax-wise since it uses protocol buffers with ZeroMQ to communicate with the lower layer to receive sensor data. In the Arm DevDay image, that is abstracted away from you in this file, so you see it as matrix.temperature.

                                                                         

                                                                        If you want simpler syntax in JavaScript for reading sensors, I recommend using MATRIX Lite. It is a direct wrapper around our lowest layer so it is faster and the syntax is simpler. You can see how to install it here. The references for reading the sensors can be found here. If you want full examples, you can check out the GitHub page here.

                                                                         

                                                                        Both of the above layers have GPIO references as well in the links I provided, so you can digitally read and write to the MATRIX Creator GPIO pins. MATRIX Lite allows for PWM as well, and both layers have servo control implemented.

                                                                         

                                                                        Regarding analog, i2c and SPI based sensor inputs through the MATRIX Creator GPIO pins, the hardware infrastructure is there to support this, but we have not implemented the software for it yet. We are looking to do this in the future.

                                                                        2 of 2 people found this helpful
                                                                      • Re: Matrix Creator not working with Raspberry pi
                                                                        Vimarsh ‍

                                                                        Hi,

                                                                        I also was facing such issues, first, when I tried matrix creator on ArmDevDay image it worked and after 2-3 days it stopped working. I tried all the troubleshooting steps as mentioned above and that on matrix website.

                                                                        Then I formatted my SD card twice and burned Raspbian Stretch Lite on it.

                                                                        Did not to any wpa_ ... settings. Connected display and keyboard to RPi and connected to a network and enabled SSH, SPI, I2c, one wire, and remote GPIO

                                                                        then I installed matrix core from Install MATRIX Core and then installed nodeJS Setup JavaScript (ensure that MATRIX Core is working by running the example JS app)

                                                                         

                                                                        and on running app.js via ssh it worked.

                                                                        Then I proceeded to install Snips platform to complete my project

                                                                        Though I had to several times start and stop Malos service https://matrix-io.github.io/matrix-documentation/matrix-core/getting-started/core-installation/

                                                                         

                                                                        And it works.

                                                                        If you want my image if it can help you then I can send it!

                                                                         

                                                                        Vimarsh

                                                                        2 of 2 people found this helpful