SX170 porting - page 19 - DryOS Development - CHDK Forum

SX170 porting

  • 266 Replies
  • 100586 Views
*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #180 on: 08 / January / 2015, 11:06:58 »
Advertisements
Single mode, L size, superfine:
- P, Live, Auto,  script
- Portrait, Snow, Low light, script
- Supervivid, Monochrome, Fish-eye, script

Continuous mode, L size, superfine
- P mode (3 shots ) , script
Thanks for that. It turns out, 32kB is not enough to hold all the log generated by 2-3 shots (see the "datalost" messages), and I don't see the log start either (script was started late). Fortunately, the remaining log shows enough information about what happens in those tasks.
I'll post a patch that moves the raw hook to DvlpSeqTask. Doing this may result in unexpected behaviour though (since saving raw won't block capt_seq_task anymore).

edit:
patch attached (100a only and not code_gen'd)
« Last Edit: 08 / January / 2015, 19:06:59 by srsa_4c »

*

Offline nafraf

  • *****
  • 1308
Re: SX170 porting
« Reply #181 on: 08 / January / 2015, 23:28:55 »
Thanks.
Tested 10 shoots, P Mode, L Size, superfine.  DNG (1.3) and JPG.
Files are fine, but file numbering is weird, DNG number is one behind JPG number, e.g. 126_0109/IMG_0002.JPG corresponds to 126_0109/CRW_0001.DNG.

One of the DNG files was saved to another dir: dcim/125_0218/CRW_0316.DNG is the corresponding DNG file of dcim/126_0109/IMG_0001.JPG

*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #182 on: 09 / January / 2015, 10:49:30 »
Files are fine, but file numbering is weird
I should have remembered... File numbering is done in the same task (or at least it is initiated there).
Can you move
Code: [Select]
BL capt_seq_hook_raw_hereright below
Code: [Select]
BL sub_FFADB068or, if that still isn't enough then between
Code: [Select]
BL sub_FFADA750and
Code: [Select]
loc_FF9958FC:?

*

Offline nafraf

  • *****
  • 1308
Re: SX170 porting
« Reply #183 on: 09 / January / 2015, 22:09:14 »
right below
Code: [Select]
BL sub_FFADB068
it was enough. 10 shots, P mode, dng and jpg files are fine, file numbering without problems. Thanks

*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #184 on: 10 / January / 2015, 08:39:01 »
10 shots, P mode, dng and jpg files are fine, file numbering without problems.
:)
Now, please do some testing when your time allows. Since no other port has the raw hook in a different task, unexpected problems might arise.
- remote capture with/without jpeg, continuous mode too
- regular shooting: various shooting modes, various JPEG sizes (L, M, S), continuous mode
- does AUTO mode RAW work with this setup?

Re: SX170 porting
« Reply #185 on: 10 / January / 2015, 09:55:48 »
could raise the port to test it. thank you very much.

*

Offline TMHKR

  • **
  • 77
  • Canon PowerShot SX170 IS (1.01a firmware)
Re: SX170 porting
« Reply #186 on: 11 / January / 2015, 17:34:14 »
Now, this is strange... I tried the HDR.BAS and HDR.LUA again. I made absolutely sure RAW was turned off. Result? Corrupted DNG files (along with their corrupted JPEGs) appeared on the card, consisting of only ONE exposure (the script was set to create four).

Procedure:
1. Loaded HDR.BAS (or HDR.LUA)
2. Made sure RAW is turned off
3. Made sure there were no overrides
4. Started script
5. Script runs, waiting few seconds
6. Corrupted file displayed, just like when using RAW. Corrupted DNG+JPEG with same number saved.

I also tried shooting a simple 60-second exposure (Tv override). Result? Corrupted file. 30 seconds work fine. It seems that RAW option somehow turns itself on. I don't know, maybe it's just me... I'll wait for the proper release.

Also, bracketing via custom timer doesn't work - all the files are of the same exposure. Bracketing via continuous mode works fine.

Procedure:
1. Set bracket via Tv (1 1/3 Ev, +/- mode)
2. Set custom timer to 2 seconds, 3 images
3. Shoot
4. Three -equally- exposed images saved.

(Note: This is the build from http://chdk.setepontos.com/index.php?topic=11164.msg119369#msg119369)

*

Offline nafraf

  • *****
  • 1308
Re: SX170 porting
« Reply #187 on: 13 / January / 2015, 22:55:47 »
- remote capture with/without jpeg, continuous mode too
Remote capture works, P, single mode: rs -jpg and rs -dng, 3 captures of each type, without problems.
Tested in continuous mode too: rs -jpg -cont=3 and rs -dng -cont=3, without problems.
Quote
- regular shooting: various shooting modes, various JPEG sizes (L, M, S), continuous mode
Tested L and S, DNG enabled, P mode single shot, P mode 3 shots continuos with DNG enabled, without problems.

Portrait mode, Low light mode, fisheye mode tested. jpg and dng files without problems.

Quote
- does AUTO mode RAW work with this setup?
Yes, it works :)

*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #188 on: 14 / January / 2015, 17:23:02 »
- remote capture with/without jpeg, continuous mode too
Remote capture works, P, single mode: rs -jpg and rs -dng, 3 captures of each type, without problems.
Tested in continuous mode too: rs -jpg -cont=3 and rs -dng -cont=3, without problems.
Quote
- regular shooting: various shooting modes, various JPEG sizes (L, M, S), continuous mode
Tested L and S, DNG enabled, P mode single shot, P mode 3 shots continuos with DNG enabled, without problems.

Portrait mode, Low light mode, fisheye mode tested. jpg and dng files without problems.

Quote
- does AUTO mode RAW work with this setup?
Yes, it works :)
Almost too good to be true :)
If the port is functional then IMHO you can release it as alpha.

BTW, off topic: If koshy tested the a2100 port successfully then maybe it should be released too.

*

Offline nafraf

  • *****
  • 1308
Re: SX170 porting
« Reply #189 on: 14 / January / 2015, 21:23:56 »
I'll translate the patch to code_gen before releasing sx170is :)
a2100 released on changeset 3917.
Thanks

 

Related Topics


SimplePortal © 2008-2014, SimplePortal