Page 2 of 4
Re: Mares Icon HD
Posted: Fri May 14, 2010 6:45 pm
by TnT
Sorry, I made a mistake while uploading the new test application. I did upload the old version again

Here are the links to the new version:
http://www.divesoftware.org/libdc/build ... iconhd.exe (Windows)
http://www.divesoftware.org/libdc/build ... osx/iconhd (Mac OS X)
Can you try these? First the Windows one, and if that works the Mac OS X too.
Note, I'm leaving for a holiday and will have no internet access for the next 2 weeks. So don't worry if you don't get any response from me.
Re: Mares Icon HD
Posted: Sat May 15, 2010 4:25 pm
by Exposure
Sounds better. Here are the 2 files generated with the Windows version:
http://yr1.free.fr/mares/ICONHD.LOG
http://yr1.free.fr/mares/ICONHD.DMP
I'll be off for 2 weeks too. Maybe some dives on my weight belt.
Yvan
Re: Mares Icon HD
Posted: Sun Jun 20, 2010 8:00 pm
by TnT
I made a little progress trying to reverse engineer the iconhd format, but I need more data. Can you (or someone else of course) make some more dumps? The most useful data for me would be a series of memory dumps, with one dump after every new dive you do. That way I can easily locate the new dive by looking at those bytes that have changed since the previous dump.
Re: Mares Icon HD
Posted: Sat Jun 26, 2010 5:53 am
by Exposure
Hi TnT,
Here is a new dump with 6 more dives. 2 as bottom timer and 4 Nitrox. A total of 7 dives with the first Deco dive.
http://yr1.free.fr/mares/ICONHD7.LOG
http://yr1.free.fr/mares/ICONHD7.DMP
Yvan
Re: Mares Icon HD
Posted: Wed Jun 30, 2010 4:45 am
by TnT
Thanks! I made lots of progress with this new data. I can now locate all 7 dives, parse the date/time and profile data (depth and temperature). The most important missing piece of information is now finding out how to locate the dives automatically (I did it manually for yours). There should be some configuration data somewhere that points to the first and/or last dive. I also don't know yet where the profile ringbuffer ends because your device doesn't have enough dives to cross that border yet.
Something that might help is storing some images and maps to the device, and take a new memory dump between every single step (e.g. one dump after each image/map). If some memory area is written with image/map data, I can already rule out that area for profile data.
Can you also try to make a memory dump on macosx (or linux) to test the non-standard baudrate.
Updated builds are located here:
http://www.divesoftware.org/libdc/builds/
Re: Mares Icon HD
Posted: Sat Jul 10, 2010 7:44 pm
by Exposure
Hi There,
Here are some new files prepared with Windows. Could you help me with your Mac program as I don't know how to use it ?
1) Dump without any picture or map, just 7 dives.
http://yr1.free.fr/mares/1%20-%20ICONHD ... %20Win.DMP
http://yr1.free.fr/mares/1%20-%20ICONHD ... %20Win.LOG
2) Previous Dump with one picture added (7 dives and 1 picture)
http://yr1.free.fr/mares/2%20-%20ICONHD ... %20Win.DMP
http://yr1.free.fr/mares/2%20-%20ICONHD ... %20Win.LOG
3) Previous Dump with one map added (7 dives, 1 picture and 1 map)
http://yr1.free.fr/mares/3%20-%20%20ICO ... %20Win.DMP
http://yr1.free.fr/mares/3%20-%20%20ICO ... %20Win.LOG
4) Previous Dump with 10 pictures added (7 dives, 11 pictures and 1 map)
http://yr1.free.fr/mares/4%20-%20ICONHD ... %20Win.DMP
http://yr1.free.fr/mares/4%20-%20ICONHD ... %20Win.LOG
5) Previous Dump with 10 maps added (7 dives, 11 pictures and 11 maps)
http://yr1.free.fr/mares/5%20-%20ICONHD ... %20Win.DMP
http://yr1.free.fr/mares/5%20-%20ICONHD ... %20Win.LOG
Let me know if you need specific things on these files, and revert to me with the use of Mac
For more dive, I'll have to wait for the end of august. But as the limit is around 100 dives in the Icon, I am not sure to reach the ringbuffer end...
Yvan
Re: Mares Icon HD
Posted: Mon Jul 12, 2010 5:34 pm
by TnT
Exposure wrote:Here are some new files prepared with Windows.
These memory dumps are all identical. That means the pictures and maps are stored somewhere else, and they are not download together with the dives.
Exposure wrote:Could you help me with your Mac program as I don't know how to use it ?
Sure. Follow the instructions in
this topic, with "iconhd" as the backend name.
The Mares Icon HD interface is a standard CDC device, so you shouldn't need to install a driver (because the OS should have a generic driver included). However the device might be recognized as a modem or a network device, not a serial device. If that is the case, you'll have prevent that from happening somehow.
Re: Mares Icon HD
Posted: Tue Jul 13, 2010 4:41 am
by Exposure
TnT wrote:These memory dumps are all identical. That means the pictures and maps are stored somewhere else, and they are not download together with the dives.
Hope this is a good news

Anyway, for pictures and maps the Mares is working like a USB key, one space for maps and one space for pictures. When the space for pictures is full, you can continue to store maps. But this is activated with the Mares software not directly like for a USB key. Maybe a bad news for Macdive. On my Macbook, when I plug the Icon HD, there is no drive for it.
Thanks for the link for the use of the Mac version. Here is a dump with this version.
http://yr1.free.fr/mares/ICONHD%20-%207 ... %20mac.DMP
http://yr1.free.fr/mares/ICONHD%20-%207 ... %20mac.LOG
Yvan
Complement concerning maps and pictures:
When I plug the Icon HD there is no drive on Windows or Mac. But when I open the Mares software and go to the menu "Upload Images" or "Upload Maps" it activates the drive and I can see it on Windows. When I close the Mares software, this drive disappears. The size of this drive is 4.35Mb. Then inside, there are two folders, one "Maps" and one "Photos". And on each folders there are .PAC files, not JPG or GIF...... All with the same size, 126Ko for maps and 134Ko for pictures.
Re: Mares Icon HD
Posted: Wed Jul 14, 2010 4:38 am
by TnT
The usb drive is probably activated by the mares software. We might be able to figure that out too, but I think getting the dives off the device is much more important
Anyway, the good news is that the test app also works on the Mac OS X, even if there is a small difference in baudrate (256000 vs 230400). I wasn't sure if that was going to work, but it seems it does.
Re: Mares Icon HD
Posted: Tue Jul 27, 2010 9:48 am
by Jimb
Thanks muchly for the upgrade.
I've been trying to get the Mares ICONHD to talk to 2.01. I downloaded the driver listed; /dev/tty.usbmodem01234561 and it shows up on the Serial port on Advanced Preferences;
When I plug the ICONHD into the USB it immediately goes into USB mode. However, when I try to import dives, I get the following:
Nemo: No error message: IT shows it's downloading but it remains at 0.00% complete. At least for the 5 minutes I waited.
Nemo Wide : Import Error; failed to connect...
Excel/Nemo Air/Puck/Puck AIr: Import Error; failed to connect...
Any suggestions?
Thanks in advance