GPSberry not working on my PI4

Home Forums Forums Technical Support for BerryGPS and BerryGPS-IMU GPSberry not working on my PI4

Tagged: 

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #15117
    bend94
    Participant

    Hi

    I bought a GPSberry, i followed the process (disable console, enable serial) .Plug the GPSBerry on my PI4

    But nothing is working and i am lost.

    root@raspberrypi:~# dmesg| grep tty
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M cma=256M video=Composite-1:720×480@60,margin_left=32,margin_right=32,margin_top=32,margin_bottom=32 smsc95xx.macaddr=DC:A6:32:68:5A:AF vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=97709164-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    [ 0.000261] console [tty1] enabled
    [ 0.422236] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
    [ 0.427503] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 36, base_baud = 62500000) is a 16550
    [ 1.945067] systemd[1]: Created slice system-getty.slice.
    root@raspberrypi:~# ls -l /dev/serial*
    lrwxrwxrwx 1 root root 5 févr. 28 21:25 /dev/serial0 -> ttyS0
    lrwxrwxrwx 1 root root 7 févr. 28 21:25 /dev/serial1 -> ttyAMA0

    How to be sure that my GPSBerry is working ?

    # cgps

    lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqklqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
    x Time: n/a xxPRN: Elev: Azim: SNR: Used: x
    x Latitude: n/a xx x
    x Longitude: n/a xx x
    x Altitude: n/a xx x
    x Speed: n/a xx x
    x Heading: n/a xx x
    x Climb: n/a xx x
    x Status: NO FIX (3 secs) xx x
    x Longitude Err: n/a xx x
    x Latitude Err: n/a xx x
    x Altitude Err: n/a xx x
    x Course Err: n/a xx x
    x Speed Err: n/a xx x
    x Time offset: n/a xx x
    x Grid Square: n/a xx x
    mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
    {“class”:”VERSION”,”release”:”3.17″,”rev”:”3.17″,”proto_major”:3,”proto_minor”:12}

    “:9600,”parity”:”N”,”stopbits”:1,”cycle”:1.00}]}
    {“class”:”WATCH”,”enable”:true,”json”:true,”nmea”:false,”raw”:0,”scaled”:false,”timing”:false,”split24″:false,”pps”:false}

    Please help

    Thanks in advance

    #15144
    Mark Williams
    Keymaster

    Have you followed everything on this page?

    https://ozzmaker.com/berrygps-setup-guide-raspberry-pi/

     

    Do you see any data when using;
    cat /dev/serial0
    or
    minicom -b 9600 -o -D /dev/serial0

    Mark --OzzMaker.com --

    #15152
    bend94
    Participant

    Hi

    Yes i followed the link

    here is the dmesg | grep tty   output

    root@raspberrypi:~# dmesg|grep tty
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M cma=256M video=Composite-1:720×480@60,margin_left=32,margin_right=32,margin_top=32,margin_bottom=32 smsc95xx.macaddr=DC:A6:32:68:5A:AF vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=97709164-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    [ 0.000260] console [tty1] enabled
    [ 0.422050] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2

    [ 0.427259] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 36, base_baud = 62500000) is a 16550

     

     

    When i display the /dev/serial0 i get some special characters

    root@raspberrypi:~# cat /dev/serial0
    ▒b▒q▒6!v5▒(P.▒*▒.%%
    9▒7Ԭ4▒b▒6▒▒.▒.▒3Բ4▒f▒▒2!v1▒,▒.▒(▒,▒,▒,▒*▒.ة4▒b▒
    ▒▒!▒.▒.▒.▒*▒,▒,▒,▒,▒,▒,Բ4▒f▒ ▒▒%▒.▒*▒.▒.▒,▒,▒,▒,▒,▒,Բ4▒▒▒m▒▒%▒(ج4▒b▒m▒▒%▒(Ъ4▒b▒%.▒.▒(%▒9!T.▒*r▒f▒▒.%▒(▒(,;▒i▒;%!m▒m/▒/▒IP▒(▒▒▒iu▒΢G/▒b▒q▒6!▒!▒(T.▒.▒.!%
    9▒7ԫ4▒b▒2▒▒.▒*▒7в4▒b▒▒6!▒!▒(▒.▒(▒(▒,▒,▒.▒.ܲ4▒b▒
    ▒▒%▒.▒.▒.▒.▒,▒,▒,▒,▒,▒,в4▒b▒

    With Minicom that is the same special chars

    minicom -b 9600 -o -D /dev/serial0

    ��!¤*¤. .¤*ì,è,ì,ì,è,ì,Ô²4첪�¦i��%À(Ì-̤.%j1Qªb¦m��!Ä,ÔĪ0ªb¦%. .Ì,)̱/!T.±ªø ܲ¦
    ��%¤.¤.¤.¤.ì,ì,ì,è,ì,ì,в4첪�¦m��%Ä(Ì)Ĥ.!j1Qªb¦m��%À(ÔԪ4ªb¦%.¤*Ì()̡/!T.µ.øªb°q�6%
    ��%¤. .¤*¤.ì,ì,ì,ì,ì,ì,Ô²0첪�¦m��!Ä,Ì)Ġ.!jEQªb¦m��%Ä(ÐĪ4ªb¦%.¤.Ì()̑/!T.µªqåªf媴u%6�% .¤*¤. .ì,ì,ì,ì,ì,ì,в4첪�¦m��%Ä(È)Ĥ*%jAQªb¦i��%À(ÔԮ4ªb¦%*¤.Ì()́/!T.µ*qåªb媴

     

    Please help me

    thanks

     

     

     

     

    #15156
    Mark Williams
    Keymaster

    usually when you get garbage , it means that the speed on the serial port is incorrect.
    what is the output of, the below command;
    stty -F /dev/serial0

    Can you also please make sure you are running the latest firmware as when the Pi 4 first came out, there was issues with the serial speed, which was later fixed.

    Mark --OzzMaker.com --

    #15163
    bend94
    Participant

    Hi,

    Thanks again for your support
    I did :

    apt-get update
    apt-get full-upgrade
    rpi-update

    The kernel has been updated.
    I rebooted

    then try to see the speed:

    root@raspberrypi:~# stty -F /dev/serial0
    speed 9600 baud; line = 0;
    -brkint -imaxbel

    9600 baud seems ok

    i stopped gpsd.socket

    sudo systemctl stop gpsd.socket

    I try to see /dev/serial0 again

    but always the same strange chars
    9v1▒,ܫ0▒▒▒m▒▒!▒,▒(▒)▒+a▒9K9!▒)9▒+▒,ԫ9▒9k9▒9k)▒+ܯ4▒▒▒m▒▒%▒(▒,▒*▒+9k9
    9k9
    -▒,ܫ0▒f▒i▒▒%▒(▒,▒)▒9▒,▒)▒*e▒▒.-▒(9▒*▒(▒+a-▒HM1b

    Please help
    Thanks

    #15167
    Mark Williams
    Keymaster

    We should try two more things.

    Can you do a loopback test of your serial port?
    If you have a jumper wire, connect TX and RX together. Then start minicom.
    minicom -b 9600 -o -D /dev/serial0

    +Do you see extra characters in minicom?
    +When you type within minicom, do you see the characters you type?

    finally, can you upload a close up photo here of the header and gps part of the BerryGPS-IMU.

    Mark --OzzMaker.com --

    #15182
    bend94
    Participant

    Hi

    >Can you do a loopback test of your serial port?
    >If you have a jumper wire, connect TX and RX together. Then start minicom.
    >minicom -b 9600 -o -D /dev/serial0

    > +Do you see extra characters in minicom?
    > +When you type within minicom, do you see the characters you type?

    You mean a loopback ok, but with or without the GPSberrycard?

    i will test this evening at home and let you know

    >finally, can you upload a close up photo here of the header and gps part of the BerryGPS-IMU.

    Yes sure, i will do it at home this evening to.

    I would like to use that GPSberry with my PI with NAVIT.

    Many THANKS

    Keep you inform

     

    #15184
    Mark Williams
    Keymaster

    connect the loopback without the BerryGPS-IMU module, like below

    Mark --OzzMaker.com --

    #15191
    bend94
    Participant

    Hi ,

    I stopped the pi, disconnect GPSBerry, put a wire loopback between Tx and Rx

    Started pi, do minicom -b 9600 -o -D /dev/serial0

    No i don’t see extra characters in minicom
    Yes, when i typed within minicom, i can see the characters i typed.

    please find also a close up photo here of the header and gps part of the BerryGPS-IMU.

    Best Regards

     

    Attachments:
    #15202
    Mark Williams
    Keymaster

    Mmmmm… everything looks correct.

    Last test, please try connecting at 115200
    minicom -b 115200 -o -D /dev/serial0

    Pleas forward your receipt of purchase to sales < @ > ozzmaker.com as we may need to send you a new unit.

    Mark --OzzMaker.com --

    #15206
    bend94
    Participant

    Hi

    For the last minicom test do i also remove Gpsberry and put a wire loopback?

    Thx

    #15208
    Mark Williams
    Keymaster

    no, have the BerryGPS plug in. I just want to check to see if for some reason, it is using the speed of 115200. Default, it should be 9600.
    Also, what is that extra PCB on the bottom for? does it use the Serial port also? have you tried without it connected?

    Mark --OzzMaker.com --

    #15209
    bend94
    Participant

    hi

    i did the last test with

    minicom -b 115200 -o -D /dev/serial0

    i received those characters this time

    ������������������������������

     

    The extra PCB on the bottom is my touch screen. It doesn’t use serial port. It use a dedicated touch screen port of the PI

    Thx

    #15210
    bend94
    Participant

    hi

    i purchased my GPSberry on amazon US. i will retreive the receipt

    I will send an email to sales@ozzmaker.com

    Do i need to add a ticket number to this email ?

    Thx

    #15212
    Mark Williams
    Keymaster

    nevermind about sending an email to sales.
    If you purchased from Amazon, best to contact them directly… stating that you received a faulty unit.

    Mark --OzzMaker.com --

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

Blip, blop, bloop…