im trying to figure out if it is possible to read data with the ATMEGA16U2 from the ICSP interface. But lets start from the beginning to give all of u a better overview and may find some buggs in my thoughts.
I am working with a Taijiuino Due R3 with an ATSAM3X8E, a Taijiuino Due Prog (usb to serial) with an ATMEGA16U2 and a ethernet module. Here's a link for a better description: http://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=2230
Now what I am going to try: I want to send a program through the ethernet to my ethernet module which one is on the ATSAM3X8E board. The ATSAM3X8E should send the programm to the ATMEGA16U2 which one loads the programm on a memory. The memory will sit on the ICSP interface. The ATMEGA16U2 and the ICSP interface are on the same board. After the whole program gets written into the the memory, the ATMEGA16U2 will download the program. The ATMEGA16U2 will programming the ATSAM3X8E with the programm.
I do not know how the memory on the ICSP interface will look like atm. It is more important to me to know if it's even possible to do it in that way? Have a nice day!