I have two ATMEGA88 (master and slave) working correctly by sending a test[] via I2C.
Working enviroment: AVR Studio using C.
What I need is to allow the master be able to send a indicated file such as mydoc.txt to the slave.
Should I be using another application to build the UI? How can I connect a different IDE and make it work? Any pro? Or sample code?
Thanks!
In order to be able to send a file from one micro-controller to another, the master must be able to read the file from somewhere. If the file is small enough, you could bundle it into the the program code. The easier way to do this will be to convert the binary content into a C array.
If the file can't fit into the micro-controllers flash, one solution would be to use an external memory device. Another solution would be the master controller to communicate through RS-232 with a desktop PC to read the file.
AVR Studio is only used for programming and debugging. The actual action happens inside the microcontrollers.