Upgrading QHY 174 GPS Camera Firmware
- admin
- Site Admin
- Posts: 13330
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Upgrading QHY 174 GPS Camera Firmware
Hi
The good news is that I have received permission to share the documentation relating to the firmware update. This documentation is made available thanks to the occultation team at SWRI who used these cameras to observer the occultations by Arrakoth/Ultima Thule for the New Horizons mission.
As far as I'm aware there is no downgrade route available (or at least there isn't one without having copies of the original firmwares, which I do not have. Whether these can be extracted from the camera before upgrading, I have no idea).
My contact at SWRI noted that he had a success rate of 28/30 cameras upgrading correctly using the steps. Two cameras had to be returned to QHY for service (QHY managed to complete the upgrade on these cameras). As such, I really have to point out that any attempt to upgrade is entirely at your own risk.
From my point of view, the main difference in this update is that the cameras produce an additional GPS data block at the start of the frame that contains the raw NMEA sentences received from the GPS. SharpCap will parse additional info from this block and save it in in unparsed form in the log.I think there may have been support added for GPS functionality in 16 bit mode. I have no idea if there have been other bug fixes/tweaks.
Hope this helps, Robin
The good news is that I have received permission to share the documentation relating to the firmware update. This documentation is made available thanks to the occultation team at SWRI who used these cameras to observer the occultations by Arrakoth/Ultima Thule for the New Horizons mission.
As far as I'm aware there is no downgrade route available (or at least there isn't one without having copies of the original firmwares, which I do not have. Whether these can be extracted from the camera before upgrading, I have no idea).
My contact at SWRI noted that he had a success rate of 28/30 cameras upgrading correctly using the steps. Two cameras had to be returned to QHY for service (QHY managed to complete the upgrade on these cameras). As such, I really have to point out that any attempt to upgrade is entirely at your own risk.
From my point of view, the main difference in this update is that the cameras produce an additional GPS data block at the start of the frame that contains the raw NMEA sentences received from the GPS. SharpCap will parse additional info from this block and save it in in unparsed form in the log.I think there may have been support added for GPS functionality in 16 bit mode. I have no idea if there have been other bug fixes/tweaks.
Hope this helps, Robin
Re: All GPS Status codes and their exact meaning
Hi Robin,
Many thanks !
If I have the courage to try it, I will report here.
Cheers
Christian
Many thanks !
If I have the courage to try it, I will report here.
Cheers
Christian
Re: All GPS Status codes and their exact meaning
Hi,
It's done , many thanks to Robin and to the SWRI.
The GPS status window (as well as the GPS-log) show now something more (so far I don't know anything about possible further changes):
and in FITS header we have the altitude:
...
GPS_DSYS= -0.0016721 / System clock - GPS clock offset (s)
GPS_DSTB= 19 / Time offset stable for (s)
GPS_ALT = '44.3M ' / Altitude
GAIN = 49 /
GPS_NU = 938103.5 / NowShutterMicroSeconds
...
The actual upgrade process was fairly straightforward following the instructions. However, there were some mechanical / electrical challenges. Mostly, because internal connections are sealed with glue. So I couldn't completely remove the housing and the space for connecting the USB blaster and the USB port of the camera was very small. For the upgrade the camera must by powered by USB - not by the 12 V. There is some risk of short circuit and ESD. Generally spoken, it is a bit tricky, you will need some experience in electronics and skill. The internal processing of the camera made a good impression.
You'll need the delivered USB blaster
and this software - 370 Mb (it's free but you have to create an INTEL account):
https://fpgasoftware.intel.com/?edition=lite > Stand-Alone Software Quartus Prime Programmer and Tools
I used the latest version under W7-64. I didn't find a way to extract the original firmware. A sample screenshot:
Finally a picture showing the upgrade of the GPS PCB:
@ Robin: The GPS-log file is now growing very quickly, 10min to 3Mb. Maybe there is a way to reduce the size by (optional) removing something some raw data? I attach an abbreviated example.
Christian
It's done , many thanks to Robin and to the SWRI.
The GPS status window (as well as the GPS-log) show now something more (so far I don't know anything about possible further changes):
and in FITS header we have the altitude:
...
GPS_DSYS= -0.0016721 / System clock - GPS clock offset (s)
GPS_DSTB= 19 / Time offset stable for (s)
GPS_ALT = '44.3M ' / Altitude
GAIN = 49 /
GPS_NU = 938103.5 / NowShutterMicroSeconds
...
The actual upgrade process was fairly straightforward following the instructions. However, there were some mechanical / electrical challenges. Mostly, because internal connections are sealed with glue. So I couldn't completely remove the housing and the space for connecting the USB blaster and the USB port of the camera was very small. For the upgrade the camera must by powered by USB - not by the 12 V. There is some risk of short circuit and ESD. Generally spoken, it is a bit tricky, you will need some experience in electronics and skill. The internal processing of the camera made a good impression.
You'll need the delivered USB blaster
and this software - 370 Mb (it's free but you have to create an INTEL account):
https://fpgasoftware.intel.com/?edition=lite > Stand-Alone Software Quartus Prime Programmer and Tools
I used the latest version under W7-64. I didn't find a way to extract the original firmware. A sample screenshot:
Finally a picture showing the upgrade of the GPS PCB:
@ Robin: The GPS-log file is now growing very quickly, 10min to 3Mb. Maybe there is a way to reduce the size by (optional) removing something some raw data? I attach an abbreviated example.
Christian
- Attachments
-
- GPSLog_2020-06-17T18_50_24-5396.log
- (1.32 KiB) Downloaded 120 times
-
- Posts: 21
- Joined: Sun Jun 07, 2020 2:36 pm
- Location: US
Re: All GPS Status codes and their exact meaning
Nice! Thanks for the update.
-Kai
-Kai
- admin
- Site Admin
- Posts: 13330
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: All GPS Status codes and their exact meaning
Hi Christian,
thanks for the report - glad to hear that it went well.
I will think about the GPS log - perhaps if I can get all the additional info into ADV or FITS output then it becomes redundant?
cheers,
Robin
thanks for the report - glad to hear that it went well.
I will think about the GPS log - perhaps if I can get all the additional info into ADV or FITS output then it becomes redundant?
cheers,
Robin
- admin
- Site Admin
- Posts: 13330
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Upgrading QHY 174 GPS Camera Firmware
Hi,
just thought I would report that I too have been successful in updating my 174GPS using the steps documented above. It took about an hour and was more fiddly than difficult.
Robin
just thought I would report that I too have been successful in updating my 174GPS using the steps documented above. It took about an hour and was more fiddly than difficult.
Robin
Re: Upgrading QHY 174 GPS Camera Firmware
Congrats, Robin
Christian
I agree.more fiddly than difficult
Christian
Re: Upgrading QHY 174 GPS Camera Firmware
Could someone meter the connections between the 0.1" Blaster header and the 0.05" header that plugs into the QHY boards please ?
I'll have to make something up and would rather not make any assumptions and find out the hard way that I guessed incorrectly.
No answer from QHY.
Of course, if someone wants to part with their adapter, that would be even better.
Steve.
I'll have to make something up and would rather not make any assumptions and find out the hard way that I guessed incorrectly.
No answer from QHY.
Of course, if someone wants to part with their adapter, that would be even better.
Steve.
Re: Upgrading QHY 174 GPS Camera Firmware
Hi Steve,
I hope this helps: Christian
I hope this helps: Christian
- admin
- Site Admin
- Posts: 13330
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Upgrading QHY 174 GPS Camera Firmware
Hi Steve,
did you mean the electrical connections too?
cheers,
Robin
did you mean the electrical connections too?
cheers,
Robin