MacDive Forums

Discussion and Support for MacDive
It is currently Sun Sep 24, 2017 11:46 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Jul 11, 2010 5:43 am 
Offline

Joined: Sun Feb 07, 2010 9:21 pm
Posts: 177
Dive Computer: many
For downloading dives directly from a dive computer, macdive relies on the open source libdivecomputer library. Thus if you are experiencing a communication problem (timeouts, transfer protocol errors, etc) during the download, you should follow the procedure below to report your problem with all the information Nick and I need.

1. Download the test application.

Download the dctool test application, and save it to your desktop. Next, the application needs to be marked as executable. Open a terminal (Applications -> Utilities -> Terminal), and type:
Code:
cd Desktop
chmod u+x dctool


2. Identify the correct dive computer.

Run the test application with the list option to print the list of supported devices:
Code:
./dctool list

Locate the correct dive computer name. If your dive computer is not listed, you can usually pick the correct one based on the other names in the list.

3. Identify the correct serial port.

If you haven't installed the necessary USB driver yet, download and install that before you continue.

Connect the serial or USB cable to your Mac. If necessary, activate the transfer mode of your device. Then type:
Code:
ls /dev/tty.*

You should see something like "/dev/tty.usbserial-st000001".

(Note that this "ls" command starts with a lower case letter "L".)

3. Run the test application.

Run the test application again with these options:
Code:
./dctool -v -l dctool.log -d "<divecomputer>" dump -o dctool.bin <serialport>

where you replace <divecomputer> with the correct dive computer name (e.g. "Suunto Vyper"), and <serialport> with the correct serial port (e.g. /dev/tty.usbserial-st000001).

Then after you hit enter this last time, it should start ticking away doing a bunch of stuff. When it's finished, you should have a dctool.log and dctool.bin file on your desktop. Throw both of those in an email to Nick (support@mac-dive.com) and myself (jef@libdivecomputer.org).

Let us know if you have any problems with any of this!

PS: If you email me a report, please mention your forum username and include a link to your forum topic or post (if there is one).


Top
 Profile  
 
PostPosted: Thu Jan 06, 2011 3:09 am 
Offline

Joined: Wed Jan 05, 2011 11:36 pm
Posts: 2
Dive Computer: Mares Icon HD
This isn´t working for me, but I´m in hostile territory with this Terminal thing :o

The iconhd file is d-l and saved on the desktop. But I don´t know where the libdivecomputer-0.0.0 is to be stored. I´ve tried both the desktop and the applications folder.

I´ve attached a screendump of my terminal.

Hope this makes sence to someone!

;)


Attachments:
File comment: OSX Terminal screendump
Bilde 6.png
Bilde 6.png [ 16.56 KiB | Viewed 72437 times ]
Top
 Profile  
 
PostPosted: Thu Jan 06, 2011 1:51 pm 
Offline

Joined: Sun Feb 07, 2010 9:21 pm
Posts: 177
Dive Computer: many
You forgot the star "*" at the end of the command. It's safest to copy-and-past the commands to avoid typos.

You only need the iconhd file and nothing else. The libdivecomputer-0.0.0 files contain the source code and are only necessary if you want to build the applications from the source code yourself.


Top
 Profile  
 
PostPosted: Thu Apr 21, 2011 12:15 am 
Offline

Joined: Wed Apr 20, 2011 11:54 pm
Posts: 1
Dive Computer: Icon HD
So I just got a new Icon HD and am having trouble connecting with MacDive. I tried running the test you mentioned and after hitting enter the last time, this is all I got:

Last login: Wed Apr 20 10:05:53 on ttys000
justin-valentines-computer:~ Justin$ /Users/Justin/Desktop/iconhd ; exit;
DATETIME 2011-04-20T16:09:29Z (1303315769)
REVISION ce9459039cc8a2df9a4694628d88f81b7433fe7d
DEVICE=/dev/ttyS0
mares_iconhd_device_open
TRACE (../../source/src/serial_posix.c:107, open): No such file or directory (2)
../../source/src/mares_iconhd.c:131: Failed to open the serial port.
../../source/examples/mares_iconhd_test.c:35: Error opening serial port.

SUMMARY
-------
test_dump_memory: Input/output error
logout

[Process completed]

And this:

Last login: Wed Apr 20 10:04:38 on ttys000
justin-valentines-computer:~ Justin$ cd Desktop
justin-valentines-computer:Desktop Justin$ chmod u+x iconhd
justin-valentines-computer:Desktop Justin$ ls /dev/tty.*
/dev/tty.Bluetooth-Modem /dev/tty.usbmodem01234561
/dev/tty.Bluetooth-PDA-Sync
justin-valentines-computer:Desktop Justin$ ./iconhd/dev/tty.usbmodem01234561
-bash: ./iconhd/dev/tty.usbmodem01234561: Not a directory
justin-valentines-computer:Desktop Justin$
justin-valentines-computer:Desktop Justin$

I'm totally lost and a bit frustrated as I've got 2 programs (yours and Diver's Diary) and it does not seem to want to communicate with either. Any help you can give would be greatly appreciated. Oh, my username is scubafied.


Top
 Profile  
 
PostPosted: Thu Apr 21, 2011 4:35 am 
Offline
Site Admin
User avatar

Joined: Sat Apr 12, 2008 8:33 am
Posts: 3453
Dive Computer: Shearwater Perdix AI
Code:
justin-valentines-computer:Desktop Justin$ ./iconhd/dev/tty.usbmodem01234561


This part here is missing a space, between ./iconhd and /dev/tty.usbmodem01234561. These instructions have to be specific - appreciate your frustration, but repeat with this:

Code:
./iconhd /dev/tty.usbmodem01234561

_________________
http://www.mac-dive.com : support@mac-dive.com : @MacDiveApp


Top
 Profile  
 
PostPosted: Sat Nov 12, 2011 12:30 am 
Offline

Joined: Sat Nov 12, 2011 12:17 am
Posts: 1
Dive Computer: MARES NEMO WIDE AIR
Hi guys !


(I'm just new to MDF)
I am a Mac-user (not a technician, nor programmer...) & I speak Dutch, but English is +/- OK to me, as long as it's not too technical...
All these procedures to connect my Mares Nemo Wide air to my MacBook seem to be quite a challenge...

Isn't there a more easy way...? :mrgreen:


Thank you (in advance) for any technical assistance anyone can provide me with... :P
Herman (Nam-Reh).


>>> :mrgreen: Heuh... Correction my own post...
I tried (& bought) MacDive (& downloaded the drivers for my MARES NEMO WIDE + AIR) & all is working 100% !!!
Great product !!!
You can be sure I will recommend it to fellow divers !!!

TnT wrote:
For downloading dives directly from a dive computer, macdive relies on the open source libdivecomputer library. Thus if you are experiencing a communication problem (timeouts, transfer protocol errors, etc) during the download, you should follow the procedure below to report your problem with all the information Nick and I need.

1. Identify the correct backend for your device.

Have a look at the list of supported devices, which is grouped by backend. The backend type is the name of the first device (lowercase and no spaces) in the list. If your device is not listed, you can usually pick the correct one based on the other names in the list.

For example the backend for a Suunto Vyper 2 is "vyper2", which I will use in the instructions below. If your backend is different one, replace "vyper2" with the correct one.

2. Download the test application.

Download the corresponding test application here, and save it to your desktop. Then, open a terminal (Applications -> Utilities -> Terminal). In it, type:

cd Desktop

Then:

chmod u+x vyper2

3. Connect the device, identify the portname and run the test application.

If you haven't installed the necessary USB driver yet, download and install that before you continue.

Connect the serial or USB cable to your Mac. If necessary, activate the transfer mode of your device. Then type:

ls /dev/tty.*

Note that this "ls" command starts with a lower case letter "L".

You should see something like "/dev/tty.usbserial-st000001". Whatever that is, copy it (apple+c), and you want to type a new command and paste it on the end, so that you get something like:

./vyper2 /dev/tty.usbserial-st000001

Then after you hit enter this last time, it should start ticking away doing a bunch of stuff. When it's finished, you should have a VYPER2.LOG and VYPER2.DMP file on your desktop. Throw both of those in an email to Nick (support@mac-dive.com) and myself (jefdriesen@hotmail.com).

Let us know if you have any problems with any of this!

PS: If you email me a report, please mention your forum username and include a link to your forum topic or post (if there is one).


Top
 Profile  
 
PostPosted: Sun Mar 18, 2012 6:13 pm 
Offline

Joined: Sat Jul 16, 2011 3:52 pm
Posts: 7
Dive Computer: Suunto Stinger
Hi guys,

I have problems finding the right test-app.

I'm using the Suunto Stinger but when I fire the test command I don't have stinger as a backend option.
Currently, I'm using the universal test app.

Backend options are:
solution, eon, vyper, vyper2, d9, aladin, memomouse, smart, sensus, sensuspro, sensusultra, vtpro, veo250, atom2, nemo, puck, darwin, iconhd, ostc, edy, n2ition3, cobalt


Do you have some input on how to test the computer.

BR
Henrik


Top
 Profile  
 
PostPosted: Sun Mar 18, 2012 6:59 pm 
Offline

Joined: Sun Feb 07, 2010 9:21 pm
Posts: 177
Dive Computer: many
You need the "vyper" app.

_________________
libdivecomputer developer
Support the libdivecomputer project with a donation!
http://www.libdivecomputer.org/donate.html


Top
 Profile  
 
PostPosted: Mon Dec 31, 2012 7:05 pm 
Offline

Joined: Mon Dec 31, 2012 7:00 pm
Posts: 1
Dive Computer: P4
Hi That is great, That is awesome information, i was also looking for this.
Regards

_________________
free testking braindumps question free testking braindumps question
ccie written pdf ccie written pdf
ccie sp pdf ccie sp pdf
ccna certification exam pdf ccna certification exam pdf


Top
 Profile  
 
PostPosted: Thu May 30, 2013 10:32 pm 
Offline

Joined: Thu May 30, 2013 10:21 pm
Posts: 1
Dive Computer: Nemo Wide, D6i
Hi guys!

I have connection problems with my Nemo Wide
After following the procedure indicated (see terminal screen attached) i am still not able to connect

here is the terminal screen


Last login: Thu May 30 15:05:56 on console
Lobster-2:~ pietroadmin$ cd Desktop
Lobster-2:Desktop pietroadmin$ chmod u+x puck
Lobster-2:Desktop pietroadmin$ ls /dev/tty.*
/dev/tty.Bluetooth-Modem /dev/tty.Krabbe-m-RouterConnecti-1
/dev/tty.Bluetooth-PDA-Sync /dev/tty.R-1
/dev/tty.Donegal-Dial-upNetworki-2 /dev/tty.R-2
/dev/tty.Donegal-SerialPort-1 /dev/tty.SLAB_USBtoUART
/dev/tty.Gambero-Dial-upNetworki-2 /dev/tty.pietroBB-DialupNetworki-1
/dev/tty.Gambero-SerialPort-1
Last login: Thu May 30 15:05:56 on console
Lobster-2:~ pietroadmin$ cd Desktop
Lobster-2:Desktop pietroadmin$ chmod u+x puck
Lobster-2:Desktop pietroadmin$ ls /dev/tty.*
/dev/tty.Bluetooth-Modem /dev/tty.Krabbe-m-RouterConnecti-1
/dev/tty.Bluetooth-PDA-Sync /dev/tty.R-1
/dev/tty.Donegal-Dial-upNetworki-2 /dev/tty.R-2
/dev/tty.Donegal-SerialPort-1 /dev/tty.SLAB_USBtoUART
/dev/tty.Gambero-Dial-upNetworki-2 /dev/tty.pietroBB-DialupNetworki-1
/dev/tty.Gambero-SerialPort-1

and this is the PUCK.LOG

any suggestion? Did I miss anything?

thanks in advance


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC + 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group