CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD - page 14 - Creative Uses of CHDK - CHDK Forum  

CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD

  • 704 Replies
  • 144920 Views
*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #130 on: 08 / November / 2012, 17:47:54 »
Advertisements
Quote "It may be the case that these are the very routines we need to convince the camera we have called prior to our "shoot without setting up the mechanism" routine, since I would assume one of the things that the factory tests do is actually take a picture."
I wholeheartedly agree, certainly with the 2nd part.  Effectively, if possible, that would translate to disconnecting the entire 48-pin main PCB connector, and be able to shoot.  Ideally, phantom ZOOM should work too, because you do need to set full zoom if you want to prevent Canon PC software from applying barrel correction (explained much earlier in this thread).

Quote "Which suggests there may well be an error register, or registers, and this could be what is polled to see if we have a problem and need to shut down."
This seems to agree with a post-ASSERT continued limp-mode & shutdown, a sort-of "mecha task" that possibly exists at the lowest-level protection ring.

edit:
I managed to locate the IRIS RESET PI pins on the main connector.  It's just a matter of bringing them out to the outside world and scoping them down.
« Last Edit: 08 / November / 2012, 17:52:13 by SticK »

Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #131 on: 09 / November / 2012, 07:17:34 »
Some info regarding GPIO one third the way down this page : http://magiclantern.wikia.com/wiki/Register_Map

You already know about that.
Direct link to GPIO : http://magiclantern.wikia.com/wiki/Register_Map#GPIO_Ports
« Last Edit: 09 / November / 2012, 07:23:22 by Microfunguy »

Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #132 on: 09 / November / 2012, 08:24:18 »
Attached is a list of strings in the S90 101A firmware.
It may give you a clue to possibly interesting functions.

The latter two thirds (at least) is just foreign language text strings.
It will take some time but it is worth reading all of the English language part.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #133 on: 09 / November / 2012, 09:15:33 »
I note that strings (don't know if all) are duplicated at two address locations.  Do you know the reason?  After I've shown the IRIS signals (maybe today), I will attempt to extract and group related strings.


Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #134 on: 09 / November / 2012, 10:06:31 »
I note that strings (don't know if all) are duplicated at two address locations.  Do you know the reason?

Do you mean file position and memory position ?

The values are the offset from the beginning of ROM.

S90 ROM starts at 0xff810000

The IDA disassembler will accept absolute or relative addresses.


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #135 on: 09 / November / 2012, 11:20:27 »
Quote "Do you mean file position and memory position ?"
I looked for ISError and it appears twice in the file, but is the same address location.  So that must be the way the dissassembler behaves I suppose ??

Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #136 on: 09 / November / 2012, 11:40:31 »
It only appears in one position :-

0000003FDED1   0000003FDED1      0   ISError

offset with respect to ROM start address.

That is absolute address 0xFFC0DED1
« Last Edit: 09 / November / 2012, 11:42:09 by Microfunguy »

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #137 on: 09 / November / 2012, 11:49:03 »
If you search for ISError (and others like it) they appear twice in the file, but have the same address as you note // that's what I meant and was my question.


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #138 on: 09 / November / 2012, 11:53:11 »
PINOUTS of MAIN PCB MECHA CONNECTOR (ribbon cable side, F)

Here is the current mecha connector pinout data. 

LEGEND
   -# is the corresponding component connector (IS, FOCUS, IRIS) pin number with component connector oriented M on left and F on right, pin 1 is bottom.
   -L, -C, -R are physical signal line relative position IDs at the entrance to the PIs, oriented with signal lines on bottom, facing the back of the PI.  These IDs do not necessarily imply two different PIs have the same electrical function at this time // that will be determined later.

    Note: from the string dump, "encoder" is now spelled correctly. 

This figure will be updated as we acquire more info.

Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #139 on: 09 / November / 2012, 12:09:21 »
If you search for ISError (and others like it) they appear twice in the file, but have the same address as you note // that's what I meant and was my question.

and I answered your question.

It is one address expressed as relative to the start AND absolute address.
The absolute address has not been calculated (for some reason) so is just offset from start of file.

 

Related Topics