PowerShot SX210 IS - Porting Thread - page 56 - General Discussion and Assistance - CHDK Forum

PowerShot SX210 IS - Porting Thread

  • 589 Replies
  • 315824 Views
Re: PowerShot SX210 IS - Porting Thread
« Reply #550 on: 23 / January / 2013, 10:30:32 »
Advertisements
Hello together,

I'm new in this forum and with the topic CHDK as well. I own a SX 210 IS Canon and sadly I can't find a CHDK version for my PoweShot.

Is anybody able to help me to get the correct CHDK or the information where I can get it...

I've searched in the German forum, here and in a Russian CHDK forum for the correct verion for my cam, but I wasn't successfully...

Thank you for the help! :)

Re: PowerShot SX210 IS - Porting Thread
« Reply #551 on: 17 / February / 2013, 05:29:54 »
hi there,

first of all :" chdk is really great help/ tool"
I use it mostly, because in 2004 i bought an IXUS500, and here was ( superfine mode ) &  ISO50 option.

2 years ago i bought an SX210is. So i installed chdk , and activate the "superfine mode" and ISO50, great.
If i make photo´s without flash ( ISO 50 and smaller ) - works correctly. If flash is activated , so it crash´s.

My question:" is there any possibility that the sx210is (100c) don`t crash with chdk if i set the ISO mode (smaller 80) + activated flash" ?

the reason that i ask:
I bought an Powershot S100 last month, and here work chdk the ISO feature to set it for example:"10" + activated flash ) correctly.
Of course, it is an other cam, but maybe is somewhere an option that i can use it on my sx210is too ( ISO smaller 80 + flash )

Thanks

Re: PowerShot SX210 IS - Porting Thread
« Reply #552 on: 14 / March / 2013, 18:50:12 »
nobody work anymore on the sx210is chdk ?  to fix that (flash + lower is problem)

thanks

*

Offline srsa_4c

  • ******
  • 4451
Re: PowerShot SX210 IS - Porting Thread
« Reply #553 on: 15 / March / 2013, 10:11:20 »
My question:" is there any possibility that the sx210is (100c) don`t crash with chdk if i set the ISO mode (smaller 80) + activated flash" ?
Is this CHDK ISO override?
Does this mean that the camera doesn't crash with enabled flash if the ISO override is set to 80 or greater?

Other than that, you could help us to enable autobuild for this camera.
For that to happen, we need to know whether the camera is stable when using various CHDK features (photo overrides, video overrides, histogram, zebra, edge overlay, RAW, DNG), and test scripts found here: http://chdk.wikia.com/wiki/Testing


Re: PowerShot SX210 IS - Porting Thread
« Reply #554 on: 15 / March / 2013, 18:34:51 »
hi, thanks for the answer

yes, it runs stable if i set 80 oder greater, thats right. the reason that i started to use chdk was some different things. once option is the "iso 50" ( and maybe smaller );  superfine mode (this things what i known from the good old IXUS500 time)
Of course i tried most of the other features ( example RAW, but this was not so the result what i would have.
something was wrong with that pictures. i tried too, to convert the *.dng for using on ps5.5 or ps6
definitely is it not a high end compact camera, but i have maked some really nice "macro photos" and phots on daylight.
of course i want to help to make the chdk version for the sx210is more stable.

the reason that i asked was(because on s100 it runs) is to set smaller than ISO80 (example: ISO50 + flash)
but the result is a very very short flash and the camera goes down.

*

Offline srsa_4c

  • ******
  • 4451
Re: PowerShot SX210 IS - Porting Thread
« Reply #555 on: 17 / March / 2013, 20:07:56 »
yes, it runs stable if i set 80 oder greater, thats right.
The reason I was asking this is that there's an option in CHDK to restrict ISO override values to a safe range. It won't enable lower ISO, but it will prevent that crash. Note that you can't expect super-low ISOs anyway due to hardware restrictions.
Quote
Of course i tried most of the other features ( example RAW, but this was not so the result what i would have.
something was wrong with that pictures. i tried too, to convert the *.dng for using on ps5.5 or ps6
Are you saying that DNG (or RAW) is unusable? If so, what is the problem with it? Like:
- there's no picture, just noise (-> this can happen when the camera is in AUTO mode)
- the picture has wrong colors (-> if this is true, upload a JPEG + RAW (not DNG) file pair somewhere)
- if you only mean that you are unable to make better pictures from the RAW/DNG than the camera's JPEG, that's normal

Re: PowerShot SX210 IS - Porting Thread
« Reply #556 on: 19 / March / 2013, 05:50:34 »
Since it's always 240/0 on every setting i found i hardcoded this. I'm not seeing any issue.
sx210is.diff is the diff for everything, the .zip contains the binaries as well as this diff file.

 chdk_sx210is_against_rev2339-new.zip (862.45 kB - downloaded 121 times.)

It does not load the file without PS.FI2 !

Re: PowerShot SX210 IS - Porting Thread
« Reply #557 on: 21 / March / 2013, 19:44:56 »
I'm sorry I didn't mean to abandon the discussion I must not be subscribed. I appreciate the response.

In reference to old post below, I tried all the instructions I could find including those you mentioned and I am well aware of the dual partition requirement. I really did waste hours on it trying all angles but I just couldn't get it to work. Hard to remember 4 months later but I think it was that I was unable to swap partitions with any utilities. The solution would have been to get a different card but that wasn't an option at the time. Partition swapping is a complete pain for me anyway not something I would use long term, just for testing firmware.

I'm not sure what you mean by 'encryption issues'? Copyrights on encryption methods? I would happily build it myself. I'll look around for information on the toolchain and see if I can piece it together.

It's not clear why we can't have this as part of the regular builds. Who cares if it is not 100%? Is it because there would be frequent changes to the main code? I think that if it was easier to obtain we would have more users here contributing. Right now you have to hunt through a 38 page thread. I bet that stops many people.

This is the first I'd head of test scripts. I saw a link in another post:

http://chdk.wikia.com/wiki/Testing

I'll try these out if I ever manage to build a binary from the latest code.

Is this considered the latest code (in reply #549)? chdk_sx210is_against_rev2339-new.zip


I couldn't use the latest version posted here because I can't get autobooting to work with my 32g card.
 I wasted many hours trying all sorts of partition schemes and formats.
Did you follow the instructions posted here : http://chdk.wikia.com/wiki/Prepare_your_SD_card

The sx210 was released in 2010 so needs to use a dual partition setup if you want to autoboot with a card larger than 4G.

Quote
I don't know anything about the toolchain but I have to wonder why there's no firmware file for the latest build.
Typically,  people doing test versions don't build "firmware update" compatible files if they are worried about respecting encryption issues in their local countries.

Quote
Would be nice to see 210's included with the regular builds.
That typically means somebody needs to complete all debugging and testing the port and report the results back here as all working.
--
Sean


Re: PowerShot SX210 IS - Porting Thread
« Reply #558 on: 21 / March / 2013, 19:58:28 »
Hard to remember 4 months later but I think it was that I was unable to swap partitions with any utilities.
sdminste.exe will do it for you

Quote
Partition swapping is a complete pain for me anyway ....
Agreed - but its the only way to autoboot larger cards on older cameras.  Take it or leave it - its up to you.

Quote
I'm not sure what you mean by 'encryption issues'?
Google the letters DMCA for example ...

Quote
It's not clear why we can't have this as part of the regular builds. Who cares if it is not 100%? Is it because there would be frequent changes to the main code? I think that if it was easier to obtain we would have more users here contributing. Right now you have to hunt through a 38 page thread. I bet that stops many people.
At this point,  stopping people who are not prepared to do a little work is a good thing.  Early ports tend to crash and do strange things.  People willing to put in some extra effort tend to also help with tracking and fixing bugs.  The rest of the people who only want a completed product will just have to wait for it.

Quote
Is this considered the latest code (in reply #549)? chdk_sx210is_against_rev2339-new.zip
Current svn rev is 2643.   I can build you a version from today's code if you like.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: PowerShot SX210 IS - Porting Thread
« Reply #559 on: 21 / March / 2013, 22:30:06 »
Thanks for the offer but I managed to compile it. So the encryption you mentioned refers to the keys used to encode the firmware, like the old dvd css key nonsense.

For anyone else who wants to compile CHDK for this camera here's a quick rundown:

Get CHDK-Shell. It has a simple gui and includes the entire tool chain to compile CHDK.

http://chdk.wikia.com/wiki/CHDK-Shell

Get the 'full' version and extract it. Then get the 'update' version and extract it on top.
Then dig up v343a attached to a forum post and replace the main exe. This last patch fixes the ability for the program to download the latest trunk source code.

So then start the CHDK-Shell, click the checkmark "allow internet" and it will download the latest trunk from svn. It will appear to hang but just wait it out. When that's done checkmark the SX210IS 100C build.

It's ready to compile.

If you want to build a version you can run with the firmware update method you have to obtain the encoding keys specific to your camera model and add them to a build file.

Hit the 'Compile Options' button and select 'OPT_FI2'

\trunk\trunk2642\platform\fi2.inc.txt
You have to copy this sample file and rename it to fi2.inc
Open it in a text editor it should be fairly obvious where the keys go.

(Of course later on, trunk2642 will be some other version number so don't use my paths literally.)


The keys are not readily available and you have to go on a hunt.

Find the 8k firmware dump for the SX210IS 1.00C:
http://chdk.setepontos.com/index.php?topic=5045.msg81866#msg81866

Identify the offsets for the bytes you need based on camera model:
http://chdk.wikia.com/wiki/For_Developers/fi2offsets

Open the firmware bin file in any standard hex editor. Go to the offsets indicated and copy the 16 bytes in hex format into the fi2.inc file. I used lowercase, probably makes no difference. Remember to save the file.

Now just hit the compile button in CHDK-Shell

When the "100C" beside the SX210 checkmark turns green the compile is done.

Otherwise if the compile fails you will probably get a text document opening on your screen with error messages.

The CHDK files you need to extract to the root of your sd card are all packed nicely into a zip file:

\trunk\trunk2642\bin\sx210is-100c-1.2.0-r2642-full.zip

That's it. I hope that will save the next guy some time.

Now that I can run the latest chdk versions I hope to test out more features and feed that info back so we can get this build mainstream.
« Last Edit: 21 / March / 2013, 22:34:02 by Seanster »
--
Sean

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal