??? 03/08/05 07:52 Read: times |
#89255 - dp83905 connected at89c51rc NO data. |
I have an old ne2000plus isa ethernet card connected up to my Atmel 51rc. I can get it to soft reset load register and write register BUT when it comes to getting a packet from the remote DMA port then
I get nothing. The code I am using is for the Packet Wacker from edtp.com (rtl8019as) and when I have the packet wacker connected It works. What is the difference in the DMA port between the rtl8019as and the dp83905? Different recieve location? code eg: (from 'get_packet' called after and interrupt and ISR says PRX both verfied to be working. the code below does NOT get valid data) //execute Send Packet command to retrieve the packet write_rtl(CR,0x1A); for(i=0;i<4;++i) { read_rtl(RDMAPORT); pageheader[i] = byte_read; } Definition: ~ #define txstart 0x40 #define rxstart 0x46 #define rxstop 0x60 ~ //Only A0-A4 connected A8-A9 High Base IO=0x300 #define CNTR2 0x0F #define RDMAPORT 0X10 #define RSTPORT 0x18 Thanks, |
Topic | Author | Date |
dp83905 connected at89c51rc NO data. | 01/01/70 00:00 | |
No help, but... | 01/01/70 00:00 | |
Edtp web site | 01/01/70 00:00 | |
Datasheets? | 01/01/70 00:00 | |
The datasheets. | 01/01/70 00:00 | |
Solved![]() | 01/01/70 00:00 |