pipertzisdimitris:
That i have in mind is to send it by a hyperterminal program. My code sample is corect?
No your code is not correct but it is a good start. The variables for address and data never get filled in before sending.
Can you show an example of the text file? How does the master know which slave to send it to? Is that part of the file or is there some other method of determining the destination?