Now, when I turn the camera on using the [turn on] button, the Canon logo appers for 15 secs and then appears the "Lens error". When I turn it on using the [playback mode] button, the Canon logo appears for 15 secs and then camera goes to playback mode.
When trying to go into shooting mode, can you hear any mechanical activity (noise) from the camera? Does the position of the lens appear normal?
You could try to get some more information out of the camera (it can give a hint about the kind of failure).
You could do this two ways:
1) Set up an SD card for Canon Basic scripting, and run the attached script. It should result in 2 or 3 new files on the card:
- firminfo.txt: firmware information along with some diagnostic codes and the list of recorded errors
- romlog.log: only appears if the camera's firmware or CHDK crashed at least once
- primary.bin: dump of your camera's firmware
2) If Canon Basic doesn't work, set up an SD card to autoboot CHDK, and run a script from CHDK (that will require a different kind of script)
To proceed with 1), set up a card for Canon Basic
- if you're on Windows, use EOScard:
http://chdk.wikia.com/wiki/EOScard (tick the "SCRIPT" box, then create a text file named script.req as explained
here)
- on a Mac, use MacBoot:
http://www.zenoshrdlu.com/macboot/macboot.html (click "Make Canon-scriptable")
Copy the attached extend.m file to the card, and leave the card unlocked. Start the camera with the playback button, and press SET (press it several times during and after the splash screen to be sure). Switch the camera off (wait for some seconds for the script to complete before) and see whether there's any new files on the card. You could zip them up and upload them to some file sharing site.
If the Canon Basic method doesn't work, we could try again from CHDK.