It was the SD card that I was using. It was a cheap one. Replaced it with a better one and the card was read fine.
Thanks again sniffle