Quote from: philmoz on 19 / May / 2019, 21:29:35The '-x W' option worked for the G5X; but no luck with the G7X2 (gives the "Update file error" message).The checksum seems to be word based, so using '-x W' is correct.Turns out, parts of the fi2 validation process can be run individually. In sub_E04B3DBC, these are functions that get the open()'d FI2 file's descriptor as argument.Functions with a single argument: sub_E052671E, sub_E05267F4, sub_E0526794Function with 3 args: sub_E05266B8, see usage in disassembly.Can you check the return values from these functions?You can do that from Canon Basic, either printing the result on screen or to a file. The exec eventproc can be used to call a firmware function, similarly to "our" call_func_ptr.Correct LCDMsg usage can be found in https://chdk.fandom.com/wiki/Canon_Basic/Scripts/Dumper#Improved_universal_dumperThe exec, Open, Close eventprocs are registered by System.Create.
The '-x W' option worked for the G5X; but no luck with the G7X2 (gives the "Update file error" message).
Early in the startup (just after stdio setup) it calls a function at 0xe051e07c which calls 0xe04f0d9c (this is FW 1.01a).(...)The store operation to 0xc1001f00 hangs the camera - I can blink the LED before this instruction; but not after.
Started by photonoob
« 1 2 »
General Discussion and Assistance
Started by reyalp
« 1 2 »
Started by lireboy
Started by Skumgummifabriken
« 1 2 3 »
General Help and Assistance on using CHDK stable releases
Started by xlebronx