CHDK does NOT change camera's ROM/Flash - so to reset everything all you need to do is just unlock your SD card, format your SD card (either in camera or using PC with cardreader), remove batteries, wait about 3 seconds, insert batteries and use camera as usual.
first, thanks for your help
I tried that, and it didn't work (both with no memory card an with another SD card without CHDK)
Just for sure (not really needed), you can remove clock battery when removing main battery too.
that looks like a good idea, but I have no idea where the clock battery is, and the manual suggests it is not meant to be accessible to the user
The camera has a built-in date/time battery (backup battery) that allows the
date/time settings to be retained for about three weeks after the battery pack
has been removed.