I have tried resort procedures but they did not work. I have now realised that it is because Arduino or Arduino shields cannot be used to update firmware. They can only be used for configuration purposes. I am getting another adapter and hope I will manage to get my module back.