Thanks for the report.
The source code in the first post is outdated.Now it's replaced with the one I'm currently using.
I ran some of the test scripts (see attached logs) for a custom version "Sx610hs-100a-1v5-4995b-full"Can you explain what you are doing when a camera system crash occurs?
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).
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):
= set_capture_mode_canon (xxxxx)
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"