When the battery was connected, was
A: everything off in the vehicle?
B: did the last battery terminal connected (should be the negative) spark on connection?
Either of these will cause corruption of the software in various modules.
To cure it, try disconnecting the battery again for 10 minutes, then connect it again without sparking the connection, by slapping the terminal on quickly.