Hi, you need to key *#0000# from the standby screen to get firmware version.
I'm not sure how you can fix this problem, but i would try connecting your device by the "mass storage method" to see if that works. If so, then make a backup of the Hard Drive to the pc. Then format the phone memory, see if that works. Else you may have to contact a nokia service center unless anyone else can help you.