Unable to Access GNSS Receiver

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18569
    nixone
    Participant

    Hello OZZMAKER Community,

    I’m facing an issue with my OZZMAKER SARA-R5 LTE-M GPS + 10DOF module, specifically related to accessing the GNSS receiver. Despite multiple attempts to establish communication using tools like minicom, screen, and cat, I’m not receiving any responses or data, and I’m unable to execute any commands. I’m running the board on top of a Pi Zero W, and all other sensors seem to be operating as expected.

     dmesg | grep tty
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720×480@60i smsc95xx.macaddr=B8:27:EB:20:FC:EF vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=tty1 console=ttyS0,115200 root=PARTUUID=0be438f9-02 rootfstype=ext4 fsck.repair=yes rootwait
    [ 0.001516] printk: console [tty1] enabled
    [ 3.811555] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
    [ 3.823791] printk: console [ttyS0] disabled
    [ 3.827084] 20215040.serial: ttyS0 at MMIO 0x20215040 (irq = 53, base_baud = 50000000) is a 16550
    [ 4.862550] printk: console [ttyS0] enabled
    [ 9.063712] systemd[1]: Created slice system-getty.slice.
    [ 9.150244] systemd[1]: Created slice system-serial\x2dgetty.slice.

    uname -a
    Linux pi0 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux

    #18570
    Mark Williams
    Keymaster

    this line shows that it looks like you still have the console enabled
    [ 4.862550] printk: console [ttyS0] enabled

     

    Have you done this?

    sudo raspi-config
    Select interfacing options -> Serial -> No -> Yes

     

    And then Yes to reboot

     

    Then, once the Pi is back up use minicome to connect to serial0

    minicom 115200 -D /dev/serial0

    Enter “AT” hit enter and you should get “OK” response

    Mark --OzzMaker.com --

    #18572
    nixone
    Participant

    Thank you for your previous instructions. I carefully executed each step as advised. After rebooting the system, I initiated the minicom 115200 -D /dev/serial0 command. However, the problem still persists, and I’m unable to interact with the module as I cannot input AT commands.

    dmesg | grep tty
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720×480@60i smsc95xx.macaddr=B8:27:EB:20:FC:EF vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=tty1 root=PARTUUID=0be438f9-02 rootfstype=ext4 fsck.repair=yes rootwait
    [ 0.001508] printk: console [tty1] enabled
    [ 3.812014] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
    [ 3.824402] 20215040.serial: ttyS0 at MMIO 0x20215040 (irq = 53, base_baud = 50000000) is a 16550
    [ 7.788563] systemd[1]: Created slice system-getty.slice.

    #18574
    nixone
    Participant

    I am actually able to access the module as intended now.

    Thank you for your support.

    #18752
    g189ffin
    Participant

    Hi,

    I can’t get any serial output from GPS – I get nothing when I run cat /dev/serial0. I have done:

    sudo raspi-config
    Select interfacing options -> Serial -> No -> Yes

    but when I send the dmesg | grep tty  command, I get this:

    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=E4:5F:01:C3:00:2D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=076c460e-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB
    [ 0.000377] printk: console [tty1] enabled
    [ 1.593194] fe201000.serial: ttyAMA1 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
    [ 1.593409] serial serial0: tty port ttyAMA1 registered
    [ 1.601781] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 37, base_baud = 62500000) is a 16550
    [ 5.334007] systemd[1]: Created slice system-getty.slice – Slice /system/getty.

    I am able to see i2c devices – haven’t tried GPS on I2C. Please can you help?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop…