• Why did my PDA version of Seeyou IGC file fail to be accepted by OLC?

    From BG@21:1/5 to All on Mon Mar 27 19:08:51 2023
    After too many years to mention, a file I submitted to OLC was not excepted from my ancient version of SeeYou on a PDA? It gave a crazy error message that Oct 2, 2003 was in the log. I might be wrong but I am sure the date and time are gotten from
    the GPS signal so how can that be?? Maybe my ancient version of Seeyou is now behaving a different way or the GPS signal format has changed recently? Be curious of others have experienced something similar. It was less than a month ago all was OK.
    I submitted the same flight captured by my Flarm box and all was OK.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Moshe Braner@21:1/5 to All on Mon Mar 27 22:29:44 2023
    On 3/27/2023 10:08 PM, BG wrote:
    After too many years to mention, a file I submitted to OLC was not excepted from my ancient version of SeeYou on a PDA? It gave a crazy error message that Oct 2, 2003 was in the log. I might be wrong but I am sure the date and time are gotten from
    the GPS signal so how can that be?? Maybe my ancient version of Seeyou is now behaving a different way or the GPS signal format has changed recently? Be curious of others have experienced something similar. It was less than a month ago all was OK.
    I submitted the same flight captured by my Flarm box and all was OK.


    Sounds like your PDA is so "ancient" that the GPS unit you use with it
    has rolled over the GPS "epoch" (1024 weeks - the time from Oct. 2003
    until now). It's a problem with the GPS (or one may say, the design of
    the GPS system as a whole), not SeeYou. Your GPS module may or may not
    be fixable or replaceable. You can manually edit the date in the header
    of the flight log (it's plain text, open it in Wordpad) - but then the
    log's "security" will be broken and OLC will punish you with a different
    color security icon.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kinsell@21:1/5 to All on Mon Mar 27 21:43:05 2023
    On 3/27/23 8:08 PM, BG wrote:> I might be wrong but I am sure the date
    and time are gotten from the GPS signal so how can that be??
    The original GPS system only transmitted enough information to determine
    the year within an 18.6 year range. Beyond that, receivers had to
    determine how many rollovers had occurred since the ssytem went into
    operation. They usually did this by a small amount of RAM kept alive
    with a tiny rechargeable battery. If the battery ever got discharged,
    then the receiver had to be serviced, or sometimes software in the
    receiver could be updated to patch the problem.

    Since this is the beginning of the season in the top half of the world,
    the most likely scenario is that your tiny battery wasn't kept
    adequately charged over the winter, and the RAM lost track of how many rollovers have occurred.

    The GPS system has long been upgraded to fix the problem, but old
    receivers don't receive the enhanced signals that fix the date problem.

    -Dave

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Newport-Peace@21:1/5 to kinsell on Tue Mar 28 09:50:45 2023
    On 28/03/2023 04:43, kinsell wrote:
    On 3/27/23 8:08 PM, BG wrote:>  I might be wrong but I am sure the date
    and time are gotten from the GPS signal so how can that be??
    The original GPS system only transmitted enough information to determine
    the year within an 18.6 year range.  Beyond that, receivers had to
    determine how many rollovers had occurred since the ssytem went into operation.  They usually did this by a small amount of RAM kept alive
    with a tiny rechargeable battery.  If the battery ever got discharged,
    then the receiver had to be serviced, or sometimes software in the
    receiver could be updated to patch the problem.

    Since this is the beginning of the season in the top half of the world,
    the most likely scenario is that your tiny battery wasn't kept
    adequately charged over the winter, and the RAM lost track of how many rollovers have occurred.

    The GPS system has long been upgraded to fix the problem, but old
    receivers don't receive the enhanced signals that fix the date problem.

    -Dave


    The rollover theory look good, but 1024 from today's date (28th March)
    was 12th August 2003 (unless my calculations are wrong). So where does
    2nd October 2003 come from?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Marotta@21:1/5 to Moshe Braner on Tue Mar 28 09:00:26 2023
    Way back when, the system engineer decided that no electronic device
    would EVER need no more than 10 bits for the date field since (he
    thought) no electronic device would last longer than that. OR, the
    components of the time were not capable of supporting the extra bits to
    make the epoch 2048 or 4096 weeks.

    Kinda like the Y2K panic back in 1999. I was a systems engineer at FlightSafety back then and rolled my eyes at the stupidity of those
    earlier engineers who made us replace a lot of computer code and
    hardware to add one byte to the date field. My wife, a software
    engineer at the time, was one of only a couple of passengers on a DC to
    Denver flight on 12/31/99. Everyone else thought the world would come
    to an end and planes would fall from the sky at the rollover. Kinda
    like "atmospheric rivers" we hear about today...

    It's different today: I just saw a 1 TB USB stick on Amazon for under $35.

    Dan
    5J

    On 3/27/23 20:29, Moshe Braner wrote:
    On 3/27/2023 10:08 PM, BG wrote:
    After too many years to mention, a file I submitted to OLC was not
    excepted from my ancient version of SeeYou on a PDA?    It gave a
    crazy error message that Oct 2, 2003 was in the log.   I might be
    wrong but I am sure the date and time are gotten from the GPS signal
    so how can that be??   Maybe my ancient version of Seeyou is now
    behaving a different way or the GPS signal format has changed
    recently?   Be curious of others have experienced something similar.
    It was less than a month ago all was OK.    I submitted the same
    flight captured by my Flarm box and all was OK.


    Sounds like your PDA is so "ancient" that the GPS unit you use with it
    has rolled over the GPS "epoch" (1024 weeks - the time from Oct. 2003
    until now).  It's a problem with the GPS (or one may say, the design of
    the GPS system as a whole), not SeeYou.  Your GPS module may or may not
    be fixable or replaceable.  You can manually edit the date in the header
    of the flight log (it's plain text, open it in Wordpad) - but then the
    log's "security" will be broken and OLC will punish you with a different color security icon.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kinsell@21:1/5 to Dan Marotta on Tue Mar 28 19:50:35 2023
    On 3/28/23 9:00 AM, Dan Marotta wrote:
    Way back when, the system engineer decided that no electronic device
    would EVER need no more than 10 bits for the date field since (he
    thought) no electronic device would last longer than that.  OR, the components of the time were not capable of supporting the extra bits to
    make the epoch 2048 or 4096 weeks.

    Kinda like the Y2K panic back in 1999.  I was a systems engineer at FlightSafety back then and rolled my eyes at the stupidity of those
    earlier engineers who made us replace a lot of computer code and
    hardware to add one byte to the date field.  My wife, a software
    engineer at the time, was one of only a couple of passengers on a DC to Denver flight on 12/31/99.  Everyone else thought the world would come
    to an end and planes would fall from the sky at the rollover.  Kinda
    like "atmospheric rivers" we hear about today...

    It's different today:  I just saw a 1 TB USB stick on Amazon for under $35.

    Many of those super deals are phony, they take a small memory stick and
    set it to report a much larger capacity. Just saw a TB stick advertised
    for $20, it apparently is only 64 GB, it's USB2.0 instead of 3.0
    advertised, and BTW, has a virus preloaded.

    Date problems haven't all been fixed, some older Unix systems and
    derivatives will start reporting 1910 as the date in 2038 due to some
    integer hitting 2.1 billion seconds (2^31).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Marotta@21:1/5 to kinsell on Wed Mar 29 10:17:38 2023
    Ain't that (2^32)-1 or 4.3 billion? In any case, my flying then, if at
    all, will probably be limited to the carnival ride... Hope not!

    Dan
    5J

    On 3/28/23 19:50, kinsell wrote:
    Date problems haven't all been fixed, some older Unix systems and
    derivatives will start reporting 1910 as the date in 2038 due to some
    integer hitting 2.1 billion seconds (2^31).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kinsell@21:1/5 to Dan Marotta on Wed Mar 29 11:41:56 2023
    Nope, 2^31, they used a signed integer.

    Reminds me of when I was doing disk testing for a major US electronics
    company, we were debating whether the file system was going to break at
    2 GB or 4 GB. So I bought a huge disk (for the time), and found it
    broke at 1 GB. Who could have ever guessed we'd have disks bigger than
    a gigabyte someday?



    On 3/29/23 10:17 AM, Dan Marotta wrote:
    Ain't that (2^32)-1 or 4.3 billion?  In any case, my flying then, if at
    all, will probably be limited to the carnival ride...  Hope not!

    Dan
    5J

    On 3/28/23 19:50, kinsell wrote:
    Date problems haven't all been fixed, some older Unix systems and
    derivatives will start reporting 1910 as the date in 2038 due to some
    integer hitting 2.1 billion seconds (2^31).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Mocho@21:1/5 to All on Wed Mar 29 11:04:08 2023
    I remember working with an NCR 8230, a "mini" computer that was the size of a refrigerator. Had two 5 MB hard drive disks that were 14 inches in diameter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Gregorie@21:1/5 to Dan Marotta on Wed Mar 29 19:45:45 2023
    On Wed, 29 Mar 2023 10:17:38 -0600, Dan Marotta wrote:

    Ain't that (2^32)-1 or 4.3 billion? In any case, my flying then, if at
    all, will probably be limited to the carnival ride... Hope not!

    A lot of the Y2K problems (i.e. GPS as well as *NIX [and Windoze ?]) can
    be blamed on whoever thought it would be a good idea to shoehorn both date
    and time of day into a single integer variable.

    Back in the day, before micro- or minicomputers existed, most systems kept
    the current date and time in two separate variables, so for instance, in
    an ICL 1900, which used 24 bit words with date zero defined as 31 December 1899, you wouldn't have hit its Y2K moment until some time in September
    24865 AD. I'd guess the same applies to Big Blue's boxen too or COBOL
    wouldn't have defined DATE and TIME as two separate system variables.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kinsell@21:1/5 to Martin Gregorie on Wed Mar 29 16:39:09 2023
    On 3/29/23 1:45 PM, Martin Gregorie wrote:
    On Wed, 29 Mar 2023 10:17:38 -0600, Dan Marotta wrote:

    Ain't that (2^32)-1 or 4.3 billion? In any case, my flying then, if at
    all, will probably be limited to the carnival ride... Hope not!

    A lot of the Y2K problems (i.e. GPS as well as *NIX [and Windoze ?]) can
    be blamed on whoever thought it would be a good idea to shoehorn both date and time of day into a single integer variable.

    Back in the day, before micro- or minicomputers existed, most systems kept the current date and time in two separate variables, so for instance, in
    an ICL 1900, which used 24 bit words with date zero defined as 31 December 1899, you wouldn't have hit its Y2K moment until some time in September
    24865 AD. I'd guess the same applies to Big Blue's boxen too or COBOL wouldn't have defined DATE and TIME as two separate system variables.



    Yep. The GPS debacle was caused by limited bits of information
    transmitted by the satellite, compounded by makers of receivers who
    thought storing a few more bits in static RAM, powered by a tiny
    battery, was adequate to address the situation. Once the battery gets discharged, no amount of recharging fixes it. No provision is made to
    let the user set the bits back to what they ought to be.

    Bugs like this have been around forever, in 2004 a subsidiary of Delta
    had their crew scheduling system crash at Christmas because it could
    only handle 2^15 crew changes in a month.

    https://www.theregister.com/2004/12/30/comair_bad_box/

    Why they used a signed integer there is hard to guess. These problems
    are hard to test for, but most of them are easy to predict if only the programmers would take the time to do simple calculations. Southwest
    had a similar crew scheduling meltdown this last Christmas with bad
    software. The Aussies are smart, they moved Christmas to the middle of
    summer, so this wouldn't happen :-)

    Even Great Britain is not immune, they used 1987 era software to track
    Covid cases, with predictable results:

    https://www.bbc.com/news/technology-54423988

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Gregorie@21:1/5 to kinsell on Thu Mar 30 00:21:09 2023
    On Wed, 29 Mar 2023 16:39:09 -0600, kinsell wrote:

    Yep. The GPS debacle was caused by limited bits of information
    transmitted by the satellite, compounded by makers of receivers who
    thought storing a few more bits in static RAM, powered by a tiny
    battery, was adequate to address the situation. Once the battery gets discharged, no amount of recharging fixes it. No provision is made to
    let the user set the bits back to what they ought to be.

    You may be amused to hear that I still have a usable pair of Garmin GPS 2+ handheld units, which I used first for Free Flight model retrieval and
    then, when I started to fly XC in my club's Pegase 90 they got used for navigation and to drive my first logger, which was just a recorder and
    needed an external GPS.

    So, while they *might* possibly be useful one day, they're really just old
    age pensioners. When outdoors and in use, they run on a set of four AA
    cells.

    Mine are still viable because every few months I fire them up to see if
    there is still usable life in the AA cells, replace them if they're low,
    and sometimes take the GPS units outside to see if they can still get a
    fix. So far, they're still working well. Used this way, a set of AA cells
    lasts for over a year.

    The GPS 2+ units have a small, internal non-replaceable disk battery to
    keep their internal RAM alive while their main batteries are replaced, so
    as long as this battery is good and their AA cells are replaced before
    they go flat, they remember which GPS epoch they are in and will continue
    to get a valid fix and show the right time when taken outside and fired
    up.

    Bugs like this have been around forever, in 2004 a subsidiary of Delta
    had their crew scheduling system crash at Christmas because it could
    only handle 2^15 crew changes in a month.

    https://www.theregister.com/2004/12/30/comair_bad_box/

    Why they used a signed integer there is hard to guess.

    I dunno - that can depend on the language the system was written in: a lot
    of C designers and programmers would just specify an int rather than an unsigned int without thinking, but in any case, using an unsigned int only doubles the time to crash, IMO that sort of mistake would be less likely
    if the system was written in COBOL, Java or PL/1 because of the syntax
    used to declare numeric variables, but that fairly irrelevant because not checking for overflow on a variable that is used as a key or index value
    is just plain careless.

    But to my mind its even odder that they would have used such a short
    integer. Given that the IBM AIX systems they were using at the time were
    32 or 64 bit systems, the fact is that the flight crew scheduling software crashed due to integer overflow on a signed 15 bit integer!

    That would tend to show the crash was a software error pure and simple.

    These problems
    are hard to test for, but most of them are easy to predict if only the programmers would take the time to do simple calculations. Southwest
    had a similar crew scheduling meltdown this last Christmas with bad
    software. The Aussies are smart, they moved Christmas to the middle of summer, so this wouldn't happen :-)

    Even Great Britain is not immune, they used 1987 era software to track
    Covid cases, with predictable results:

    Cowboys live in coding shops over here too!


    https://www.bbc.com/news/technology-54423988

    An interesting read. Thanks for posting.it.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kinsell@21:1/5 to Martin Gregorie on Wed Mar 29 20:54:38 2023
    Doesn't surprise me at all. I've still got a Garmin GPS 12, one of the
    first units targeted at backpackers. Used it for many years for glider navigation, now it's relegated as a backup device in case ship power
    fails. Which it hasn't in 40 years of flying. The date for the 12 is
    still correct, not that it matters for its current use.

    The little rechargeable battery built in works great in that
    application, since it's charged by the other batteries continuously.
    However, take that same circuitry, build it into a certified logger that
    is not likely to get powered up over the winter season (and which
    requires correct time), and you end up with the current situation, a
    slow but steady trickle of loggers going belly up as time marches on.

    -Dave




    On 3/29/23 6:21 PM, Martin Gregorie wrote:
    On Wed, 29 Mar 2023 16:39:09 -0600, kinsell wrote:

    Yep. The GPS debacle was caused by limited bits of information
    transmitted by the satellite, compounded by makers of receivers who
    thought storing a few more bits in static RAM, powered by a tiny
    battery, was adequate to address the situation. Once the battery gets
    discharged, no amount of recharging fixes it. No provision is made to
    let the user set the bits back to what they ought to be.

    You may be amused to hear that I still have a usable pair of Garmin GPS 2+ handheld units, which I used first for Free Flight model retrieval and
    then, when I started to fly XC in my club's Pegase 90 they got used for navigation and to drive my first logger, which was just a recorder and
    needed an external GPS.

    So, while they *might* possibly be useful one day, they're really just old age pensioners. When outdoors and in use, they run on a set of four AA
    cells.

    Mine are still viable because every few months I fire them up to see if
    there is still usable life in the AA cells, replace them if they're low,
    and sometimes take the GPS units outside to see if they can still get a
    fix. So far, they're still working well. Used this way, a set of AA cells lasts for over a year.

    The GPS 2+ units have a small, internal non-replaceable disk battery to
    keep their internal RAM alive while their main batteries are replaced, so
    as long as this battery is good and their AA cells are replaced before
    they go flat, they remember which GPS epoch they are in and will continue
    to get a valid fix and show the right time when taken outside and fired
    up.

    Bugs like this have been around forever, in 2004 a subsidiary of Delta
    had their crew scheduling system crash at Christmas because it could
    only handle 2^15 crew changes in a month.

    https://www.theregister.com/2004/12/30/comair_bad_box/

    Why they used a signed integer there is hard to guess.

    I dunno - that can depend on the language the system was written in: a lot
    of C designers and programmers would just specify an int rather than an unsigned int without thinking, but in any case, using an unsigned int only doubles the time to crash, IMO that sort of mistake would be less likely
    if the system was written in COBOL, Java or PL/1 because of the syntax
    used to declare numeric variables, but that fairly irrelevant because not checking for overflow on a variable that is used as a key or index value
    is just plain careless.

    But to my mind its even odder that they would have used such a short
    integer. Given that the IBM AIX systems they were using at the time were
    32 or 64 bit systems, the fact is that the flight crew scheduling software crashed due to integer overflow on a signed 15 bit integer!

    That would tend to show the crash was a software error pure and simple.

    These problems
    are hard to test for, but most of them are easy to predict if only the
    programmers would take the time to do simple calculations. Southwest
    had a similar crew scheduling meltdown this last Christmas with bad
    software. The Aussies are smart, they moved Christmas to the middle of
    summer, so this wouldn't happen :-)

    Even Great Britain is not immune, they used 1987 era software to track
    Covid cases, with predictable results:

    Cowboys live in coding shops over here too!


    https://www.bbc.com/news/technology-54423988

    An interesting read. Thanks for posting.it.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Francois HERSEN@21:1/5 to All on Thu Mar 30 03:04:55 2023
  • From Dan Marotta@21:1/5 to Martin Gregorie on Thu Mar 30 09:52:51 2023
    Will good AA batteries keep the thing alive while a soldering guru
    replaces the disk battery? If not, will it come back to life with a new
    "keep alive" battery installed? The battery in the Garmin 396 in my
    Stemme was dead and Garmin wanted $400 to replace the $3 internal
    battery. I bought one at the grocery store and installed it myself.
    Works fine.

    Garmin also told my wife that the internal battery in her portable car
    GPS could not be replaced and that she should buy a new unit. She found
    a battery online and I replaced it for her. Then she bought a new car
    with a built-in GPS... We keep the portable to use in airport crew cars
    when we make trips in our airplane.

    Dan
    5J

    On 3/29/23 18:21, Martin Gregorie wrote:
    The GPS 2+ units have a small, internal non-replaceable disk battery to
    keep their internal RAM alive while their main batteries are replaced, so
    as long as this battery is good and their AA cells are replaced before
    they go flat, they remember which GPS epoch they are in and will continue
    to get a valid fix and show the right time when taken outside and fired
    up.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Marotta@21:1/5 to kinsell on Thu Mar 30 09:54:34 2023
    I've got a Trimble Flight Mate Pro in the hangar. Wonder if it will
    lock on with a new set of AA batteries...

    Dan
    5J

    On 3/29/23 20:54, kinsell wrote:
    Doesn't surprise me at all.  I've still got a Garmin GPS 12, one of the first units targeted at backpackers.  Used it for many years for glider navigation, now it's relegated as a backup device in case ship power
    fails.  Which it hasn't in 40 years of flying.  The date for the 12 is still correct, not that it matters for its current use.

    The little rechargeable battery built in works great in that
    application, since it's charged by the other batteries continuously.
    However, take that same circuitry, build it into a certified logger that
    is not likely to get powered up over the winter season (and which
    requires correct time), and you end up with the current situation, a
    slow but steady trickle of loggers going belly up as time marches on.

    -Dave




    On 3/29/23 6:21 PM, Martin Gregorie wrote:
    On Wed, 29 Mar 2023 16:39:09 -0600, kinsell wrote:

    Yep.  The GPS debacle was caused by limited bits of information
    transmitted by the satellite, compounded by makers of receivers who
    thought storing a few more bits in static RAM, powered by a tiny
    battery, was adequate to address the situation.  Once the battery gets
    discharged, no amount of recharging fixes it.  No provision is made to
    let the user set the bits back to what they ought to be.

    You may be amused to hear that I still have a usable pair of Garmin
    GPS 2+
    handheld units, which I used first for Free Flight model retrieval and
    then, when I started to fly XC in my club's Pegase 90 they got used for
    navigation and to drive my first logger, which was just a recorder and
    needed an external GPS.

    So, while they *might* possibly be useful one day, they're really just
    old
    age pensioners. When outdoors and in use, they run on a set of four AA
    cells.

    Mine are still viable because every few months I fire them up to see if
    there is still usable life in the AA cells, replace them if they're low,
    and sometimes take the GPS units outside to see if they can still get a
    fix. So far, they're still working well. Used this way, a set of AA cells
    lasts for over a year.

    The GPS 2+ units have a small, internal non-replaceable disk battery to
    keep their internal RAM alive while their main batteries are replaced, so
    as long as this battery is good and their AA cells are replaced before
    they go flat, they remember which GPS epoch they are in and will continue
    to get a valid fix and show the right time when taken outside and fired
    up.
    Bugs like this have been around forever, in 2004 a subsidiary of Delta
    had their crew scheduling system crash at Christmas because it could
    only handle 2^15 crew changes in a month.

       https://www.theregister.com/2004/12/30/comair_bad_box/

    Why they used a signed integer there is hard to guess.

    I dunno - that can depend on the language the system was written in: a
    lot
    of C designers and programmers would just specify an int rather than an
    unsigned int without thinking, but in any case, using an unsigned int
    only
    doubles the time to crash, IMO that sort of mistake would be less likely
    if the system was written in COBOL, Java or PL/1 because of the syntax
    used to declare numeric variables, but that fairly irrelevant because not
    checking for overflow on a variable that is used as a key or index value
    is just plain careless.

    But to my mind its even odder that they would have used such a short
    integer. Given that the IBM AIX systems they were using at the time were
    32 or 64 bit systems, the fact is that the flight crew scheduling
    software
    crashed due to integer overflow on a signed 15 bit integer!

    That would tend to show the crash was a software error pure and simple.

    These problems
    are hard to test for, but most of them are easy to predict if only the
    programmers would take the time to do simple calculations.  Southwest
    had a similar crew scheduling meltdown this last Christmas with bad
    software.  The Aussies are smart, they moved Christmas to the middle of >>> summer, so this wouldn't happen :-)

    Even Great Britain is not immune, they used 1987 era software to track
    Covid cases, with predictable results:

    Cowboys live in coding shops over here too!


    https://www.bbc.com/news/technology-54423988

    An interesting read. Thanks for posting.it.




    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kinsell@21:1/5 to Dan Marotta on Thu Mar 30 10:16:54 2023
    The tiny battery powers a real time clock circuit, so the GPS has a good
    idea where the satellites are and can lock on faster.

    If the battery has been discharged, you lose the correct year. I think
    the GPS can still get a lock, but it may take a lot longer. Unless you
    left the AA batteries in too long, and they've corroded the contacts.

    The problem with secure flight recorders is the tiny battery is
    protected with an electronic seal, so accessing the battery breaks the
    seal and must be resealed by someone authorized by the factory.

    For example, the CAI302 recorder used a standard Garmin GPS15 module,
    they're still available at reasonable prices, but you can't just open up
    the unit and replace it yourself, and still have a good security seal.

    -Dave



    On 3/30/23 9:54 AM, Dan Marotta wrote:
    I've got a Trimble Flight Mate Pro in the hangar.  Wonder if it will
    lock on with a new set of AA batteries...

    Dan
    5J

    On 3/29/23 20:54, kinsell wrote:
    Doesn't surprise me at all.  I've still got a Garmin GPS 12, one of
    the first units targeted at backpackers.  Used it for many years for
    glider navigation, now it's relegated as a backup device in case ship
    power fails.  Which it hasn't in 40 years of flying.  The date for the
    12 is still correct, not that it matters for its current use.

    The little rechargeable battery built in works great in that
    application, since it's charged by the other batteries continuously.
    However, take that same circuitry, build it into a certified logger
    that is not likely to get powered up over the winter season (and which
    requires correct time), and you end up with the current situation, a
    slow but steady trickle of loggers going belly up as time marches on.

    -Dave




    On 3/29/23 6:21 PM, Martin Gregorie wrote:
    On Wed, 29 Mar 2023 16:39:09 -0600, kinsell wrote:

    Yep.  The GPS debacle was caused by limited bits of information
    transmitted by the satellite, compounded by makers of receivers who
    thought storing a few more bits in static RAM, powered by a tiny
    battery, was adequate to address the situation.  Once the battery gets >>>> discharged, no amount of recharging fixes it.  No provision is made to >>>> let the user set the bits back to what they ought to be.

    You may be amused to hear that I still have a usable pair of Garmin
    GPS 2+
    handheld units, which I used first for Free Flight model retrieval and
    then, when I started to fly XC in my club's Pegase 90 they got used for
    navigation and to drive my first logger, which was just a recorder and
    needed an external GPS.

    So, while they *might* possibly be useful one day, they're really
    just old
    age pensioners. When outdoors and in use, they run on a set of four AA
    cells.

    Mine are still viable because every few months I fire them up to see if
    there is still usable life in the AA cells, replace them if they're low, >>> and sometimes take the GPS units outside to see if they can still get a
    fix. So far, they're still working well. Used this way, a set of AA
    cells
    lasts for over a year.

    The GPS 2+ units have a small, internal non-replaceable disk battery to
    keep their internal RAM alive while their main batteries are
    replaced, so
    as long as this battery is good and their AA cells are replaced before
    they go flat, they remember which GPS epoch they are in and will
    continue
    to get a valid fix and show the right time when taken outside and fired
    up.
    Bugs like this have been around forever, in 2004 a subsidiary of Delta >>>> had their crew scheduling system crash at Christmas because it could
    only handle 2^15 crew changes in a month.

       https://www.theregister.com/2004/12/30/comair_bad_box/

    Why they used a signed integer there is hard to guess.

    I dunno - that can depend on the language the system was written in:
    a lot
    of C designers and programmers would just specify an int rather than an
    unsigned int without thinking, but in any case, using an unsigned int
    only
    doubles the time to crash, IMO that sort of mistake would be less likely >>> if the system was written in COBOL, Java or PL/1 because of the syntax
    used to declare numeric variables, but that fairly irrelevant because
    not
    checking for overflow on a variable that is used as a key or index value >>> is just plain careless.

    But to my mind its even odder that they would have used such a short
    integer. Given that the IBM AIX systems they were using at the time were >>> 32 or 64 bit systems, the fact is that the flight crew scheduling
    software
    crashed due to integer overflow on a signed 15 bit integer!

    That would tend to show the crash was a software error pure and simple.

    These problems
    are hard to test for, but most of them are easy to predict if only the >>>> programmers would take the time to do simple calculations.  Southwest >>>> had a similar crew scheduling meltdown this last Christmas with bad
    software.  The Aussies are smart, they moved Christmas to the middle of >>>> summer, so this wouldn't happen :-)

    Even Great Britain is not immune, they used 1987 era software to track >>>> Covid cases, with predictable results:

    Cowboys live in coding shops over here too!


    https://www.bbc.com/news/technology-54423988

    An interesting read. Thanks for posting.it.




    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Gregorie@21:1/5 to Dan Marotta on Thu Mar 30 17:07:47 2023
    On Thu, 30 Mar 2023 09:52:51 -0600, Dan Marotta wrote:

    Will good AA batteries keep the thing alive while a soldering guru
    replaces the disk battery?

    My original Garmin GPS 2+ got left a bit too long with either no or dead
    AA cells (I forget which: it was back in the late '90s) Garmin replaced
    the tiny coin cell as a freebie and said that I'd just squeaked in before support for that model was dropped.

    I never found out whether the GPS 2+ was capable in recovering the epoch
    and year if left running for long enough, or whether the coin cell
    replacement process also included setting the correct epoch and year.

    I've never seen anydescriptions of how GPS receivers recognise the start
    of a new epoch and what internal variables they need to update when they
    get it.


    If not, will it come back to life with a new "keep alive" battery
    installed?

    My quess that depends on the make and model of GPS. All I know is that any
    GPS receiver recent enough to use EEPROM rather than battery backed RAM to store data thats retained when its powered off is pretty much guaranteed
    to work correctly unless its been physically damaged.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Newport-Peace@21:1/5 to Martin Gregorie on Thu Mar 30 20:44:02 2023
    On 30/03/2023 18:07, Martin Gregorie wrote:
    On Thu, 30 Mar 2023 09:52:51 -0600, Dan Marotta wrote:

    Will good AA batteries keep the thing alive while a soldering guru
    replaces the disk battery?

    My original Garmin GPS 2+ got left a bit too long with either no or dead
    AA cells (I forget which: it was back in the late '90s) Garmin replaced
    the tiny coin cell as a freebie and said that I'd just squeaked in before support for that model was dropped.

    I never found out whether the GPS 2+ was capable in recovering the epoch
    and year if left running for long enough, or whether the coin cell replacement process also included setting the correct epoch and year.

    I've never seen any descriptions of how GPS receivers recognise the start
    of a new epoch and what internal variables they need to update when they
    get it.
    As part of the data stream, it receives a week number. When this clicks
    from 1023 to 0, it is a new epoch. It does not receive the epoch number,
    which is a problem, so success/failure depends on if the epoch number is
    stored in volatile or non-volatile memory.


    If not, will it come back to life with a new "keep alive" battery
    installed?
    As above.

    My guess that depends on the make and model of GPS. All I know is that any GPS receiver recent enough to use EEPROM rather than battery backed RAM to store data thats retained when its powered off is pretty much guaranteed
    to work correctly unless its been physically damaged.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kinsell@21:1/5 to Tim Newport-Peace on Thu Mar 30 23:24:24 2023
    On 3/30/23 1:44 PM, Tim Newport-Peace wrote:
    On 30/03/2023 18:07, Martin Gregorie wrote:
    On Thu, 30 Mar 2023 09:52:51 -0600, Dan Marotta wrote:

    Will good AA batteries keep the thing alive while a soldering guru
    replaces the disk battery?

    My original Garmin GPS 2+ got left a bit too long with either no or dead
    AA cells (I forget which: it was back in the late '90s) Garmin replaced
    the tiny coin cell as a freebie and said that I'd just squeaked in before
    support for that model was dropped.

    I never found out whether the GPS 2+ was capable in recovering the epoch
    and year if left running for long enough, or whether the coin cell
    replacement process also included setting the correct epoch and year.

    I've never seen any descriptions of how GPS receivers recognise the start
    of a new epoch and what internal variables they need to update when they
    get it.
    As part of the data stream, it receives a week number. When this clicks
    from 1023 to 0, it is a new epoch. It does not receive the epoch number, which is a problem, so success/failure depends on if the epoch number is stored in volatile or non-volatile memory.

    Since 2014, the birds have added a new signal with a 13 bit week number
    instead of 10, so the epocs are 8 times bigger (about 158 years). It's unlikely receivers that can handle the new information have made their
    way into data loggers used by glider pilots.

    Power Flarm, LXNav, and ClearNav seem to favor U-box gps modules, which
    require a tiny amount of power for a real time clock if you want a fast
    lock.

    U-blox is just using firmware to provide 19.6 years of trouble-free
    operation after the date the firmware was created:

    https://content.u-blox.com/sites/default/files/u-blox-GPS-WeekNumberRolloverWorkaround_IN_%28UBX-19039990%29.pdf

    No magic there.




    If not, will it come back to life with a new "keep alive" battery
    installed?
    As above.

    My guess that depends on the make and model of GPS. All I know is that
    any
    GPS receiver recent enough to use EEPROM rather than battery backed
    RAM to
    store data thats retained when its powered off is pretty much guaranteed
    to work correctly unless its been physically damaged.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)