supplierdeeply

G16 Porting Thread - Test Versions Available

  • 215 Replies
  • 55454 Views
Re: G16 Porting Thread
« Reply #20 on: 26 / April / 2017, 08:04:21 »
Advertisements
Will you plane to share the source code?
Yes - as soon as I get some of the remaining "big issues" resolved I'll post a patch to go into the CHDK svn.  Most likely it will only have the 1.01c version complete - I've done the various stub files for the 1.00h and 1.01a versions but not the four C task files yet.

Quote
I'd like to experiment with my G16.
By "experiment" I assume you're still working on/for/with akond ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline alvm

  • ***
  • 123
Re: G16 Porting Thread
« Reply #21 on: 26 / April / 2017, 08:44:25 »
By "experiment" I assume you're still working on/for/with akond ?

Yes, but akond as I know doesn't plan support G16. Perhaps, other cams on Digic6 in future.

Re: G16 Porting Thread
« Reply #22 on: 26 / April / 2017, 14:32:26 »
Looking at g16 101c fw dump, I'd guess you have a raw buffer at

0x43bdce00  (and possibly 433cf100)

I'd confirm this by

con 1> !t={} con:execwait([[mem_search_word{start=0xfc020000, last=0xfe000000, val=0x43bdce00}]],{libs='mem_search_word',msgs=chdku.msg_unbatcher(t)})

con 2> !for i,v in ipairs(t) do printf("0x%08x\n",bit32.band(v,0xFFFFFFFF)) end

Which should give you a list of addresses to look at with rmem to see other raw buffers and the structure.

Good luck!

Re: G16 Porting Thread
« Reply #23 on: 26 / April / 2017, 14:50:09 »
Looking at g16 101c fw dump, I'd guess you have a raw buffer at 0x43bdce00  (and possibly 433cf100)
Yea, I figured that out right away.  But as I posted in reyalp's recent thread, the offsets into the struct that the G16 uses for multiple buffers are very different from the ones used by the sx280, sx60, and g7x. 

Meanwhile, the G16 code is using two buffers alternately like most of the more recent pre-D6 cams, which I can see by tracking the buffer index.

FWIW, I'm on a path where I think my raw hook is in the wrong place timing wise.  Just need a couple of quiet hours to work through it.
Ported :   A1200    SD940   G10    Powershot N    G16


Re: G16 Porting Thread - second alpha release
« Reply #24 on: 30 / April / 2017, 13:47:38 »
Lots of little fixes and clean-ups  RAW/DNG now works in AUTO/P/Tv/Av/M mode. CHDKPTP live view works as well.

link > g16-101c-1.5.0-4803-full.zip

Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread
« Reply #25 on: 22 / May / 2017, 06:11:59 »
@waterwingz I am so glad that you've made it :) I own a v1.01b which is not on the list of firmwares that you would like to support. Please let me know in case you would like to beta-test something on my camera. Thank you so much, even though my camera is not supported. You make life easier for so many other guys/gals :)

Re: G16 Porting Thread
« Reply #26 on: 22 / May / 2017, 08:00:41 »
@waterwingz I am so glad that you've made it :)
Progress has been slow (lack of free time) now that the 1.01c is essentially complete.  I have a detailed list of items that still need to be completed for the 1.01c and for the other ports. I'll get it done eventually.

Quote
I own a v1.01b which is not on the list of firmwares that you would like to support. Please let me know in case you would like to beta-test something on my camera.
If you can obtain a firmware dump from your camera, that would help to eventually get a port for it.

link > Obtaining a firmware dump

Use the Canon BASIC Script Dumper
Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread
« Reply #27 on: 16 / June / 2017, 14:17:09 »
I tried the version 1.5.0-4803 from post #24 but get a "Test version expired". Changing the date one month back let me test some functions which seem to work. Is there any further version which does not need the date change for longer testing?


Re: G16 Porting Thread
« Reply #28 on: 16 / June / 2017, 14:46:27 »
I tried the version 1.5.0-4803 from post #24 but get a "Test version expired". Changing the date one month back let me test some functions which seem to work. Is there any further version which does not need the date change for longer testing?
The date message is just there to remind people to not keep using a test version.  You can still use that version though by just ignoring the message. There is no need to change the date on your camera.

With a little luck I should be posting an updated release this weekend. It should be as complete as possible for a Digic6 port at this time.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread
« Reply #29 on: 17 / June / 2017, 13:06:19 »
All done.  I've come to the end of my "to do" list for this port (at least for 1.01c firmware). All the standard CHDK features are implemented and working AFAIK.

download link > g16-101c-1.5.0-4830-full.zip

While it's "complete", there are the usual caveats about this being a Digic6 port. That primarily means no video mods, no "firmware update" booting mode, and the LCD gets really busy (flashing) when you use CHDK in shooting mode.

I've left the test version timer enable @ 60 days for now.  If I get some testing feedback I'll remove that.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics