ELPH 340 (IXUS 265) - page 11 - DryOS Development - CHDK Forum

ELPH 340 (IXUS 265)

  • 173 Replies
  • 64945 Views
*

Offline Caefix

  • *****
  • 638
  • Sorry, busy deleting test shots...
Re: ELPH 340 (IXUS 265)
« Reply #100 on: 07 / April / 2020, 10:45:50 »
Advertisements
:) Cam arrived with fw 100c.
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 844
  • A590IS 101b
    • Planetary astrophotography
Re: ELPH 340 (IXUS 265)
« Reply #101 on: 09 / April / 2020, 08:59:56 »
@Caefix
 Test build, ixus265_elph340hs-100c

The modemap is completely wrong so all shooting modes should be checked as described here: https://chdk.setepontos.com/index.php?topic=13151.msg142896#msg142896

For this camera,set  "Propcase / Param data page" to [4].
The numeric ID of current shooting mode is displayed after 49:

*

Offline Caefix

  • *****
  • 638
  • Sorry, busy deleting test shots...
Re: ELPH 340 (IXUS 265)
« Reply #102 on: 09 / April / 2020, 10:29:36 »
 :( No Entry. CHDK ignored.
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 844
  • A590IS 101b
    • Planetary astrophotography
Re: ELPH 340 (IXUS 265)
« Reply #103 on: 09 / April / 2020, 12:09:50 »
:( No Entry. CHDK ignored.
You have to use the autoboot method, with a locked SD card to load CHDK.
See here how to configure an SD card: https://chdk.fandom.com/wiki/Prepare_your_SD_card


*

Offline Caefix

  • *****
  • 638
  • Sorry, busy deleting test shots...
Re: ELPH 340 (IXUS 265)
« Reply #104 on: 09 / April / 2020, 12:34:18 »
Apparently I peeked the maybe only not bootable SD- Card from my collection.  (   (   (   (   (   (   (   (   (   :lol

Code: [Select]
Hybrid Auto-------------- 33296
Creative Shot------------ 33297

Auto -------------------- 32768
P------------------------ 32772
Portrait----------------- 32788

Smart Shutter------------
Smile-------------------- 33328
Wink Self-Timer---------- 33329
FaceSelf-Timer----------- 33327

HIGHSPEED_BURST---------- 32776
Handheld Night Scene----- 33332
Low Light---------------- 32888
Fish-eye Effect---------- 33330
Miniature Effect--------- 33331
Toy Camera Effect-------- 33334
Monochrome--------------- 33338
Super Vivid-------------- 33325
Poster Effect------------ 33326
Snow--------------------- 32796
Fireworks---------------- 32798
Long Shutter------------- 32774
Cam says : MemCardError. <-- SPOOKY ??? Now it works or not, ... looking deeper... ???

Edit1: nd_test, mf_test, ubtest: passed, Zebra fine...
Edit2: Filebrowser is often only after booting in Rec Mode available. // There´s a connecion to deleting testshots...

2B continued...
keep on breathing, should be healthy... :D
« Last Edit: 09 / April / 2020, 14:27:41 by Caefix »
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 844
  • A590IS 101b
    • Planetary astrophotography
Re: ELPH 340 (IXUS 265)
« Reply #105 on: 09 / April / 2020, 14:28:41 »
Cam says : MemCardError.  ?? Now it works, ... looking deeper... ???

Edit1: nd_test, mf_test, ubtest: passed, Zebra fine...
Edit2: Filebrowser is only after booting in Rec Mode available. // There´s a connecion to deleting testshots...
Do you see "Memory card error!" on the display after you try to take a picture?

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: ELPH 340 (IXUS 265)
« Reply #106 on: 09 / April / 2020, 15:04:48 »
Hi,
Seems I'm too late to report the mode numbers, but another thing I noticed:

- cam* always starts in "rec" mode (w/ either on/off or play button)

stay safe,
whim

* = ixus 265 with your test build, so must be 100c
« Last Edit: 09 / April / 2020, 15:13:28 by whim »

*

Offline blackhole

  • *****
  • 844
  • A590IS 101b
    • Planetary astrophotography
Re: ELPH 340 (IXUS 265)
« Reply #107 on: 09 / April / 2020, 17:18:47 »
Test version with fix_writable_media_flag in boot.c

Hi,
Seems I'm too late to report the mode numbers, but another thing I noticed:

- cam* always starts in "rec" mode (w/ either on/off or play button)

stay safe,
whim

* = ixus 265 with your test build, so must be 100c
Thanks for the report.
I don't know what to say about the problem with starting in rec mode.
sub_FF06E0EC looks suspicious, but I can't follow it too deep.
Code: [Select]
STMFD   SP!, {R4,LR}
 LDR     R3, =0x2AD8
 LDR     R4, [SP,#8+arg_0]
 MOV     R12, #0
 CMP     R4, #0
 STR     R12, [R3]
 MOVNE   R12, #0x80000
 STRNE   R12, [R3]
 CMP     R2, #0
 ORRNE   R2, R12, #0x400000
 STRNE   R2, [R3]
 CMP     R0, #0
 LDRNE   R0, [R3]
 ORRNE   R0, R0, #0x100000
 STRNE   R0, [R3]
 CMP     R1, #0
 LDRNE   R0, [R3]
 ORRNE   R0, R0, #0x200000
 STRNE   R0, [R3]
 LDMFD   SP!, {R4,PC}
In boot.c we currently have:
Code: [Select]
   // Replacement of sub_ for correct power-on.
   // (short press = playback mode, long press = record mode)
   // value and pointer from sub_FF06E0EC ixus265_elph340hs-100c
   *(int*)(0x2ad8) = (*(int*)0xC022F484)&0x80000 ? 0x200000 : 0x100000;



*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: ELPH 340 (IXUS 265)
« Reply #108 on: 09 / April / 2020, 18:08:56 »
@blackhole

Thanks for your efforts on this port ! 

This is getting quite weird: for a short while, the cam booted as it should,
"play" -> play, "on/off" -> rec, then reverted to previous behaviour.

Will play with your new build (got some time while under 'intelligent lockdown').

stay safe,whim

P.S  Just realised it's been 5 years (!) since I last compiled a build ...

*

Offline Caefix

  • *****
  • 638
  • Sorry, busy deleting test shots...
Re: ELPH 340 (IXUS 265)
« Reply #109 on: 10 / April / 2020, 11:21:07 »
- cam* always starts in "rec" mode (w/ either on/off or play button)
:blink: My play button started in playmode.
When Memory Card is in Error state, it is not even readable, browser | lua.flt can´t be loaded.

// new build commented soon...
The card issue seems gone, fw-update works now,
play button starts in 'random' mode.

 :D Very nice so far...
« Last Edit: 10 / April / 2020, 13:18:27 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics