Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A friend and I recently purchased a white USB GPS/GLONASS U-blox7 GPS.
- While it does work, it only seems to show GPS satellites and we would like to see GLONASS also.
- Googling for help we have found no answers, but now have several questions.
- 1. cat /dev/ttyACM0 | grep GPTXT shows
- HW UBX-G70xx 00070000 *77
- ROM CORE 1.00 (59842) Jun 27 2012
- PROTVER 14.00*1E
- And we've seen some claim that only one GNSS can be selected using FW ver 1.00 and that updating to FW 1.01 allows multiple GNSS to be viewed simultaneously.
- Can a FW update be applied to our device? Searching for how, we've been told it cannot by some and can only by using u-connect by others.
- 2. We would like to avoid installing wine and u-connect and instead work with a linux script to control our GPS device, and have been trying to use 'gpsctl' to disable GPS and enable GLONASS instead.
- gpsctl -D 5 -x "\x06\x3E\x24\x00\x00\x00\x20\x04\x00\x08\x10\x00\x01\x00\x01\x01\x01\x01\x03\x00\x01\x00\x01\x01\x05\x00\x03\x00\x01\x00\x01\x01\x06\x08\x0E\x00\x01\x00\x01\x01" /dev/ttyACM0
- As best we can tell, this is supposed to disable all but GLONASS but doesn't seem to have any effect.
- Has anyone else found a way to work with 'gpsctl' which recognizes ublox inserting "b562" in front of our string adding the "ff21" checksum at the end automatically?
- 3. We also notice that our 2 identical computers show quite different results from our GPS satellite reception, one having no fixes while the other may have 7 or more, and after hours of watching they never seem to become more similar in reception.
- glonass
- gpsctl
- fw
- +3 more
- Share
- 11 answers
- 28.26K views
- unbiased likes this.
- grampy (Customer)
- 7 years ago
- U-blox 7 can receive only one of GPS or GLONASS at a time.
- Refer to the u-blox 7 Receiver Description and Protocol Specification document downloadable from the documents and resources tab.
- The specific command is UBX-CFG-GNSS. To enable GLONASS, turn off all other systems - no GPS, no SBAS, no QZSS.
- Try it out with u-center.on a PC first, then incorporate the command into your code. u-center will also display the complete hex command string in the command pop-up window which you can then copy into your code.
- Can't help you with gpsctl: I use my own software for GNSS. But see the comment above about how to form the command correctly, from start-of-message through to checksum bytes.
- Regarding two receivers, can't troubleshoot remotely but it sounds.like the antenna on the non-performing one is hosed or the non-performing one is being jammed by noise from your PC. Use the u-center signal strength bar graph or examine the contents of $GPGSV messages using gpsc, or even a terminal program, which show signal strength. To get a fix from a cold start, you need at least 3 satellites, and ideally.more than 8, with C/N0 signal levels above 33 or so.
- Expand Post
- RobZ (Customer)
- 7 years ago
- Thank you for confirming some of what we already know.
- As I said we run a linux OS and u-connect does not run under linux. I have consulted the manual and created a hex string per the manual and when I send the string with the command:
- gpsctl -D 5 -x "\x06\x3E\x24\x00\x00\x00\x20\x04\x00\x08\x10\x00\x01\x00\x01\x01\x01\x01\x03\x00\x01\x00\x01\x01\x05\x00\x03\x00\x01\x00\x01\x01\x06\x08\x0E\x00\x01\x00\x01\x01" /dev/ttyACM0
- the last line of the debug output shows what was sent by gpsctl to be:
- gpsctl:IO: => GPS: b562063e260024000000200400081000010001010101030001000101050003000100010106080e0001000101ff21
- As we don't run windows perhaps a linux user might have a solution?
- As to the two receivers, there is no non-performing one, simply one or the other seems to work very well when the other seems to not see any usable signals at all, and not even the same satellites although they are no more than a meter apart, and swapping their locations has no effect. Even tried taking them outside .
- Expand Post
- grampy (Customer)
- 7 years ago
- The software tool is "u-center", not "u-connect".
- Your NEO-7 is ROM-based so it could not accept a firmware update even if there was one, and NEO-7 has only one RF chain which can be switched to either GPS band or GLONASS band but cannot use both concurrently. Under GPS, you can get information from other constellations like SBAS, QZSS but not GLONASS.
- I agree that someone else more familiar with linux and gpsctl might have much better advice and might have the time to examine your command line for correctness.
- Expand Post
- RobZ (Customer)
- 7 years ago
- Thank you for confirming some of what we already know.
- As I said we run a linux OS and u-connect does not run under linux. I have consulted the manual and created a hex string per the manual and when I send the string with the command:
- gpsctl -D 5 -x "\x06\x3E\x24\x00\x00\x00\x20\x04\x00\x08\x10\x00\x01\x00\x01\x01\x01\x01\x03\x00\x01\x00\x01\x01\x05\x00\x03\x00\x01\x00\x01\x01\x06\x08\x0E\x00\x01\x00\x01\x01" /dev/ttyACM0
- the last line of the debug output shows what was sent by gpsctl to be:
- gpsctl:IO: => GPS: b562063e260024000000200400081000010001010101030001000101050003000100010106080e0001000101ff21
- As we don't run windows perhaps a linux user might have a solution?
- As to the two receivers, there is no non-performing one, simply one or the other seems to work very well when the other seems to not see any usable signals at all, and not even the same satellites although they are no more than a meter apart, and swapping their locations has no effect. Even tried taking them outside .
- Sorry for misnaming the application, but regardless of the correct name it is a windows application and as noted in the title line we run a Linux OS.
- As a side note, the command I created was based upon a display from a u-center display posted by someone using a ublox8 chip which we compared to the documents relative to the ublox7 and ublox8 to determine what the bits were doing.
- Expand Post
- Tofurkey (Customer)
- 7 years ago
- Rob, I am running u-center under wine with no problems. You need to create (using ln -s) links to the /dev/ttyXXX (typically /dev/ttyUSB0 and /dev/ttyUSB1) in your "dosdevices" directory named "com1" and "com2" Then use (sudo) dmesg to determine which tty your device has grabbed so you can select the right port. Or just look for the flashing green.
- u-center works fine for me so far. (however, not in updating the module, but I suspect that is not Linux's fault, its the module's - as ive updated lots of other devices firmware via wine, under Linux, in any case, its unrelated to your issue.)
- Expand Post
- RobZ (Customer)
- 7 years ago
- We have no interest in running a windows app (u-center) under wine, and have used wine in the past, We only wish to use the tools available in Linux. So far we have made progress using gpsctl, and it appears the ublox 7 USB device is not as sensitive as our phone GPS even when taken outside. Perhaps we will end up using bluetooth to pass data from the phone GPS. We notice that rotating the notebook a few degrees left or right can have a noticeable effect on satellite reception, and a piece of tin foil underneath also seems to help reception.
- Note: gpsctl inserts the b5 62 header at the beginning, also the length, and the checksum, requiring only the Class/ID and payload to be provided in the control string to be sent.
- Expand Post
- trong (Customer)
- 6 years ago
- Hi RobZ,
- So, did the gpsctl command work in your case ?
- Thanks,
- Trong
- Expand Post
- MASHtm (Customer)
- 6 years ago
- In case somebody still seeks for the answer how to use gpsctl...
- MASHtm (Customer)
- 6 years ago
- you need to remove byte 3 and 4 from the hexstring because gpsctl inserts them as well (length). For example if you want to send a GNSS CFG sentence copied from u-control save file like:
- 063E3C00002020070008100001000101010103000000010102060A000100010103081000000001010400080000000103050003000000010506080E0001000101
- you need to remove "3C00" as well resulting in
- 063E002020070008100001000101010103000000010102060A000100010103081000000001010400080000000103050003000000010506080E0001000101
- Then the u-blox accepts it.
- Expand Post
- unbiased (Customer)
- 4 years ago
- thanks to do gps/glonass u-blox7 in ubunt.
- this is no driver in linux
- you are so ​beautiful.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement