SX720 Porting thread - page 17 - DryOS Development - CHDK Forum supplierdeeply

SX720 Porting thread

  • 163 Replies
  • 57336 Views
*

Offline srsa_4c

  • ******
  • 4425
Re: SX720 Porting thread
« Reply #160 on: 09 / May / 2020, 17:10:00 »
Advertisements
srsa_4c Did you download the file from: http://filebin.net/rw32z7gmyl that was posted on the 23rd of April, 2016? if so can you please post it. This might help expedite the porting process.
Attached (I'm guessing it's this one).

*

Offline reyalp

  • ******
  • 13348
Re: SX720 Porting thread
« Reply #161 on: 09 / May / 2020, 18:02:06 »
FWIW, given how much digic 6 support has advanced since 2016, I'd suggest working mostly from scratch may be the better approach. Aside from the task hook alignment issue, this should now be a straightforward port.

I'd also highly recommend using Ghirdra https://chdk.fandom.com/wiki/Firmware_analysis_with_Ghidra and the version tracking workflow https://chdk.fandom.com/wiki/Ghidra_Version_Tracking_workflow_for_porting
Don't forget what the H stands for.

*

Offline SX720

  • *
  • 43
Re: SX720 Porting thread
« Reply #162 on: 04 / July / 2021, 20:24:41 »
I just took another look at getting this ported.

I was able to verify that the LED address that was already discovered earlier is correct. This script: https://chdk.fandom.com/wiki/Canon_Basic/Scripts/MMIO_LED_Blinker works unmodified (the address is 0xd20b0994). It blinks the tiny green LED near the wheel which is near the func set button, not the bright auto focus assist LED.

Having this verified is very helpful because my next goal would be to try getting the camera to blink the led by building something with the CHDK code. I'm planning to take Reyalp's advice and start from scratch and use Ghidra when needed.

One interesting thing about Canon Basic for this camera is that the hello world scripts don't seem to display anything. Maybe I'm just doing something wrong or they flash on the screen too quickly? Either way I'm happy that scripting works at all. I was also able to run the FIRMINFO.TXT script but I didn't see anything helpful in the information in that file except maybe the firmware version which I already know.

Re: SX720 Porting thread
« Reply #163 on: 08 / July / 2021, 12:47:05 »
One interesting thing about Canon Basic for this camera is that the hello world scripts don't seem to display anything.
Sometimes that's a issue with the colors used - you may be seeing black text on a dark or black background?
 
Ported :   A1200    SD940   G10    Powershot N    G16


 

Related Topics