Page 1 of 1

OSTC3 download dives and internal logbook problem

Posted: Sunday 17. May 2015, 00:36
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

Re: OSTC3 download dives problem

Posted: Sunday 17. May 2015, 13:27
by TnT
It would help if you tell us which
application you are using.

Re: OSTC3 download dives problem

Posted: Sunday 17. May 2015, 13:40
by chood98
I am using subsurface, I have also tried with divinglog 5.0 and that is just returning error.

Re: OSTC3 download dives and internal logbook problem

Posted: Sunday 17. May 2015, 14:23
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.

Re: OSTC3 download dives and internal logbook problem

Posted: Sunday 17. May 2015, 15:23
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.

Re: OSTC3 download dives and internal logbook problem

Posted: Monday 18. May 2015, 21:25
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

Re: OSTC3 download dives and internal logbook problem

Posted: Tuesday 19. May 2015, 13:55
by chood98
Hi Matthias,

I have just upgraded to version 1.8 but I am still having problems downloading the dives

Re: OSTC3 download dives and internal logbook problem

Posted: Tuesday 19. May 2015, 13:57
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

Re: OSTC3 download dives and internal logbook problem

Posted: Tuesday 19. May 2015, 14:00
by chood98
I also have about 6 others to download as well, but it wont do any of them either.

Re: OSTC3 download dives and internal logbook problem

Posted: Tuesday 19. May 2015, 14:07
by Rob
Hi,

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

Regards
Rob

Re: OSTC3 download dives and internal logbook problem

Posted: Tuesday 19. May 2015, 14:10
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.

Re: OSTC3 download dives and internal logbook problem

Posted: Sunday 24. May 2015, 06:05
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?

Re: OSTC3 download dives and internal logbook problem

Posted: Sunday 24. May 2015, 16:23
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?

Re: OSTC3 download dives and internal logbook problem

Posted: Sunday 24. May 2015, 18:54
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!

Re: OSTC3 download dives and internal logbook problem

Posted: Monday 25. May 2015, 08:41
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.

Re: OSTC3 download dives and internal logbook problem

Posted: Monday 25. May 2015, 21:38
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

Re: OSTC3 download dives and internal logbook problem

Posted: Monday 25. May 2015, 22:19
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.

Re: OSTC3 download dives and internal logbook problem

Posted: Wednesday 27. May 2015, 12:02
by heinrichsweikamp
Continue here: read.php?6,14984