Page 1 of 1

Vorschlag firmware update

Posted: 16 Feb 2011, 21:11
by Boehmy
Hallo Mathias,

nun habe ich den ersten Tauchgang mit Version 1.80 gemacht, und bin wirklich begeistert. Für die kommende Firmware hätte ich einen Vorschlag zum Logbuch. Wäre es möglich ähnlich des shaerwater predator eine Grafik der Dekozeit im Tauchprofil anzeigen zu lassen?

Beste Grüße
Andi

Re: Vorschlag firmware update

Posted: 17 Feb 2011, 07:29
by Longli
Moin, schau dir mal das Profil in Diving Log an. da hast du was du suchst.

Re: Vorschlag firmware update

Posted: 17 Feb 2011, 10:19
by Ferdy
Er meint sicher die Anzeige im Display des Rechners, nicht im PC-Logbuch.

Re: Vorschlag firmware update

Posted: 17 Feb 2011, 11:58
by heinrichsweikamp
Hallo,

Vielleicht eine doofe Frage, aber wie sieht das denn beim Predator aus?

Das Logbuch und die Detailansicht wird noch etwas "angehübscht", wie genau wissen wir aber noch nicht. Daher sind konkrete Ideen immer willkommen.

Gruss,
Matthias

Re: Vorschlag firmware update

Posted: 17 Feb 2011, 18:43
by Chilihead
@ Matthias:

auf Seite 36 im Shearwater Predator Handbuch

Re: Vorschlag firmware update

Posted: 17 Feb 2011, 19:27
by Boehmy
Jup ich meinte natürlich direkt im logbuch des ostc.
Ich mach mal ein pic und stelle es hier rein.

Beste Grüsse
Andi

Re: Vorschlag firmware update

Posted: 21 Feb 2011, 20:38
by Boehmy
anbei ein grösseres Bild von meiner Idee.

Re: Vorschlag firmware update

Posted: 03 Aug 2011, 08:28
by heinrichsweikamp
Hi,

JeanDo just posted a patch showing temperature graph and deco ceiling in the logbook:

[img]http://www.heinrichsweikamp.com/file.ph ... e=OSTC.png[/img]

Cheers,
Matthias

Re: Vorschlag firmware update

Posted: 03 Aug 2011, 19:48
by rvs
Hi!

Yes very useful patch. Will this be integrated to v2.00stable?

Re: Vorschlag firmware update

Posted: 03 Aug 2011, 21:54
by Solodiver
Cool Matthias and JeanDo - I would love to see this enhanced profile display. Also displaying the deco lines in red when the deco ceiling is broken is a good idea!

Thx,
Jan

Re: Vorschlag firmware update

Posted: 03 Aug 2011, 22:05
by Chilihead
looks great

@rvs: yes... :)

Re: Vorschlag firmware update

Posted: 07 Aug 2011, 18:05
by cparsons
Thought I would try compiling the latest repository and uploading it?

Got everything to compile and link ok but when I try to upload the generated hex file I get a message 'Overwriting bootloader denied'

Connected to \\.\COM3 at 19200
HEX: 37 min old, INHX32,18Fcode+cfg, total=80042 bytes.
Searching for PIC ...
Found:18F 4685
Overwriting bootloader denied
ERROR!

Any ideas anyone?

Re: Vorschlag firmware update

Posted: 07 Aug 2011, 19:57
by heinrichsweikamp
Hi,

There seems to be code in memory address >0x17F00 in your hex file.

This is what I get (And it installs fine).

Regards,
Matthias

Re: Vorschlag firmware update

Posted: 07 Aug 2011, 20:22
by cparsons
Thank you - all I did was clone the repository at bitbucket and amend the paths in the IDE so it would compile and link?

I used TortoiseHG but perhaps I need to do a bit more research, I normally use SVN for source control and Tortoise is new to me

Not sure why the image would use an invalid memory address, I didn't actually change any of the code (very new to PIC programming, I am a Java programmer)

Regards

Re: Vorschlag firmware update

Posted: 07 Aug 2011, 23:17
by Solodiver
Ah, I love the new log book graph display, thx!

Some remarks (to 1.96 alpha attached by Matthias):
- the depth shown in the log book is about 2% higher (deeper) than in the dive
- the temperature graph is wrong for the first couple of minutes, it goes down to zero and then suddenly up again, looks like a long spike (for about 2 minutes)
- crazy thing: Now the temperature graph looks better in the beginning, there is now just a small spike down and an other red line which looks like a broken deco ceiling (which should not be there at the beginning of the dive)
- How to read the temperature concerning the scale? I don't get any clue seeing the graph and knowing my real values from today

Re: Vorschlag firmware update

Posted: 09 Aug 2011, 17:04
by Solodiver
After playing around some more with the ne graphical log book two more remarks:

- The huge temp spike in the beginning of the dive is there again when I open the dive log again for the first time but is vanished the next accesses (as described above)
- Please have a look that the depth and deco graphs are shown correctly. I've the feeling that the max values are some meters to shallow. My max deco ceiling in my last dive has been 51m but the deco lines are not crossing the 50m line of the grid (but coming very close). Could be a display issue only but there is bigger visible gap at the max depth which seems about 5m to less (shallower) regarding the displayed max depth above the graph. As said, this depth might also be wrong as it seems about 2% more than shown in the dive but anyway, also this value is not reached in the graph. BTW: The grid seems to be calculated correctly.
OK, as this might be hard to understand here some real values:
- max depth written above the graph: 103,4
- max depth seen in the dive: around 101,x
- max depth shown in the graph around 98m
- max grid display about 102 or 103m

HTH,
Jan

Re: Vorschlag firmware update

Posted: 11 Aug 2011, 04:16
by JeanDo
@Jan

Yes, I noticed the first point in the temperature graph is random. Just because the first sample of the logbook never stores temperature (divisor stuff). I'll patch to start the tp° curve once we have the first valid value.

Ceiling is initialized to 0, which is always correct and dive start.

Temperature scale is currently fixed to -2°C .. +35°C. Not sure yet how to display the scale (on right border).

Also note that the depth graph skip most of the point (subsampling because the screen is too small). So there is little chance it shows your max depth.

Regards,

Re: Vorschlag firmware update

Posted: 13 Aug 2011, 11:50
by cparsons
I am still failing to generate a firmware image that will load?

I have gone to BitBucket, used the 'Get Source' link, unzipped, adjusted the paths and successfully compiled and linked, but the image still give a message 'Overwriting bootloader denied' :(

I just cannot see what the problem can be, I originally cloned the repository but cannot see if I get the source direct how I can be addressing invalid memory, surely I am compiling the same source as you?

Are there any special settings or parameters in MPLAB? (I am using 8.73a)

I have attached the image I ended up with?

Thanks

Re: Vorschlag firmware update

Posted: 14 Aug 2011, 19:21
by heinrichsweikamp
Hello Chris,

- 18f4685_ostc_mkII.lkr linker script added?
- p2_deco.o object file added?

I use MPLAB 8.66 - unlikely but this may also have an effect. I just added the p18F4685.lib we use into the repository (Project->Directories->Library Search Path). Maybe this works for you.

Cheers,
Matthias

Re: Vorschlag firmware update

Posted: 14 Aug 2011, 20:33
by cparsons
Thank you - I changed the linker script and added the p18F4685.lib file and it is now working :))

I appreciate the help, and all the hard work you put in to a superb product, 10/10

Best wishes