supplierdeeply

SX610 HS porting thread

  • 46 Replies
  • 16345 Views
*

Offline blackhole

  • *****
  • 613
  • A590IS 101b
    • Planetary astrophotography
SX610 HS porting thread
« on: 07 / February / 2018, 10:50:00 »
Advertisements
I started working on "blind port" for sx610hs.
After second attempt, the user pintitas reported that the chdk was loaded but the display was unusable. There seems to be some problem with the sd card, but it did not exactly describe what is going on, maybe a problem similar to the sx400 and the sx530.
Any advice is welcome.

EDIT: Source code replaced.
« Last Edit: 07 / April / 2018, 09:40:11 by blackhole »

*

Offline srsa_4c

  • ******
  • 3712
Re: SX610 HS porting thread
« Reply #1 on: 07 / February / 2018, 11:13:10 »
the display was unusable.
My guess from the picture (and the sx530 port):
    #define CAM_BITMAP_WIDTH                960
    #define CAM_BITMAP_HEIGHT               270
in platform_camera.h
Quote
There seems to be some problem with the sd card, but it did not exactly describe what is going on
Can we get the Canon error message (if there is one on screen)?

*

Offline blackhole

  • *****
  • 613
  • A590IS 101b
    • Planetary astrophotography
Re: SX610 HS porting thread
« Reply #2 on: 07 / February / 2018, 11:43:09 »
the display was unusable.
My guess from the picture (and the sx530 port):
    #define CAM_BITMAP_WIDTH                960
    #define CAM_BITMAP_HEIGHT               270
in platform_camera.h
Quote
There seems to be some problem with the sd card, but it did not exactly describe what is going on
Can we get the Canon error message (if there is one on screen)?

I just got an answer, old friend: "Memory card error!" ,after shooting.

*

Offline srsa_4c

  • ******
  • 3712
Re: SX610 HS porting thread
« Reply #3 on: 07 / February / 2018, 11:58:01 »
See reyalp's recent commit.
The address is (hopefully):
0x1d68
Found at 0xFF02FFC4 (0x1d58) and 0xFF02FFCC (+0x10).


*

Offline blackhole

  • *****
  • 613
  • A590IS 101b
    • Planetary astrophotography
Re: SX610 HS porting thread
« Reply #4 on: 07 / February / 2018, 12:06:40 »
See reyalp's recent commit.
The address is (hopefully):
0x1d68
Found at 0xFF02FFC4 (0x1d58) and 0xFF02FFCC (+0x10).
Yes thank you!
Not related to this, I found one mistake in port's for sx520 and sx530, in capt_seq.c raw hook was called twice.

*

Offline srsa_4c

  • ******
  • 3712
Re: SX610 HS porting thread
« Reply #5 on: 07 / February / 2018, 12:31:47 »
sx520 and sx530, in capt_seq.c raw hook was called twice.
I think those look okay: they are on different code paths. One is probably normal shooting, the other is quick shooting (when the user does not wait for focus & exposure confirmation).
Do you experience raw hook related problems with the sx530?

Your sx610 capt_seq.c places the hook in a place that both (normal & quick) code paths reach. That's probably also ok. (Note that I did not verify the sx610 version)

*

Offline blackhole

  • *****
  • 613
  • A590IS 101b
    • Planetary astrophotography
Re: SX610 HS porting thread
« Reply #6 on: 07 / February / 2018, 13:13:15 »
sx520 and sx530, in capt_seq.c raw hook was called twice.
I think those look okay: they are on different code paths. One is probably normal shooting, the other is quick shooting (when the user does not wait for focus & exposure confirmation).
Do you experience raw hook related problems with the sx530?

No, I did not notice problems with sx530. With sx410 it causes fail in hooktest.lua
Your sx610 capt_seq.c places the hook in a place that both (normal & quick) code paths reach. That's probably also ok. (Note that I did not verify the sx610 version)
Works well with the sx410, it will probably be good on sx610 too.

*

Offline blackhole

  • *****
  • 613
  • A590IS 101b
    • Planetary astrophotography
Re: SX610 HS porting thread
« Reply #7 on: 07 / February / 2018, 18:09:51 »
Fix for SD card works fine.
It looks like the camera uses propset 7
« Last Edit: 07 / February / 2018, 18:13:26 by blackhole »


*

Offline blackhole

  • *****
  • 613
  • A590IS 101b
    • Planetary astrophotography
Re: SX610 HS porting thread
« Reply #8 on: 17 / March / 2018, 17:03:25 »
Reply to an inquiry via email:
Quote
Any updates on the SX610HS port? The last thing you wrote was that you had succeeded in fixing an SD issue.
By reports of people who tested chdk for the sx610, it looks as all is functional but nobody has run testing scripts.
Since there has been no response for a long time, I did not do anything new.

Re: SX610 HS porting thread
« Reply #9 on: 24 / March / 2018, 00:01:02 »
Reply to an inquiry via email:
Quote
Any updates on the SX610HS port? The last thing you wrote was that you had succeeded in fixing an SD issue.
By reports of people who tested chdk for the sx610, it looks as all is functional but nobody has run testing scripts.
Since there has been no response for a long time, I did not do anything new.
I ran some of the test scripts (see attached logs) for a custom version "Sx610hs-100a-1v5-4995b-full"
As can be seen from attached series of gif files the camera crashed after a couple of hours (see Post  #14)
of testing the Canon_Menus (1x) then the CHDK_Menus (3x).

There are some problems, like the mode selection was not available when testing in ChdkPtP.
Also when Using IDA 7v0 there were some dis-assembly differences. (To be continued in a later Post)

H-H

Edit #1 Added "dis-assembly"

Continued in Post's #10, #11, #12, #13 & #14 below
« Last Edit: 25 / March / 2018, 22:35:31 by Hardware_Hacker »

 

Related Topics