| Author |
Message |
BeTZ
Joined: 16 Mar 2007 Posts: 29 Helped: 1
|
18 Mar 2007 14:13 avr + rtl8019as project |
|
|
|
|
Hello all,
I'm a 3'rd year student in Indonesia. I've had an experience in programing AVR using C language.
Now i have project to build an embedded Ethernet using RTL 8019AS and AT89S52 as controller.
My goal is just connect my device to a computer and the computer will control my device. And then that device will do what the computer command (e.q turn on led).
I've built this device, RTL 8019AS is used as external memory by AT89S52. It's started at 8000H. I use Keil C and MON 51.
I need some literature about RTL 8019AS that explain how RTL 8019AS works with ISA Bus. Because in my opinion, MCU is used as computer by RTL 8019AS.
|
|
| Back to top |
|
 |
banjo
Joined: 24 Dec 2005 Posts: 644 Helped: 118
|
19 Mar 2007 18:39 8019as 8051 |
|
|
|
|
There is an existing open source project that should help you. It is using the same Ethernet chip along with a ATMEGA microcontroller. The project is the Ethernut.
http://www.ethernut.de/
I looked into this some years ago. The RTL 8019AS can be configured into 8 bit mode. This way, you only have to worry about transferring a byte at a time which makes it much easier on your port resources. From the open source code at the site listed above, you can see how they are emulating the ISA accesses.
|
|
| Back to top |
|
 |
vw_seb
Joined: 18 Mar 2007 Posts: 4 Helped: 1
|
19 Mar 2007 21:02 module 8019as |
|
|
|
|
| Hi, I am on a similar project with RTL8019As and PIC18F4420, If you want some code I can't post you or you can't visit this website http://jmandon.free.fr/
|
|
| Back to top |
|
 |
BeTZ
Joined: 16 Mar 2007 Posts: 29 Helped: 1
|
20 Mar 2007 3:36 8051 ethernet rtl |
|
|
|
|
thanks all,
n banjo, can i ask one thing....,
could u tell me how to check that my MCU is connected with my RTL ??
i've check that this way, by accessing the 800AH (RTL ID0)address using pointer but there is nothing happened (output in P1). is my way correct ?
or RTL need initialization before used.
thanks for help.
|
|
| Back to top |
|
 |
Google AdSense

|
20 Mar 2007 3:36 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
yogi
Joined: 08 Jan 2005 Posts: 345 Helped: 17
|
20 Mar 2007 7:28 rtl8019as + keil |
|
|
|
|
why can't you go for simple parallel port,serial port interfacing. If you want to use ethernet port interfacing with computer, it is a tough task. I had done it earlier with RTL8019AS,for that you had to implement TCP/IP stack on AVR which is complicated. If you want to use open source, search 'uip' in google, then you will get help, if you don't have knowledge of networking and tcp/ip protocols,you better go for parallel port/serial port.
bibin john
www.bibinjohn.tk
|
|
| Back to top |
|
 |
laur3nt1us
Joined: 15 Mar 2007 Posts: 6 Helped: 1 Location: Indonesia
|
20 Mar 2007 12:55 8019as source open |
|
|
|
|
maybe this can helpful you to finish your project
|
|
| Back to top |
|
 |
banjo
Joined: 24 Dec 2005 Posts: 644 Helped: 118
|
20 Mar 2007 14:34 rtl8019as |
|
|
|
|
Hi BeTZ,
I guess I was not clear enough. I never really built this device. I only researched it some time ago. It did not do what I needed, so I did not develop the project.
If the device is not responding, then I would suspect that something is not connected right or the appropriate ports on the microcontroller are not configured right.
Perhaps this other list would help you.
http://members.home.nl/bzijlstra/software/examples/RTL8019as.htm
This gentleman has connected the 8019 to an AVR and used the BASCOM basic compiler. BASCOM used to have a free version with a limited size and supported the 8051. Perhaps you could port at least the starting point of his code to the 8051 and then use it to test out your hardware.
Another site that deals directly with the 8051 was already mentioned above by laur3nt1us. If you dig through this site you will find details on starting up and configuring the chip.
http://web51.hw-server.com/packet52.html
|
|
| Back to top |
|
 |
phuongnt
Joined: 06 May 2005 Posts: 3
|
03 May 2007 17:01 initialization rtl8019 |
|
|
|
|
This project is for PIC 16F877A but I think it is very useful for you.
http://hyper.sunjapan.com.cn/~hz/PIC/picnic/index.html
Cheers,
Phuong
|
|
| Back to top |
|
 |
silelis
Joined: 08 Aug 2007 Posts: 1
|
15 Aug 2007 12:53 ethernut indonesia |
|
|
|
|
Can You help me with MMLan2 Ethernet module based on RTL8019AS, and CCS compiler. I 've got hardware, but I can not check if it's working. I wrote simple code to check it. It initialize RTL8019AS (ethernet module in PC is up), but do not send eny data (Ethereal sniffer do not receive any packet).
If someone will able to give me advice I 'll send him extra informations and code.
I'm looking for help everywhere but till now no one replied on my question.
|
|
| Back to top |
|
 |