Ixus275/Elph350 HS porting thread - DryOS Development - CHDK Forum supplierdeeply

Ixus275/Elph350 HS porting thread

  • 47 Replies
  • 3580 Views
*

Offline blackhole

  • *****
  • 738
  • A590IS 101b
    • Planetary astrophotography
Ixus275/Elph350 HS porting thread
« on: 27 / May / 2017, 17:25:28 »
Advertisements
Here is the initial source code for the Ixus275_Elph350 camera,firmware 100a.
I do not have a camera, so it's worth noting that nothing has been tested.
Any use is at your own risk.

The obvious disadvantages are:
-propset has not been checked
-modemap should be checked

-the WiFi(Connect) key is not in the keymap
-probably needed extra hack for kbd.c, similar to the ixus 175
For further work is needed the help of someone who has a camera with firmware 100a, if the CHDK can be load correctly and if the display is functional.

EDIT: outdated source code removed
« Last Edit: 28 / December / 2019, 16:44:03 by blackhole »

*

Offline Caefix

  • ***
  • 146
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #1 on: 28 / December / 2019, 11:44:39 »
 :-[ I muggeled up the names, we could continue here until i265 found.
Edit:  Sofarsogood...
Code: [Select]
/usr/bin/sh: svnversion: command not found
../../../../platform/ixus275_elph350hs/sub/100a/libplatformsub.a(shooting.thm.o): In function `shooting_get_imager_active':
shooting.c:(.text+0x170): undefined reference to `imager_active'
../../../../platform/ixus275_elph350hs/libplatform.a(wrappers.o): In function `lens_set_zoom_point':
wrappers.c:(.text+0x1b8): undefined reference to `_MoveOpticalZoomAt'
../../../../platform/ixus275_elph350hs/libplatform.a(wrappers.o): In function `shooting_get_nd_value_ev96':
wrappers.c:(.text+0x374): undefined reference to `_get_nd_value'
../../../../platform/ixus275_elph350hs/libplatform.a(wrappers.o): In function `shooting_get_nd_current_ev96':
wrappers.c:(.text+0x384): undefined reference to `_get_current_nd_value'
../../../../platform/ixus275_elph350hs/libplatform.a(wrappers.o): In function `shooting_get_current_tv96':
wrappers.c:(.text+0x3a0): undefined reference to `_GetCurrentShutterSpeed'
../../../../platform/ixus275_elph350hs/libplatform.a(wrappers.o): In function `CreateBinarySemaphore':
wrappers.c:(.text+0x10cc): undefined reference to `_CreateBinarySemaphore'
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [main.elf] Error 1
gmake: *** [all-recursive] Error 1
« Last Edit: 28 / December / 2019, 12:25:11 by Caefix »
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 738
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #2 on: 28 / December / 2019, 12:25:00 »
Try this.

EDIT: test build removed
« Last Edit: 28 / December / 2019, 12:59:32 by blackhole »

*

Offline Caefix

  • ***
  • 146
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #3 on: 28 / December / 2019, 12:45:16 »
 ;) Fw-update && booting w. SD-card locked leed to...
All lifetime is a loan from eternity.


*

Offline blackhole

  • *****
  • 738
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #4 on: 28 / December / 2019, 12:58:27 »
;) Fw-update && booting w. SD-card locked leed to...
New test build (bitmap 960x270)

EDIT: test build removed
« Last Edit: 28 / December / 2019, 15:43:40 by blackhole »

*

Offline Caefix

  • ***
  • 146
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #5 on: 28 / December / 2019, 13:41:03 »
 :-* There works a lot...
Menues, memory,  keys incl.  zoomlever, colors nice, scriptiX.Lua full loop
ndtest.lua fails fast, maybe can´t detect 'CONT'.
Zoomproblems probably known, ...Who knows?
Code: [Select]
--- Modelist ---@ 0
PS7  PID:12971
0 0 IS2 ND1 (0)<551        <<551 zoomsteps??
1 AUTO
2 P
12 CREATIVE_EFFECT
17 FACE_SELF_TIMER
18 FIREWORK
19 FISHEYE
28 LONG_SHUTTER
29 LOWLIGHT
30 MINIATURE
31 MONOCHROME
36 PORTRAIT
37 POSTER_EFFECT
47 SUPER_VIVID
48 TOY_CAMERA
64 HYBRID_AUTO
1970/1/1 # 0:0:1 --- <<-- timestamp?
« Last Edit: 30 / December / 2019, 12:32:49 by Caefix »
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 738
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #6 on: 28 / December / 2019, 14:16:20 »
I hope the recommended propset 10 is O.K.
Can you try ndtest.lua with this build ?
You should go through these tests:
https://chdk.fandom.com/wiki/Testing

EDIT: test build removed
« Last Edit: 28 / December / 2019, 15:43:18 by blackhole »

*

Offline Caefix

  • ***
  • 146
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #7 on: 28 / December / 2019, 14:47:21 »
:( now ndtest crashes with new romlog...
(The former build hanged with blinking cam down-left. get_propset returned 7.)
get_propset returns 10 now.
Ubtest crashed with UBromlog, && other logs.
Edit: Ub-crash fixed with ND issue.

 ::) Great first day, will be back on monday, continuing offline tests...

« Last Edit: 31 / December / 2019, 11:17:56 by Caefix »
All lifetime is a loan from eternity.


*

Offline blackhole

  • *****
  • 738
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #8 on: 28 / December / 2019, 15:41:20 »
I found a problem with nd_semaphore, hope that was the only problem.
New test build.

*

Offline Caefix

  • ***
  • 146
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #9 on: 28 / December / 2019, 15:51:01 »
 :haha port needs CAM_ND_SET_AV_VALUE for quick.

 ;) get_zoom_steps should be 101.
maybe main.c (Ixus170, same lens) :
Code: [Select]
// same number of zoom steps as in ixus160
#define NUM_FL      101
#define NUM_DATA    2

extern int focus_len_table[NUM_FL*NUM_DATA];

// Conversion factor lens FL --> 35mm equiv
// lens      35mm     CF
// ----      ----     --
//  4.5       25      (25/4.5) * 18 = 100  (min FL)
// 54        300      (300/54) * 18 = 100  (max FL)
#define CF_EFL      100
#define CF_EFL_DIV  18
(& I would prefere Wifi as alt_key.)
raw & video seem good. (Not tested all modes yet)
Edit: "set CAM_MARKET_ISO_BASE=200"

Edit2: US-B-remote & sync fine.
 ??? Who feels good for ptp tests? I´m troubled by W-X :o & US-A.

« Last Edit: 07 / January / 2020, 16:09:12 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics