Its not hard to imagine that he could not read or write. To the best of my knowledge there is no accont in history that shows Rasoolullah wrote. There were very few people in Arabia that could read or write, so any from prominent families were also not able to read or write.
The SAHIH AHADITH themselves show that he knew how to read and write.