If anyone is looking for a good book about the history of Fermat's Last Theorem I can thoroughly recommend Simon Singh's book about it [1], which is both accessible for those without a strong maths background (like myself) and paints a wonderful history of mathematics as well. In places it's more entertaining than fiction.
[1] http://www.amazon.co.uk/Fermats-Last-Theorem-confounded-grea...
Given the eventual proof of Fermat's last theorem there's a solid argument that Fermat hadn't successfully proved it (and certainly couldn't have in the way it was eventually done), but it's also far from clear whether he actually believed he had.