Suunto download missing alerts?

Jef Driesen jef at
Thu Sep 22 01:52:19 PDT 2016

On 2016-09-21 19:36, Miika Turkia wrote:
> I got
> a memory dump of for the issue, but cannot get the simulator working
> with Subsurface. Was there some trick required or should it work at
> all? I do get dctool to start parsing the data, but it fails with
> following:
> ERROR: Error parsing the dive mode. [in output_xml.c:358
> (dctool_xml_output_write)]
> ERROR: Error parsing the dive data. [in dctool_download.c:99 (dive_cb)]
> ...
> ERROR: Invalid ringbuffer pointer detected (0xe8f5 0x05be). [in
> suunto_common2.c:400 (suunto_common2_device_foreach)]
> ERROR: Error downloading the dives. [in dctool_download.c:218 
> (download)]
> ERROR: Data format error
> So right now I am not able to test your patch nor do any other
> debugging. But then again when looking at the event list, it might be
> that we just don't have the appropriate sample event there...

I guess you are missing the *.bin.header for the memory dump file.

For the d9 and vyper2 backends it contains the 4 byte version packet 
with the model number. That's used by libdivecomputer to select the 
correct memory layout. If it's missing, the simulator will fall back to 
using some default value. But if that guess is wrong, you'll get 
unexpected results when trying to download from the simulator.


More information about the subsurface mailing list