SX170 porting - page 18 - DryOS Development - CHDK Forum  

SX170 porting

  • 266 Replies
  • 97771 Views
Re: SX170 porting
« Reply #170 on: 19 / November / 2014, 12:32:14 »
Advertisements
oh no :(
why you don't try that  srsa_4c post =?
Quote
How do you open those raw files? DNG4PS-2?

Try inserting
Code: [Select]

_SleepTask(2000);

before
Code: [Select]

    raw_save_stage = RAWDATA_AVAILABLE;

in platform/generic/capt_seq.c
If you still get undamaged RAW files with this additional 2 second delay, then the problem is not the placement of the raw hooks.

Re: SX170 porting
« Reply #171 on: 15 / December / 2014, 12:04:56 »
someone, can finish this porting ?  :(
« Last Edit: 15 / December / 2014, 12:06:42 by Santana21 »

Re: SX170 porting
« Reply #172 on: 15 / December / 2014, 14:20:09 »
sorry, for my part was several days, I made some efforts to solve the problem but I could not solve.  ;)

Re: SX170 porting
« Reply #173 on: 21 / December / 2014, 13:20:45 »
ok, this is unlucky porting .. no one can do it :(
I hope some experts help us to make it :(


*

Offline reyalp

  • ******
  • 14120
Re: SX170 porting
« Reply #174 on: 26 / December / 2014, 15:50:10 »
Here's a build from the current 1.3 branch of 101a, as requested by DoctorInsane in http://chdk.setepontos.com/index.php?topic=12116.0

This does not contain any code updates, it's just a binary of what is in svn. I'm not really sure what the current status of this port is.
Don't forget what the H stands for.

*

Offline TMHKR

  • **
  • 77
  • Canon PowerShot SX170 IS (1.01a firmware)
Re: SX170 porting
« Reply #175 on: 02 / January / 2015, 18:41:10 »
Here's a build from the current 1.3 branch of 101a, as requested by DoctorInsane in http://chdk.setepontos.com/index.php?topic=12116.0

This does not contain any code updates, it's just a binary of what is in svn. I'm not really sure what the current status of this port is.

I've downloaded the port. I've tested several things so far:

- long shutter speeds work (tested 20, 30, 60 seconds)
- all temperatures are shown (can't tell if they're accurate)
- RAW doesn't work (didn't actually test it, it's a known issue)
- HDR.bas script takes the first image, then camera freezes (didn't tested other scripts)
- a minor color corruption of the original Canon menu tabs (same goes for CHDK splash screen)
- minor features work (file browser, calendar, etc.)

*

Offline nafraf

  • *****
  • 1308
Re: SX170 porting
« Reply #176 on: 04 / January / 2015, 13:18:47 »
If you still get undamaged RAW files with this additional 2 second delay, then the problem is not the placement of the raw hooks.
I tested the suggested change, fw 100a. JPEG are fine, but RAW are damaged.

*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #177 on: 04 / January / 2015, 16:03:09 »
I tested the suggested change, fw 100a. JPEG are fine, but RAW are damaged.
Can you check whether you ever get damaged RAW (not DNG) files with that additional delay? DNG4PS-2 can be "trained" to successfully convert those.
This issue is very annoying and I suspect that we may see it in newer cams too.
Some conditions that could have an influence (some of these may have already been tested):
- i-Contrast or anything equivalent
- (long) exposure with/without darkframe
- shooting mode (I think this was tested and found to be unrelated)

Is AUTO (or any of those problematic modes) mode raw differently damaged?

Perhaps the raw hook could be moved backwards, even if the equivalent of the current location is working for other recent cams...
If everything fails, we may need to hook a different task for RAW (such as DvlpSeqTask)...

edit:
I'll prepare something for tracing things in capt_seq and dvlpseq...
« Last Edit: 05 / January / 2015, 12:07:08 by srsa_4c »


*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #178 on: 06 / January / 2015, 10:46:02 »
Attached is a debug patch for the 100a firmware. It logs some information to the camera log.
Usage:
- make a shooting plan: use various shooting modes in single drive (~10 should be enough, video modes are not needed), the last shot should be done in P mode continuous drive for 2-3 pictures
- disable raw in CHDK settings
- run the attached biglog.lua script
- shoot according to the shooting plan, 1 shot per mode (except for the last test in continuous mode), let the camera focus before taking the picture
- as the log buffer can overflow, run the script once after every 2-3 shots
- the log will be in a file named sx170dbg.txt in the card root
- upload the log and the shooting plan here

The patch is obviously untested, it's possible that I made some mistakes.

*

Offline nafraf

  • *****
  • 1308
Re: SX170 porting
« Reply #179 on: 07 / January / 2015, 23:04:10 »
thanks. This was the shooting plan:

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


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal