Skip to content

GOOSE Embedded Platform Troubleshooting

Muhammad Saad edited this page Jan 29, 2020 · 1 revision

Setup and test GOOSE single board computer (SBC)

GOOSE board

Label # Schematic # Unit Comment
1 X1004 SBC UARTs
2 N/A USB 2.0 Hub USB 2
3 X1006 CAN 1 Controller SN65HVD232DR
4 X1002 GPIOs I2C to GPIO
5 X1001 SPI of SBC
6 X400 JTAG FPGA
7 X300 USB 2.0 Top: SBC_USB1; Bot: Hub USB 1
8 X100 Main Power Plug
9 X600 Ethernet
10 X101 Power Supplies +5V (up to 1A), +3.3V (up to 1A)
11 X1005 UART Cypress FX3
12 X201 EEPROM disable Cypress FX3
13 X601 RFFE Interface Samtec QSH-060-01-L-D-A-K
14 X900 SBC Interface MM70-314-310B1-2-R300
15 X200 USB 3.0
16 S700 FPGA Mode Pins
17 V400 LED FPGA Done
18 V401 LED I2C GPIO 03
19 V402 LED FPGA LED 00
20 V407 LED FPGA LED 00
21 S401 Push Button FPGA Aux Reset Llow active
22 S500 Push Button SBC Reset low active
23 S501 Push Button SBC Power Button
24 S400 Push Button FPGA configuration Reset
25 V101 LED Main Power ON
26 V102 LED SBC Power ON
27 V104 LED Power +3.3V ON
28 V105 LED Power +5.0V ON
29 X500 SD Card Slot
30 X302 USB 2.0 SBC USB 0
31 X1003 HDMI
32 R116 CARRIER_PWR_ON 0 Ohm Resistor
33 R501 Boot select of SBC Resistors R500, R501 and R502
  1. Connect a keyboard via USB 2.0 (15), a monitor via HDMI (31) and a network cable (9).

  2. Provide power to the main power plug in GOOSE board (8).

    • Connector: Floppy drive power cable on a standard PC power supply
    • Voltage: 12V DC
    • To use a standard PC power supply without mainboard, connect the ATX pin PC_ON (power on) to ground (see https://en.wikipedia.org/wiki/ATX)
  3. After boot, a prompt is shown on the connected monitor:

    (goose-arm-rootfs-build)root@goose:~# _
    
  4. If you want to modify the keyboard layout type dpkg-reconfigure keyboard-configuration and select the desired layout. The default layout is German.

  5. Network configuration:

    • Get the MAC address with ifconfig.
    • Add the MAC address and hostname to your DNS server configuration (not on the SBC).
    • Set the desired hostname in the /etc/hostname file. The default hostname is goose. Available editors are vim and nano
    • Reboot the SBC: reboot
  6. Now, you can connect from another PC to the SBC via SSH: ssh root@HOSTNAME. The default password is root. It can be changed with the command passwd.

  7. Check if the FPGA PCIe device is detected. If not reboot.

    (goose-arm-rootfs-build)root@goose:~# lspci
    00:00.0 PCI bridge: Device 16c3:abcd (rev 01)
    01:00.0 Non-VGA unclassified device: Xilinx Corporation Device 7024
    
  8. Check if the symlink to the registers is created. If not call initctl start fhgpcie

    (goose-arm-rootfs-build)root@goose:~# ls -l /dev | grep fhgpcie
    lrwxrwxrwx 1 root dialout       43 Jan  1  1970 fhgpcie -> /sys/bus/pci/devices/0000:01:00.0/resource0
    
  9. Informations about the FPGA design can be shown with print_hw_version

    (goose-arm-rootfs-build)root@goose:~# print_hw_version
    timestamp: 2015-11-29 14:55:04
    git revision: FACCB604
    proj id: 46EB
    jenkins build: 337
    
  10. Check if the lock LED on the front-end board (V400) is on. If not press the reset button on the front-end board (S400).

  11. Enable/disable antenna power (4.5V DC, max. 80mA). It is disabled by default. Overcurrent is indicated by the LED on the front-end board (V603). An external antenna can be connected to the MMCX connector on the front-end board (X602).

    antenna_power_on
    antenna_power_off
    
  12. Check the gain of the front-end with read_sample_rec. If it shows no Gaussian distribution, press the reset button on the front-end board (S400). With the -s option the signal can be selected.

    (goose-arm-rootfs-build)root@goose:~# read_sample_rec -s E1
    sh: 1: /usr/bin/lsof: not found
    finished
    -8|o
    -7|o
    -6|o
    -5|o
    -4|--o
    -3|--------------o
    -2|--------------------------------------------o
    -1|-------------------------------------------------------------------------------o
     0|-----------------------------------------------------------------------------o
     1|------------------------------------------o
     2|-------------o
     3|-o
     4|o
     5|o
     6|o
     7|o
    
    (goose-arm-rootfs-build)root@goose:~# read_sample_rec -s E5
    sh: 1: /usr/bin/lsof: not found
    finished
    -8|o
    -7|o
    -6|o
    -5|o
    -4|--o
    -3|---------------o
    -2|---------------------------------------------o
    -1|-------------------------------------------------------------------------------o
    0|------------------------------------------------------------------------------o
    1|-------------------------------------------o
    2|-------------o
    3|--o
    4|o
    5|o
    6|o
    7|o
    
  13. Test the acquisition with tst_fft_acq. GPS 1-32, SBAS 120, 124, 126, Galileo 1-50.

    (goose-arm-rootfs-build)root@goose:~# tst_fft_acq 
    sh: 1: /usr/bin/lsof: not found
    Acquisition of GPS PRN 1:
                    Coarse          Medium          Fine
    Success:        1               0               0
    Doppler:        1500
    Code offset:    628.136
    PNR:            45
    Runtime (ms):   221             0               0
    
    Acquisition of GPS PRN 2:
                    Coarse          Medium          Fine
    Success:        0               0               0
    Doppler:
    Code offset:
    PNR:
    Runtime (ms):   221             985             445
    
    Acquisition of GPS PRN 3:
                    Coarse          Medium          Fine
    Success:        1               0               0
    Doppler:        3000
    Code offset:    577.935
    PNR:            40
    Runtime (ms):   221             0               0
    ...
    
  14. The receiver program is called ogre_console. CPU core 1 is reserved for GNSS applications. To bind a process to this core, use taskset.

    taskset -c 1 ogre_console --gps-l1
    
  15. The default data output is STDOUT, but can be changes with the option "--ogrp-output".

  16. For more options use ogre_console --help.

  17. The output format of the receiver is OGRP. See https://github.com/Fraunhofer-IIS/ogrp.

  18. Serial connection

  19. The SBC has one CAN connector (X1006): GOOSE board