I suspect that cameras which crash or hang after a remote shooting session (after going back to play mode) may miss the physical files on the card.
The only problem with this is that it really clears all files known to the firmware (under DCIM/)
Could you temporarily rename DCIM into TCIM or whatever on the card, fire the PT_EraseAllFile and after that rename the folder back?
0x00 ff0ce9c80x04 ff0cd0200x08 0000020d0x0C 000000000x10 00000000 0x14 000000000x18 00000000 0x1c e1cd702c
Spent some time looking at this on elph130, which does not have the PT_EraseAllFile eventproc or anything obviously related.
Interesting.The two callbacks are referenced right after "PB.S_Meta" gets logged to the camera log. The function that takes them as argument takes 0x41 as first argument (the letter 'A', returned by a function that is used to return the only drive letter that exists on the camera). Could be something like "search the drive for (new) meta-data".
Oh, looks like I forgot about an important detail: That eventproc simply calls taskcreate_FileManMarkAllTask with certain parameters. I believe there still is an equivalent function in newer cameras, but it's no longer exported as eventproc: sub_ff416944 in your fw. It's referenced in one of the jumptables.
Some more info on FileManMarkAllTask: it's called whenever image/video deletion is requested from the Playback menu. I haven't seen any input parameters carrying information about which files need to be gone, so the task has to figure that out somehow. I think that files selected for deletion carry a flag in their internal object descriptor.Deletion of single images does not invoke the task.
There's usually a shortcut for deleting an image in rec review immediately after shooting (press trash while still holding the shutter in non-continuous mode.) Testing on my D10, the image file is already written at this point. so it must remove whatever thing that trips up MetaCtg task when you switch to play.
Started by cyril42e « 1 2 » General Discussion and Assistance
Started by Dr.Pat « 1 2 3 » Feature Requests
Started by Sedric General Help and Assistance on using CHDK stable releases
Started by Dave the Wave General Help and Assistance on using CHDK stable releases
Started by Hardware_Hacker General Discussion and Assistance