chdk in the DIGIC6 world - page 19 - General Discussion and Assistance - CHDK Forum

chdk in the DIGIC6 world

  • 201 Replies
  • 167552 Views
*

Offline srsa_4c

  • ******
  • 4451
Re: chdk in the DIGIC6 world
« Reply #180 on: 08 / January / 2020, 15:15:22 »
Advertisements
Which seems a bit odd, even the lower 16K doesn't seem to be close to fully used, and the BTCM only obviously uses the lower 2k for exception stack.
I'd guess the chip was designed with higher workload in mind and our PowerShots only use a fraction of its capabilities. Similar to DIGIC 5, where the second ARM core is only used on a few (touchscreen) compacts and only for managing the touchscreen.
Quote
The code referencing the *TCM_START_ADDR and END_ADDR matches the values from CPU info.
Hmm, indeed.

*

Offline srsa_4c

  • ******
  • 4451
Re: chdk in the DIGIC6 world
« Reply #181 on: 12 / January / 2020, 08:54:11 »
The CPU of the sx280 runs 1 million cycles of this
Code: [Select]
002bd560 <busyloop1>:
  2bd560: 3801      subs r0, #1
  2bd562: f63f affd bhi.w 2bd560 <busyloop1>
in 20 msecs (measured right before booting CHDK and in playback mode).
Omar also seems to do 100 "BogoMips". One primary core of the D7 does 400.
As for timers, 0xc0242014 is available on both ARM cores of D6. The 32-bit microsecond timer (0xd400000c) is not reachable on Omar (reading it kills the task).
Both timers are available on the D7 primary cores.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: CHDK in the DIGIC7 world
« Reply #182 on: 17 / April / 2020, 02:55:47 »
Have you solved the D7 startup issues?
I think so, the camera seems stable. It's possible to do it worse (where it seems to work, but unexpected things happen), I was hunting non-existing bugs for weeks...
Quote
Would this be usable for the G7X2?
That was my reason for publishing at this stage.

It's only taken 5 months; but thanks to the M100 work by srsa_4c I finally have the G7X2 booting and and starting a dummy task that blinks the LED.

Still a long way to go; but it was amazing to finally see the camera start up with that led blinking away :)

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: chdk in the DIGIC6 or 7 world
« Reply #183 on: 21 / October / 2020, 04:47:35 »
I was just wondering, is there a chance that the reboot function will become possible on digic 6 or 7 cams?
I would like to abandon my S95 in the IMPB project for a larger sensor one, like G- or M-series.
but won't do that if there is no possibility that it can be rebooted

If there is need to check some things to see if that is possible.
I'm willing to give that a try....how should I go about it on my M10?
« Last Edit: 21 / October / 2020, 04:59:59 by Mlapse »
frustration is a key ingredient in progress


*

Offline c_joerg

  • *****
  • 1251
Re: chdk in the DIGIC6 or 7 world
« Reply #184 on: 21 / October / 2020, 05:27:41 »
I'm willing to give that a try....how should I go about it on my M10?

May be an interval script with power down is a solution without reboot.
https://chdk.setepontos.com/index.php?topic=13956.0
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: chdk in the DIGIC6 or 7 world
« Reply #185 on: 04 / November / 2020, 03:45:19 »
May be an interval script with power down is a solution without reboot.
https://chdk.setepontos.com/index.php?topic=13956.0

I've read it, tried some things and concluded I'm no help (yet)
frustration is a key ingredient in progress

*

Offline c_joerg

  • *****
  • 1251
Re: chdk in the DIGIC6 world
« Reply #186 on: 04 / November / 2020, 04:03:06 »
Why not?
The power down function is like a reboot. The camera is restarted after each recording. I ran the script listed there for 14 days without problems on the M3. I will be reporting more about it in the next few days.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: chdk in the DIGIC6 world
« Reply #187 on: 04 / November / 2020, 04:27:13 »
Why not?

the M10 died, so at this moment I am without a digic6 cam to test.
but before i get a new (large sensor/afl/zoom at infinity) capable cam i will await your report.
i'm most interested if the tick counter is reset with your method, because that's why i want to reboot.
frustration is a key ingredient in progress


*

Offline c_joerg

  • *****
  • 1251
Re: chdk in the DIGIC6 world
« Reply #188 on: 04 / November / 2020, 04:48:57 »
i'm most interested if the tick counter is reset with your method, because that's why i want to reboot.

It is definitely always reset on my M3.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: chdk in the DIGIC6 world
« Reply #189 on: 04 / November / 2020, 11:00:05 »
Why not?

the M10 died,
:(  :blink:  :-[ I´ve reanimated some cams just by cleaning the battery contacts.
All lifetime is a loan from eternity.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal