[En-Nut-Discussion] RTL8019 Init Problem after power up
Pawel Czarnecki
apcom at tlen.pl
Mon Feb 28 10:36:24 CET 2005
> Which board revision and Nut/OS version are you using?
I build my own board, it is compatibile with Ethernut 1.3.
I have change only RTL base adress (to 0xFD00, because I need
more ram).
Nut/OS version 3.9.5.1.
Pawel
> At 22:09 27.02.2005 +0100, you wrote:
>> Hi!
>> I have a problem with realtek init. Sometimes after power up
>>function NutRegisterDevice(&DEV_ETHER, 0, 0) spends more
>>time and return 0 (all's ok), but (after net config etc) ping doesn't
>>work, and can't create any socket. After call CreateSocket, NutOS
>>send ARP packet, destination host send answer, and Nut re-send
>>ARP question. It looks like receive does not work.
>> Long delays (1s) between power on and RegisterDevice doesn't
>>change. I connected RTL reset line to atmega port, and manualy
>>reset (cbi, sbi, cbi reset bit) before register RTL device. It also
>>doesn't work.
>> Hardware reset on all board (without powering off) works great.
>> In this case (when RTL apear to be dead ) I try to manualy call
>> NicInit(). Its solve my problem and all work fine, but it create second
>> rxi5 thread.
>>
>>Question is:
>> how to kill one of rxi5 threads?
>>or
>> it is safe to rewrite NicInit() function that they check
>> thread list and don't create another rxi5 (if any exist)?
>>or is any else solve?
>>
>>thanks
>>
>>I hope it is readable ;-)
>>
>>Pawel
More information about the En-Nut-Discussion
mailing list