Hi,
Has anyone had any luck making the Mares DRAK interface work under Snow Leopard? MacDive detects the /dev/tty.SLAB_USBtoUART interface, but import fails after some activity on the DRAK interface (LED is blinking), and ends with a 'Cannot read memory' error. I've seen quite a lot of messages on the net about troubles getting the CP210x UART to USB to work on Snow Leopard, but nothing that could point to a solution for now. And, yeah, it works under Windows...
Console messages are as follows:
Feb 18 11:14:48 dhcp198 MacDive[1538]: Mares Import: Attempting to detect serial port
Feb 18 11:14:48 dhcp198 MacDive[1538]: Mares Import: Using serial port [/dev/tty.SLAB_USBtoUART]
Feb 18 11:14:48 dhcp198 MacDive[1538]: Mares Import (Puck): Attempting to Open Device
Feb 18 11:14:48 dhcp198 MacDive[1538]: Mares Import: Device Open, Attempting to read header..
Feb 18 11:14:48 dhcp198 MacDive[1538]: Mares Import: Header read: {\n diveObjects = (\n );\n dives = 0;\n model = Puck;\n serial = "failed - unknown";\n}
Feb 18 11:14:48 dhcp198 MacDive[1538]: Mares Import: Beginning Download
Feb 18 11:15:05 dhcp198 [0x0-0x5a05a].com.nshore.MacDive[1538]: /Users/nick/Projects/MacDive - CURRENT/mares_puck.c:240: Failed to receive the answer.
Feb 18 11:15:20: --- last message repeated 1 time ---
Feb 18 11:15:20 dhcp198 [0x0-0x5a05a].com.nshore.MacDive[1538]: /Users/nick/Projects/MacDive - CURRENT/mares_common.c:133: Calculated and stored size are not equal.
Feb 18 11:15:20 dhcp198 MacDive[1538]: Mares Import: got rc: -3
Thanks,
Lionel
Any luck with Mares Puck on Snow Leopard?
Re: Any luck with Mares Puck on Snow Leopard?
The error message "Calculated and stored size are not equal." is from libdivecomputer. Can you send me a memory dump of your device? Instructions are in this topic: http://forum.mac-dive.com/viewtopic.php?p=78#p78 Except that you need the puck application of course.
Re: Any luck with Mares Puck on Snow Leopard?
This bug has been fixed in the latest libdivecomputer code. The freedive and gauge modes appear to be different on some models. Probably because some models do not support these modes. It might be that other Mares models will need a similar fix, so let me know if something doesn't work.
Re: Any luck with Mares Puck on Snow Leopard?
Hello,
I don't know if this is the right place to post this, but I've had a similar issue (OS X 10.9.5, Mares, Smart Apnea): It seems like the download starts OK, but when it reaches 100% I get
18/11/15 17:10:49.989 MacDive[2626]: ERROR: Calculated and stored size are not equal. [in /Users/nick/Projects/DiveComputer/src/mares_iconhd.c:531 (mares_iconhd_extract_dives)]
in the console, and Mac-Dive telling me something about an error.
Or, is the Smart Apnea actually supported?
Thanks,
J.
I don't know if this is the right place to post this, but I've had a similar issue (OS X 10.9.5, Mares, Smart Apnea): It seems like the download starts OK, but when it reaches 100% I get
18/11/15 17:10:49.989 MacDive[2626]: ERROR: Calculated and stored size are not equal. [in /Users/nick/Projects/DiveComputer/src/mares_iconhd.c:531 (mares_iconhd_extract_dives)]
in the console, and Mac-Dive telling me something about an error.
Or, is the Smart Apnea actually supported?
Thanks,
J.
- nick
- Site Admin
- Posts: 4377
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Any luck with Mares Puck on Snow Leopard?
It's not actually supported as such. Could you stop me an email?
I can have a look and get you a beta version.
I can have a look and get you a beta version.