SD, SPI, ehternet? is there a library somewhere using PDC or DMA

Hi.

I"m looking for a way to speed up my web server on Arduino DUE.

I Think one thing ccould be great is to use dma or a PDC to take file of web page from the sd card to send it directly to ethernet.

I wonder if so library is already available ?

Due is hook up with ethernet shield wiznet5100.

I saw fat16lib topic, but no code the except a zip to demonstrate a bug...

Regards

Nitrof

ethernet shield wiznet5100.

My understanding is that the 5100 chip has a relatively complicated data-transfer process, needing to specify the destination address of each byte sent. This makes it nearly impossible to use DMA to get any speedup, as well as slowing things down in general. You might want to look at the newer Ethernet shield V2, which uses the W5500 chip - it has sped up the data transfer protocol quite a lot.

Will try that. Good Idea.

I didn't knew there was so much difference between the 2 chip. I could have been cool to had a compare table on the shield description...

Regards

Nitrof

Hum.. receive the shield. I've been able to make server example to work but not the sd card... tell me that is not able to read, to check format. but it was working on my old shield...

Ok. Happy new year!

Holiday going, I finally test correctly the new shield... But strangely, it is slower than the old one... :o

this the thinking I get on browser:

w5100:

192.168.0.110 200 document Other 9.2 KB 1.91 s 
home.htm 200 xhr angular.js:8609 1.3 KB 317 ms 
ajax_inputs 200 xhr angular.js:8609 1.2 KB 290 ms 
ajax_inputs 200 xhr angular.js:8609 1.2 KB 296 ms

w5500

192.168.0.110 200 document Other 9.2 KB 2.32 s 
home.htm 200 xhr angular.js:8609 1.3 KB 381 ms 
ajax_inputs 200 xhr angular.js:8609 1.2 KB 351 ms 
ajax_inputs 200 xhr angular.js:8609 1.2 KB 357 ms

Regards.

Nitrof