Hi
I tried to import three dives on the logbook of my Mares Icon HD. It worked, so I bought a license of Macdive 2.
Since then , I once was able to download my next dives, now it won't work anymore
I know you don't like to see dump there, but mine are sooooo small...
******************** First and second attempt :
SUMMARY
-------
test_dump_memory: Timeout
ie.command in:~ olivier$ ./iconhd /dev/tty.usbmodem01234561
DATETIME 2011-09-18T23:22:53Z (1316388173)
REVISION 2a26da3737dc7106b93c6774cc5a7069548caf06
DEVICE=/dev/tty.usbmodem01234561
mares_iconhd_device_open
Configure: baudrate=256000, databits=8, parity=0, stopbits=1, flowcontrol=0
Timeout: value=1000
DTR: value=0
RTS: value=0
Flush: queue=3, input=0, output=0
Write: timer=0, size=2, data=C267, remaining=0
Read: timer=1001, size=0, data=, remaining=0
../../source/src/mares_iconhd.c:89: Failed to receive the answer.
../../source/examples/mares_iconhd_test.c:37: Error opening serial port.
******************** All future attempt :
SUMMARY
-------
test_dump_memory: Timeout
ie.command in:~ olivier$ ./iconhd /dev/tty.usbmodem01234561
DATETIME 2011-09-18T23:24:00Z (1316388240)
REVISION 2a26da3737dc7106b93c6774cc5a7069548caf06
DEVICE=/dev/tty.usbmodem01234561
mares_iconhd_device_open
TRACE (../../source/src/serial_posix.c:110, open): Resource busy (16)
../../source/src/mares_iconhd.c:125: Failed to open the serial port.
../../source/examples/mares_iconhd_test.c:37: Error opening serial port.
Please help me to find what's wrong !
Olivier
Problem with downloading from Mares Icon HD
- nick
- Site Admin
- Posts: 4363
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Problem with downloading from Mares Icon HD
Sorry, I must have missed this -
Is the device in transfer mode?
Is the device in transfer mode?
Re: Problem with downloading from Mares Icon HD
Sorry, I must have missed your reply :-/
This time I select "Notify me when a reply is posted"
Of course it is in transfer mode. I can download the dives when using Parallels Desktop.
When plugged, the Icon shows "PC" on top of the screen, the USB symbol, and the battery symbol with the charge %.
In Macdive 2.1.0, File... Download dives... Mares / Icon HD / All dives / Timezone Europe Paris
When I click on [Import] the screen of the Icon HD goes black, and Macdives shows an error message :
Import error
Failed connecting to the dive computer on serial port '/dev/tty.usbmodem01234561' (Error code: -4)
The log with the "iconhd" tool is :
DATETIME 2011-10-24T16:51:34Z (1319475094)
REVISION 2a26da3737dc7106b93c6774cc5a7069548caf06
DEVICE=/dev/tty.usbmodem01234561
mares_iconhd_device_open
Configure: baudrate=256000, databits=8, parity=0, stopbits=1, flowcontrol=0
Timeout: value=1000
DTR: value=0
RTS: value=0
Flush: queue=3, input=0, output=0
Write: timer=0, size=2, data=C267, remaining=2
TRACE (../../source/src/serial_posix.c:515, read): Device not configured (6)
../../source/src/mares_iconhd.c:89: Failed to receive the answer.
TRACE (../../source/src/serial_posix.c:155, tcsetattr): Device not configured (6)
../../source/examples/mares_iconhd_test.c:37: Error opening serial port.
SUMMARY
-------
test_dump_memory: Input/output error
When I click to close the error message, the Icon HD shows a single line on top the the screen :
"USB Connected, waiting for communication to PC"
When I try to import again (cmd-D or cmd-L), the Icon HD shows a single line on top the the screen, this time with bold caracters :
'Idle, ready for commands"
Sometimes the error message in Macdive is not the same, it shows :
Import error
Failed to read dive computer memory (Error code: -5)
In that case, the log with the "iconhd" tool is :
DATETIME 2011-10-24T16:52:58Z (1319475178)
REVISION 2a26da3737dc7106b93c6774cc5a7069548caf06
DEVICE=/dev/tty.usbmodem01234561
mares_iconhd_device_open
Configure: baudrate=256000, databits=8, parity=0, stopbits=1, flowcontrol=0
Timeout: value=1000
DTR: value=0
RTS: value=0
Flush: queue=3, input=0, output=0
Write: timer=0, size=2, data=C267, remaining=2
Read: timer=100, size=142,
data=AA49636F6E4844426F6F7400000000000030302E30302E30390000090032342D30322D3039000049636F6E20484420426
F6F7420284329204D617265730000000000000000000049636F6E20484400000000000000000030302E31322E3032000C02003
2372D30352D3131E44349636F6E20484420284329204D61726573000000000000000000000000000000EA, remaining=0
device_dump
Write: timer=0, size=2, data=E742, remaining=0
Read: timer=1, size=1, data=AA, remaining=0
Write: timer=0, size=8, data=0000000000001000, remaining=8
Read: timer=1000, size=5, data=00000000EA, remaining=0
../../source/src/mares_iconhd.c:290: Failed to receive the answer.
../../source/examples/mares_iconhd_test.c:46: Cannot read memory.
SUMMARY
-------
test_dump_memory: Timeout
Can you please help me ?
Thank you
This time I select "Notify me when a reply is posted"
Of course it is in transfer mode. I can download the dives when using Parallels Desktop.
When plugged, the Icon shows "PC" on top of the screen, the USB symbol, and the battery symbol with the charge %.
In Macdive 2.1.0, File... Download dives... Mares / Icon HD / All dives / Timezone Europe Paris
When I click on [Import] the screen of the Icon HD goes black, and Macdives shows an error message :
Import error
Failed connecting to the dive computer on serial port '/dev/tty.usbmodem01234561' (Error code: -4)
The log with the "iconhd" tool is :
DATETIME 2011-10-24T16:51:34Z (1319475094)
REVISION 2a26da3737dc7106b93c6774cc5a7069548caf06
DEVICE=/dev/tty.usbmodem01234561
mares_iconhd_device_open
Configure: baudrate=256000, databits=8, parity=0, stopbits=1, flowcontrol=0
Timeout: value=1000
DTR: value=0
RTS: value=0
Flush: queue=3, input=0, output=0
Write: timer=0, size=2, data=C267, remaining=2
TRACE (../../source/src/serial_posix.c:515, read): Device not configured (6)
../../source/src/mares_iconhd.c:89: Failed to receive the answer.
TRACE (../../source/src/serial_posix.c:155, tcsetattr): Device not configured (6)
../../source/examples/mares_iconhd_test.c:37: Error opening serial port.
SUMMARY
-------
test_dump_memory: Input/output error
When I click to close the error message, the Icon HD shows a single line on top the the screen :
"USB Connected, waiting for communication to PC"
When I try to import again (cmd-D or cmd-L), the Icon HD shows a single line on top the the screen, this time with bold caracters :
'Idle, ready for commands"
Sometimes the error message in Macdive is not the same, it shows :
Import error
Failed to read dive computer memory (Error code: -5)
In that case, the log with the "iconhd" tool is :
DATETIME 2011-10-24T16:52:58Z (1319475178)
REVISION 2a26da3737dc7106b93c6774cc5a7069548caf06
DEVICE=/dev/tty.usbmodem01234561
mares_iconhd_device_open
Configure: baudrate=256000, databits=8, parity=0, stopbits=1, flowcontrol=0
Timeout: value=1000
DTR: value=0
RTS: value=0
Flush: queue=3, input=0, output=0
Write: timer=0, size=2, data=C267, remaining=2
Read: timer=100, size=142,
data=AA49636F6E4844426F6F7400000000000030302E30302E30390000090032342D30322D3039000049636F6E20484420426
F6F7420284329204D617265730000000000000000000049636F6E20484400000000000000000030302E31322E3032000C02003
2372D30352D3131E44349636F6E20484420284329204D61726573000000000000000000000000000000EA, remaining=0
device_dump
Write: timer=0, size=2, data=E742, remaining=0
Read: timer=1, size=1, data=AA, remaining=0
Write: timer=0, size=8, data=0000000000001000, remaining=8
Read: timer=1000, size=5, data=00000000EA, remaining=0
../../source/src/mares_iconhd.c:290: Failed to receive the answer.
../../source/examples/mares_iconhd_test.c:46: Cannot read memory.
SUMMARY
-------
test_dump_memory: Timeout
Can you please help me ?
Thank you
Re: Problem with downloading from Mares Icon HD
Hi,
I have exactly the same problem (icon HD first gen, not icon hd Net ready).
http://www.mac-dive.com/forum/viewtopic.php?f=2&t=967
I have exactly the same problem (icon HD first gen, not icon hd Net ready).
http://www.mac-dive.com/forum/viewtopic.php?f=2&t=967
Re: Problem with downloading from Mares Icon HD
I am new to Icon HD (just bought it) and the same for MacDive. when try to import the tested dived in the device i get the "error code -3" any help?
- nick
- Site Admin
- Posts: 4363
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Problem with downloading from Mares Icon HD
As per the other thread linked above, email me for a beta.