IXUS 240/ELPH 320 HS Porting thread - page 29 - DryOS Development - CHDK Forum  

IXUS 240/ELPH 320 HS Porting thread

  • 310 Replies
  • 83702 Views
*

Offline reyalp

  • ******
  • 13288
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #280 on: 03 / January / 2016, 15:12:09 »
Advertisements
I have a problem to work chdk. I use everything like this post, but I can't work.

When I click to firmware, the camera restart, show the chdk logo, and then turn off.

I don't know what to do. My firmware is 1.00D

Thanks for help
What CHDK version are you using?

Have you tried making the card bootable instead of using firmware update?

edit:
Problems using the "Firmware update" method have been reported previously:
http://chdk.setepontos.com/index.php?topic=9005.msg115487#msg115487

You should be able to STICK to make the card bootable http://zenoshrdlu.com/stick/stick.html

We should probably remove the firmware update option for this camera if no one can fix it.
« Last Edit: 03 / January / 2016, 15:14:29 by reyalp »
Don't forget what the H stands for.

Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #281 on: 03 / January / 2016, 16:03:49 »
I tried a lot of versions.

100d-1.3.0-4296
100d-1.4.1-4319
101a-1.4.1-4319

and others. I tried 100d and 101a.

I use stick too.

Look what's happen: https://www.youtube.com/watch?v=hB6Lo3MAaP4&feature=youtu.be

How I remove firmware update option?

Thanks

*

Offline reyalp

  • ******
  • 13288
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #282 on: 03 / January / 2016, 16:28:14 »
How I remove firmware update option?
You should make the card bootable instead of doing firmware update in the Canon menu. Then CHDK starts automatically. See http://chdk.wikia.com/wiki/Bootable_SD_card

Removing the firmware update option is something for developers to do.

Quote
and others. I tried 100d and 101a.
You should *only* use the version that matches your Canon firmware version.
Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 13288
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #283 on: 31 / March / 2016, 15:48:27 »
Discussion of waterfalls and water droplets moved to https://chdk.setepontos.com/index.php?topic=12810.msg127518#msg127518
Don't forget what the H stands for.


*

Offline Caefix

  • *****
  • 515
  • Sorry, busy deleting test shots...
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #284 on: 21 / July / 2020, 13:44:28 »
 ;) Latest news here, but not the most important.
Some FW-Update Romlogs with playing keys.
Mf-Test fails in MF.
Long <ON> boots to 'play'.
Palette could be prittified.  :-*
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 515
  • Sorry, busy deleting test shots...
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #285 on: 23 / July / 2020, 15:05:36 »
 :blink:  :-[
// ASSERT!! FocusLensController.c Line 829  //  Task name: PhySw
            photo_param_put_off.subj_dist=shooting_get_subject_distance();// @ Ix125 & Ix240 switch to
// ASSERT!! FocusLensController.c Line 829  //  Task name: CaptSeqTask
Code: [Select]
void shooting_set_focus(int v, short is_now)
{
    int s=v;
    if (!camera_info.state.mode_play)
    {
if (is_now && focus_busy) { 
short t=0;
do {msleep(10); t=t+1;} while (focus_busy && (t<404));
if (t<404) {
photo_param_put_off.subj_dist=shooting_get_subject_distance();
return ;}
}                // don't focus twice

        if (is_now && shooting_can_focus())
        {
            if (conf.dof_subj_dist_as_near_limit)
            {
                s=shooting_get_near_limit_f(v,shooting_get_min_real_aperture(),get_focal_length(lens_get_zoom_point()));
            }
            if (!conf.dof_use_exif_subj_dist && (s != INFINITY_DIST))
                s+=shooting_get_lens_to_focal_plane_width();
            lens_set_focus_pos(s);
// ASSERT!! FocusLensController.c Line 829  //  Task name: PhySw
photo_param_put_off.subj_dist=shooting_get_subject_distance();// @ Ix125 & Ix240 switch to
// ASSERT!! FocusLensController.c Line 829  //  Task name: CaptSeqTask
        }
        else
            photo_param_put_off.subj_dist=v;
    }
}
Edit: The added lines can all: help, disturb, shift bugs/Romlogs or do nothing. Depends somhow on cam and anything else.
« Last Edit: 28 / July / 2020, 14:57:11 by Caefix »
All lifetime is a loan from eternity.

*

Offline reyalp

  • ******
  • 13288
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #286 on: 28 / July / 2020, 16:11:16 »
:blink:  :-[
// ASSERT!! FocusLensController.c Line 829  //  Task name: PhySw
            photo_param_put_off.subj_dist=shooting_get_subject_distance();// @ Ix125 & Ix240 switch to
// ASSERT!! FocusLensController.c Line 829  //  Task name: CaptSeqTask
Code: [Select]
void shooting_set_focus(int v, short is_now)
{
    int s=v;
    if (!camera_info.state.mode_play)
    {
if (is_now && focus_busy) { 
short t=0;
do {msleep(10); t=t+1;} while (focus_busy && (t<404));
if (t<404) {
photo_param_put_off.subj_dist=shooting_get_subject_distance();
return ;}
}                // don't focus twice

        if (is_now && shooting_can_focus())
        {
            if (conf.dof_subj_dist_as_near_limit)
            {
                s=shooting_get_near_limit_f(v,shooting_get_min_real_aperture(),get_focal_length(lens_get_zoom_point()));
            }
            if (!conf.dof_use_exif_subj_dist && (s != INFINITY_DIST))
                s+=shooting_get_lens_to_focal_plane_width();
            lens_set_focus_pos(s);
// ASSERT!! FocusLensController.c Line 829  //  Task name: PhySw
photo_param_put_off.subj_dist=shooting_get_subject_distance();// @ Ix125 & Ix240 switch to
// ASSERT!! FocusLensController.c Line 829  //  Task name: CaptSeqTask
        }
        else
            photo_param_put_off.subj_dist=v;
    }
}
Edit: The added lines can all: help, disturb, shift bugs/Romlogs or do nothing. Depends somhow on cam and anything else.
Sorry, I really don't understand any of this.

What problem is being addressed?
Is the problem reproducible?
If so, what are the specific steps to reproduce it?
What is the rational behind the proposed changes in the code?
How have the changes been tested?

If these specifics were spelled out in some other thread, feel free to link to it.

I will not make changes on the basis that they maybe help sometimes in some unspecified way. I'm not really interested in spending a lot of time trying to guess.
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 515
  • Sorry, busy deleting test shots...
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #287 on: 28 / October / 2020, 12:49:58 »
Removing the firmware update option is something for developers to do.
Apparently found this StEco startup issue again.  :-[ How to handle?
All lifetime is a loan from eternity.


*

Offline reyalp

  • ******
  • 13288
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #288 on: 01 / May / 2021, 01:25:33 »
@Caefix here's a test build for ixus240 problems reported in: https://chdk.setepontos.com/index.php?topic=6231.msg145678#msg145678

Please check:
Movie recording, different still image aspect ratios (16:9, 4:3, 3:2, 1:1)
Number of framebuffers in misc debug display, movie recording and not
UI colors. If they are still wrong, please take a screenshot of debug values (APB, PB PBP etc). Also, please report if colors look correct on the actual camera screen.


"Video" button in chdkptp GUI should start video recording now.
Other keys that do not exist on the physical camera are not expected to work.

Thanks

Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 515
  • Sorry, busy deleting test shots...
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #289 on: 01 / May / 2021, 11:37:14 »
 :) FHD & fisheye full size now, aspect ratios & Videobuttons both fine.
 :blink: Trying UI Overlay freezes liveview:
Quote
I/O errorlive timer update error
I/O error

...aPortable\CHDK-Shell\chdkptp-r964\lua\gui_live_stats.lua:182: attempt to perform arithmetic on local 'xfer_bytes' (a nil value)
stack traceback:
   D:\hostluaPortable\CHDK-Shell\chdkptp-r964\lua\gui_live.lua:471: in function <D:\hostluaPortable\CHDK-Shell\chdkptp-r964\lua\gui_live.lua:424>
   [C]: in function 'xpcall'
   D:\hostluaPortable\CHDK-Shell\chdkptp-r964\lua\gui_live.lua:519: in function <D:\hostluaPortable\CHDK-Shell\chdkptp-r964\lua\gui_live.lua:517>
   (...tail calls...)
   [C]: in function 'MainLoop'
   D:\hostluaPortable\CHDK-Shell\chdkptp-r964\lua\gui.lua:761: in function <D:\hostluaPortable\CHDK-Shell\chdkptp-r964\lua\gui.lua:734>
   (...tail calls...)
   D:\hostluaPortable\CHDK-Shell\chdkptp-r964\lua\main.lua:304: in main chunk
   [C]: in function 'require'
   [string "require('main')"]:1: in main chunklive timer update error
:o Gui Colors in playback B&W, in rec not usual.
>:( 3rd Bat empty...
;) vfb 0..7 during rec, 0..3 while not.
:-* Edited palette ...

« Last Edit: 01 / May / 2021, 12:18:17 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics