OSTC3 download dives and internal logbook problem

OSTC's running hwOS sport or tech
Post Reply
chood98
Posts: 10
Joined: Sunday 17. May 2015, 00:29

OSTC3 download dives and internal logbook problem

Post by chood98 »

Hi I have a problem when trying to download dives it has been working fine until now. It has started giving a error message.

error parsing the samples.

whenever I try to download, I have 12 dives to download.

Please help.


Having just checked the logbook on to ostc3 it shows the right depth and dive time but the wrong profile displayed, says I used gas 6 bailout for the dive when it was a oc dive and a temperature of 58.8 degree c

firmware version is 1.77
TnT
Posts: 62
Joined: Friday 24. June 2011, 14:05

Re: OSTC3 download dives problem

Post by TnT »

It would help if you tell us which
application you are using.
--
libdivecomputer developer
http://www.libdivecomputer.org/
chood98
Posts: 10
Joined: Sunday 17. May 2015, 00:29

Re: OSTC3 download dives problem

Post by chood98 »

I am using subsurface, I have also tried with divinglog 5.0 and that is just returning error.
TnT
Posts: 62
Joined: Friday 24. June 2011, 14:05

Re: OSTC3 download dives and internal logbook problem

Post by TnT »

Can you download the libdivecomputer universal test application, and run it with these options:

universal.exe -v -l ostc3.log -d ost3.xml -b ostc3

Replace with the correct COM port. When done, send me the ostc3.log file, and all the dive_xx.bin files.
--
libdivecomputer developer
http://www.libdivecomputer.org/
chood98
Posts: 10
Joined: Sunday 17. May 2015, 00:29

Re: OSTC3 download dives and internal logbook problem

Post by chood98 »

I have just sent over the files as asked for. It is the last dive in the log book that doesn't look right.
heinrichsweikamp
Posts: 4376
Joined: Sunday 13. May 2007, 18:07

Re: OSTC3 download dives and internal logbook problem

Post by heinrichsweikamp »

Hi,

With the help of the libdivecomputer developer I found the issue here: There was a 1:4096 chance that the first 4kB of a dive were not stored correctly in the internal logbook. This prevents downloading this dive and it's not displayed in the internal logbook correctly.

This bug has now been fixed, we'll post a new firmware tomorrow which is recommend to all users.

regards,
Matthias
chood98
Posts: 10
Joined: Sunday 17. May 2015, 00:29

Re: OSTC3 download dives and internal logbook problem

Post by chood98 »

Hi Matthias,

I have just upgraded to version 1.8 but I am still having problems downloading the dives
heinrichsweikamp
Posts: 4376
Joined: Sunday 13. May 2007, 18:07

Re: OSTC3 download dives and internal logbook problem

Post by heinrichsweikamp »

chood98 Wrote:
-------------------------------------------------------
> I have just upgraded to version 1.8 but I am still
> having problems downloading the dives

This dive profile is damaged due to this bug. You can not download it, unfortunately.

regards,
Matthias
chood98
Posts: 10
Joined: Sunday 17. May 2015, 00:29

Re: OSTC3 download dives and internal logbook problem

Post by chood98 »

I also have about 6 others to download as well, but it wont do any of them either.
Rob
Posts: 362
Joined: Thursday 12. May 2011, 18:12

Re: OSTC3 download dives and internal logbook problem

Post by Rob »

Hi,

i wonder if OSTCTools can handle this.
Have you tried this?

Regards
Rob
Home: http://www.angermayr.eu
email: ostctools@angermayr.eu
Home of OSTC Tools: http://ostctools.angermayr.eu
HWOSConfig for Android: https://play.google.com/store/apps/details?id=eu.angermayr.hwosconfig
chood98
Posts: 10
Joined: Sunday 17. May 2015, 00:29

Re: OSTC3 download dives and internal logbook problem

Post by chood98 »

just tried that now but still says error for me. I am wondering if the last dive that's affected by the bug is stopping it from downloading any others from earlier.

Just wondering if I will need to reset the logbook in on the computer to be able to download future dives.
Onno
Posts: 2
Joined: Sunday 24. May 2015, 05:50

Re: OSTC3 download dives and internal logbook problem

Post by Onno »

I didn't have any problems reading the profiles from my ostc3 with version 1.78 but now I've upgraded to 1.80 subsurface cannot download the dives.

I looked into it and on a specific dive the headers report a profile size of 0x5ad8 but the amount of bytes send for the profile is 0x5ad3 (including the profile and dive end bytes of 0xFDFD) followed by 0x4D.
Did you maybe break anything on this update?
BerndE
Posts: 10
Joined: Monday 17. February 2014, 22:39

Re: OSTC3 download dives and internal logbook problem

Post by BerndE »

I am having the same problem as Onno reported.

I didn't have any problems reading the profiles from my OSTC 3 with version 1.74
But now I've upgraded to version 1.80 DivingLog 5.0 cannot download any dives.

Going back to OSTC 3 version 1.74 and even to version 1.30 does not solve the problem. Even removing the battery does not.
Presently I cannot download dives anymore :-(

I believe that stored profile data itself has been corrupted by OSTC 3 version 1.80

Any help or patch or update available?
Gruß

Bernd
chood98
Posts: 10
Joined: Sunday 17. May 2015, 00:29

Re: OSTC3 download dives and internal logbook problem

Post by chood98 »

Hi having just got back from a dive with version 1.8 I can no longer download dives just says error like every one else.


Please help me!
Onno
Posts: 2
Joined: Sunday 24. May 2015, 05:50

Re: OSTC3 download dives and internal logbook problem

Post by Onno »

> I looked into it and on a specific dive the
> headers report a profile size of 0x5ad8 but the
> amount of bytes send for the profile is 0x5ad3
> (including the profile and dive end bytes of
> 0xFDFD) followed by 0x4D.

I looked into it a little more. I wrote some python code to read the data from the device with the 0x66 command and not being to tight on the reported profile size, This way the profile data is downloaded correctly and as far as I can see, the profile data seems to parse fine too. So I think only the reported profile size is off.
Mind you, the difference in the reported profile size and the real profile size is different for profiles logged by version 1.80 compared to those logged by version 1.77.
heinrichsweikamp
Posts: 4376
Joined: Sunday 13. May 2007, 18:07

Re: OSTC3 download dives and internal logbook problem

Post by heinrichsweikamp »

Ok... :S

I got the message - and will dig into this issue immediately. Don't panic, your dives are stored safely and you'll be able to download them again.

Matthias
cebo0o
Posts: 7
Joined: Sunday 29. March 2015, 18:47

Re: OSTC3 download dives and internal logbook problem

Post by cebo0o »

Hi,
I upgraded my OSTC Sport firmware to 10.16 before the week-end.
Now I have a similar problem : impossible to download dives neither from subsurface nor macdive.
Thanks for looking into the issue.
Cédric.
---------------------
OSTC Sport v10.17
OSTC Companion v1.134
Mac OSX 10.7.5
heinrichsweikamp
Posts: 4376
Joined: Sunday 13. May 2007, 18:07

Re: OSTC3 download dives and internal logbook problem

Post by heinrichsweikamp »

Continue here: read.php?6,14984
Post Reply