SX610 HS porting thread

  • 7 Replies
  • 524 Views
*

Offline blackhole

  • *****
  • 528
  • 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.

*

Offline srsa_4c

  • ******
  • 3530
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

  • *****
  • 528
  • 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

  • ******
  • 3530
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

  • *****
  • 528
  • 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

  • ******
  • 3530
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

  • *****
  • 528
  • 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

  • *****
  • 528
  • 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 »


 

Related Topics