Page 1 of 1

Import dives fail - Error Code: -7

Posted: Sun Mar 12, 2017 12:59 pm
by pmacdiver
Hi All,

Hoping for a little help to download dives from my latest dive trip.

Since the late time I dived, my machine had been upgraded to MacOS 10.12.2, MacDive 2.8.1 and FTDIUSBSerialDriver_v2_3
My dive computer is an Suunto Vyper Air (Black Edition)

When I try to download the diver using MacDive, I get this error:

Failed connecting to dive computer on serial port '/dev/tty.usbserial-ST01VPKR' (Error Code: -7)

Looking in the forum, it was suggested to validate the connection to dive computer using the tool 'dctool'
downloaded the latest version from http://libdivecomputer.org/builds/stable/macosx/
Date on the site is '2017-02-21 04:14' size: 427K

./dctool -v -l dctool.log -d "Suunto Vyper Air" dump -o dctool.bin /dev/tty.usbserial-ST01VPKR

attached is the dctool.log, which indicate that the connection is working ?!

another question, can I import the information from the dctool.log ?

Assistance in getting import to work would be really appreciated ;)

Thank you.

Re: Import dives fail - Error Code: -7

Posted: Sun Mar 12, 2017 1:17 pm
by nick
There's no attachment (I think they're disabled). But usually in this case it would be a low battery or bad connection. I would check that.

Note that I'm out of office until March the 26th on a business trip. I'm just about to jump on a flight, so if you email it through I will take a look when I get internet and time in a couple of days.

Thanks.

Re: Import dives fail - Error Code: -7

Posted: Sun Mar 12, 2017 1:39 pm
by pmacdiver
Thank you for the fast reply..

The battery was replaced (mid February, 2017) before the trip, and is still saying 'Battery OK' after 25 dives.

The beginning of the log, which complete to 100%, from the dctool.log:

dragon:Downloads pmac$ ./dctool -v -l dctool.log -d "Suunto Vyper Air" dump -o dctool.bin /dev/tty.usbserial-ST01VPKR
DATETIME 2017-03-12T04:20:10Z (1489292410)
VERSION 0.6.0-devel (2646e4df86786b0b95a9f62582930c1b8e3f288b)
Opening the device (Suunto Vyper Air, /dev/tty.usbserial-ST01VPKR).
INFO: Open: name=/dev/tty.usbserial-ST01VPKR
INFO: Configure: baudrate=9600, databits=8, parity=0, stopbits=0, flowcontrol=0
INFO: Timeout: value=3000
INFO: DTR: value=1
INFO: Sleep: value=100
INFO: Purge: direction=3
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=6
INFO: Write: size=4, data=0F00000F
INFO: RTS: value=0
INFO: Read: size=8, data=0F00041301011901
Registering the event handler.
Registering the cancellation handler.
Downloading the memory dump.
Event: vendor=13010119
Event: progress 0.00% (0/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=0500030000787E
INFO: RTS: value=0
INFO: Read: size=127, data=05007B00007801000209060E15140801180E45FFA8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2A4D023DFFFFFFFFFFFFBFBEFFFFFF01000001FF5000ACF20CFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3008EFFF3204080084030000E80718002E04020084030000D1FF7004EDFE1B663AF7E803F503C6FF8159DD1455
Event: progress 0.37% (120/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=05000300787806
INFO: RTS: value=0
INFO: Read: size=127, data=05007B0078782300E803C4091EFFFFFFFFFF619E929E89FEF609C201B2FFFFFFFFFF010201FFFFFFFFFFEA0514F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF91
Event: progress 0.73% (240/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=05000300F0788E
INFO: RTS: value=0
INFO: Read: size=127, data=05007B00F078FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00F8FAFA89FAE10765FF5375756E746F204469765C
Event: progress 1.10% (360/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=05000301687817
INFO: RTS: value=0
INFO: Read: size=127, data=05007B016878657200FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3311FD156D00A1FFFFFF57362500F838503D0B0F980225309B02DC2FD402A02F4003402F169A02332F4002EC2E0A02B82E74016C2E3F01222E16A100DA2D020E04BF7E930400619062169900F20B810A2D004C3B0C000E112EE17C
Event: progress 1.46% (480/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=05000301E0789F
INFO: RTS: value=0
INFO: Read: size=127, data=05007B01E07807030214010146006400000220FFFF0700000000000000000000000000000000000000000F03076401196801197405800100005B007B00444D1D4F01D64C38010C4C31034A4B9E05A44A7707E0491B9108EB487208B147980734474007A346E80615461A9B06904597062445E806B5441A071F443807BE4364
Event: progress 1.83% (600/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=05000302587824
INFO: RTS: value=0
INFO: Read: size=127, data=05007B0258781A8F074543FD077C420F087A412E08054176088040199A08A83FB608123FDD087B3E82081F3E80088F3D19E9072F3D3607D83C3007853C40071B3CB707C33B193D08943BC908333BCB09623A6E0A5E39E909EF3819090ACD387A096038A209A337DB0933379D09E236196B0951365308F435AF07A2356A07A9
Event: progress 2.20% (720/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=05000302D078AC
INFO: RTS: value=0
INFO: Read: size=127, data=05007B02D0781935410795341903070D348F06D733B2068D332F063833D205F032196A0586326607D43190078531A2074C313107EC30190907AF3034075A300607F82F1A06792F86061D2F19EF068A2E10070E2EFE068B2D0607422DC806D72C19ED06532C1307EC2B2E075F2B4207E72A38074C2A190707D629DB06532936
Event: progress 2.56% (840/32768)
INFO: Sleep: value=600
INFO: RTS: value=1
INFO: Sleep: value=9
INFO: Write: size=7, data=05000303487835

Re: Import dives fail - Error Code: -7

Posted: Mon Mar 13, 2017 8:08 am
by nick
Do you have the correct device selected in MacDive?

Re: Import dives fail - Error Code: -7

Posted: Mon Mar 13, 2017 2:53 pm
by TnT
It looks like the downloading itself is working fine. Maybe it's the parsing of the data that goes wrong. Can you email me the dctool.bin and dctool.log file?

Re: Import dives fail - Error Code: -7

Posted: Fri Mar 17, 2017 4:18 am
by pmacdiver
Hi both,

I've imported dive from this computer (Suunto Vyper Air) many times before, and checked that when importing using last setting, as well when defining the computer from scratch.. Getting same error both times..

As to Email the dctool.bin, and log, I need your Email adresse..
When I have that, I'll send the information ASAP..

Thank you for looking into this ;)

Best regards, Peter