SX610 HS porting thread

  • 46 Replies
  • 21978 Views
Re: SX610 HS porting thread
« Reply #10 on: 24 / March / 2018, 00:05:18 »
Advertisements
Continued from Post #09

Re: SX610 HS porting thread
« Reply #11 on: 24 / March / 2018, 00:06:56 »
Continued from Post #10

Re: SX610 HS porting thread
« Reply #12 on: 24 / March / 2018, 00:08:06 »
Continued from Post #11

Re: SX610 HS porting thread
« Reply #13 on: 24 / March / 2018, 00:14:06 »
Continued from Post #12


Re: SX610 HS porting thread
« Reply #14 on: 24 / March / 2018, 01:00:31 »
Continued from Post #13
« Last Edit: 24 / March / 2018, 01:13:40 by Hardware_Hacker »

*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: SX610 HS porting thread
« Reply #15 on: 24 / March / 2018, 06:21:19 »
Thanks for the report.
The source code in the first post is outdated.Now it's replaced with the one I'm currently using.
Quote
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).
Can you explain what you are doing when a camera system crash occurs?
Quote
There are some problems, like the mode selection was not available when testing in ChdkPtP.
Are the modes available with a new source if you use this (see platform / sx610hs / shooting.c):
Code: [Select]
= set_capture_mode_canon (xxxxx)
Quote
Also when Using IDA 7v0 there were some differences.
What do you mean by this?

Re: SX610 HS porting thread
« Reply #16 on: 26 / March / 2018, 01:02:33 »
Thanks for the report.
The source code in the first post is outdated.Now it's replaced with the one I'm currently using.
Quote
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 for "Sx 610 #00" camera crashed after a couple of hours (see Post  #14)
of testing the Canon_Menus (1x) then the CHDK_Menus (3x).
Can you explain what you are doing when a camera system crash occurs?
Quote
There are some problems, like the mode selection was not available when testing in ChdkPtP.
Are the modes available with a new source if you use this (see platform / sx610hs / shooting.c):
Code: [Select]
= set_capture_mode_canon (xxxxx)
Quote
Also when Using IDA 7v0 there were some differences.
What do you mean by this? see:- Reply #9 Edit #1 Added "dis-assembly"
Also See the attached Files from a quick "Test #2" now using two Sx610-100a cameras.
The Original "Canon Sx 610 #00" has a problem with the Top-Right-Switch. [Caused by me some time ago]
The New "Canon Sx 610 #01" has no problems with the Top-Right-Switch.

"Can you explain what you are doing when a camera system crash occurs"
The crash may NOT be related to the Sx 610 source code. i.e some sort of un-known CHDK Bug.
Something similar happens when doing a similar test, some time ago, on the EOS M3-101a.
If there is a common problem that relates to BOTH cameras I should be able to re-do some
more detailed test at a later date. As I still have a series of images for both.

As regard to the actual test method for both. I have for some time been using a Mini-Win-10PE version to test.
All cameras have "Standard Software Setup" which is Reliable, Dependable and Repeatable.

"Test #2" "Are the modes available" = Sx610hs-100a-1v5-5003-full == NO
Note 1:- "Canon Sx 610 #00" seemed to have a problem related to the LibUSB00.sys Driver "Service"
Note 2:- "Canon Sx 610 #01" had no problems related to the LibUSB01.sys Driver "Service"
Note 3:- Multiple Cameras have dedicated and independent driver services. i.e. the "Drivers are not "Installed via a *.inf file"

Ref SX610 HS porting thread :- Reply #1

When doing a (Record) Test #2 with ChdkPtp-r795  I noticed a big difference between the Sx610 live view
and ChdkPtp-r795's  live view displays. So I might not have correctly patched platform_camera.h:-

#define CAM_BITMAP_WIDTH                960
#define CAM_BITMAP_HEIGHT               270

Is there any more stuff that relates to live view that might have been over looked. [May be in lib.c ???]

In regard to "...Using IDA 7v0_x64 there were some "dis-assembly" differences..."
Just discovered that IDA 7v0_x64 has "Stopped Working" so I can't Re-Check my dis-assembly.
Its quite possible I might have made some cut and paste typo errors.
Because, generally, its not possible to re-compile the IDA 7v0_x64 output, I do a test dis-assembly.
The test dis-assembly, in UPPER-CASE, this is then used to create the CHDK Source in lower-case,
so I then know the origin's of the "WIP" source dis-assembly's.

"Are the modes available with a new source"   To Do in "Test #3"

H-H
« Last Edit: 26 / March / 2018, 04:25:18 by Hardware_Hacker »

*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: SX610 HS porting thread
« Reply #17 on: 26 / March / 2018, 04:35:08 »
@Hardware_Hacker
Do you use unchanged source from the first post or something else?


*

Offline reyalp

  • ******
  • 11591
Re: SX610 HS porting thread
« Reply #18 on: 26 / March / 2018, 12:54:49 »
In regard to "...Using IDA 7v0_x64 there were some "dis-assembly" differences..."
Just discovered that IDA 7v0_x64 has "Stopped Working" so I can't Re-Check my dis-assembly.
Its quite possible I might have made some cut and paste typo errors.
Because, generally, its not possible to re-compile the IDA 7v0_x64 output, I do a test dis-assembly.
For cameras before digic 6, you should use codegen to generate disassembly. If you find differences between your disassembly and codegen output, the fault is almost certainly in yours.
Don't forget what the H stands for.

Re: SX610 HS porting thread
« Reply #19 on: 27 / March / 2018, 00:34:30 »
@Hardware_Hacker
Do you use unchanged source from the first post or something else?
@ blackhole both your unchanged source and my source

Quick Test_#3 Results for Both Cameras and Source Versions.
Sx610hs-100a-1v5-5003b-full = my source
Sx610hs-100a-1v5-5005a-full = your unchanged source

No Bad News.

No Compile Errors.
No Camera Crashes, The Camera Modes worked OK, Zoom worked OK.
A ChdkPtp-r795 error the see attached file.

To Do:-

Short List of minor typo errors.
Check and Match CHDK Mode Icons to Mode Icons in Canon Sx610 Users Manual.
Up-Date source Ver-2 see Ref SX610 HS porting thread :- Reply #1
Fix Error
that relates to live view's see Reply #16 . [May be in lib.c ???]
Wi-Fi Not yet Tested.
Re-Test using CHDK scripts.
Re-Test to try to reproduce camera crash in Post's #09, #10, #11, #12, #13 & #14.

H-H
« Last Edit: 27 / March / 2018, 00:41:17 by Hardware_Hacker »

 

Related Topics