A2200 IS porting thread - page 50 - DryOS Development - CHDK Forum

A2200 IS porting thread

  • 515 Replies
  • 142396 Views
*

Offline poussin

  • *
  • 36
  • A2200
Re: A2200 IS porting thread
« Reply #490 on: 22 / November / 2014, 16:02:26 »
Advertisements
My two cents ,


As far I remember from my past experience :

the  A2200 1.00d was working fine
USING CHDKPTP ON A WINDOWS 7 64BIT PROCESSOR  AMD AMC-C60  AND  2GB MEMORY

Re: A2200 IS porting thread
« Reply #491 on: 05 / February / 2015, 15:26:29 »
I finally got back to looking into this. This is all on A2200 v1.00d, CHDK 1.4.0-3878.

Quote
- Try dumping (or observing) that memory area
 - in playback and rec mode without using PTP
 - in playback mode before connecting PTP
 - in playback mode after connecting PTP
 - after issuing "rec" in chdkptp
 - ...
... and see when (and how) does that piece of memory change

Without the computer connected and using the memory browser, I see that when the camera is in shooting mode, the DWORD at 0x2D2C is 0x00000014 or 20 dec, which is the tested value. When it is in playback mode, the DWORD at 0x2D2C is 0x0000000C or 12 dec. This is consistently true whether I power up in rec mode using the power button on top of the camera or whether I use the "Play" button to power up in playback mode.

When I plug in the camera to the computer, the screen goes off and the lens retracts (presumably going into 'play' mode or some kind of mass storage mode) and I can no longer use the memory browser. This remains the case after I connect through chdkptp.

When I then send 'rec' over ptp, the display comes on so I can again use the browser, and this shows that 0x2D2C is 0x0000000C (the 'wrong' value). send play, 0x2D2C is still 0x0000000C. send 'rec', and the value goes back to 0x00000020, which I guess is why the rec-play-rec workaround works.

I'm still at a loss to explain why that first transition from "just plugged in to the computer" to rec doesn't set the value in that memory location to the "rec" value. I also checked with jbaiter and he can run the same steps on his A2200 with no problems.

I'm continuing to poke around the memory dump with radare2 but if anyone has any insight or other experiments to try please let me know.

Cheers
Gareth

*

Offline srsa_4c

  • ******
  • 4430
Re: A2200 IS porting thread
« Reply #492 on: 05 / February / 2015, 18:40:34 »
When I plug in the camera to the computer, the screen goes off and the lens retracts (presumably going into 'play' mode or some kind of mass storage mode) and I can no longer use the memory browser. This remains the case after I connect through chdkptp.
This could be the key. What operating system are you using on that computer?

Something on the computer 'talks' to the camera and sets it to a different internal state. This is known to cause problems. Try to disable the software component that causes it.

Re: A2200 IS porting thread
« Reply #493 on: 06 / February / 2015, 03:34:23 »
When I plug in the camera to the computer, the screen goes off and the lens retracts (presumably going into 'play' mode or some kind of mass storage mode) and I can no longer use the memory browser. This remains the case after I connect through chdkptp.
This could be the key. What operating system are you using on that computer?

For this debug effort the host machine is Xubuntu, fairly recent; and I originally saw this crash on Raspbian.

Quote
Something on the computer 'talks' to the camera and sets it to a different internal state. This is known to cause problems. Try to disable the software component that causes it.

I'll poke around the USB/udev stack to see what's getting launched. Do you have a reference for the known issues you describe?

Cheers
Gareth


Re: A2200 IS porting thread
« Reply #494 on: 06 / February / 2015, 09:17:00 »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 13502
Re: A2200 IS porting thread
« Reply #495 on: 06 / February / 2015, 15:45:24 »
Also see http://chdk.setepontos.com/index.php?topic=10664.msg115401#msg115401 for more discussion of the udev rules.
Don't forget what the H stands for.

Re: A2200 IS porting thread
« Reply #496 on: 15 / February / 2015, 17:01:26 »
Hello people !  :)

i tried to remove lenses from my A2200. i wanted to convert this digital camera , to a digital sensor for my newtonian telescope.

I face two problem, wich is think are related.

1) during this operation , i accidentally broke the 4 pin cable attach to the very end of lens assembly. the one who can detect locked lens. now when i start the camera, i have this error :
"lens error , will shutdown automatically, blablabla...."

Okay, dont care, i dont need lens.

2) it seems i can't access to firmware update feature , i wanted to install CHKD , prior to ask you the magical THIRD, question wich is.....


3) Suppose i use CHKD, is there a way i can BYPASS this lens error, and force the camera to start in rec mode ?


4) i'm serious, i dont need ANY lens. i didn't remove IR filter from the sensors, because it's far beyond my abilities , but my final goal was to keep the camera working , without ANY piece of glass on it .
I want to use my telescope instead. just need the (working) sensor

thanks and Best regards guys !  ;)
 

Re: A2200 IS porting thread
« Reply #497 on: 15 / February / 2015, 19:41:48 »
2) it seems i can't access to firmware update feature , i wanted to install CHKD ,
The "firmware update" feature is only available if you start the camera using the playback button (not the On/Off button) and have a valid ps.fi2 file in the root directory of your SD card.  Please tell us what you did tried - "i can't access to firmware update feature" is not much use in determining what you might have done wrong.

Quote
3) Suppose i use CHKD, is there a way i can BYPASS this lens error, and force the camera to start in rec mode ?
There have been a lot of posts about this on the forum over the last seven years.  Here are a couple of the better ones :

Run a camera without a lens assembly
CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
Anyway to turn off lens check and thus the E32 error
How can I shoot without the lenses?

tl;dr : bypassing a lens error is difficult but can be done.
Ported :   A1200    SD940   G10    Powershot N    G16


Re: A2200 IS porting thread
« Reply #498 on: 15 / February / 2015, 20:02:01 »
i succeed to boot with my 2nd A2200 , revision 1.00D.
the one actually in surgeon room didn't show  "update firm..."  in main menu .

Re: A2200 IS porting thread
« Reply #499 on: 15 / February / 2015, 20:20:18 »
hohoh , looks like you found something  ;)

answering the post again, I found the trick without cutting wires or adding extra scripts to CHDK, Im' sorry for the annoyance of the topic spanning in different new threads on the forums.

To fool the camera that the lens is in place all you have to do it look close to the CCD (on A2200HD it's bottom left of the CCD quadrant. I use a small flat head screwdriver to wedge the slit and as you turn on the camera you count 1second and then remove the screwdriver or wedge and the camera goes straight on without errors. When you turn off the camera you reverse these steps you insert the wedge and then hit the power switch and the camera shutsdown  without error  :)

I'm gathering photos as I do this and soon I'll post pictures of the A2200HD with Yashica Zeiss lens, Helios 50mm lens, and industar 50mm lens :). RAW IMAGING here I come!



Damn , it worked , 4 second. right, the camera start , and cmos gave me signal . but 3 second later , error came back :-[
« Last Edit: 15 / February / 2015, 20:30:39 by george »

 

Related Topics