Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Big problem!!!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive
View previous topic :: View next topic  
Author Message
elcomportal

Bascom Member



Joined: 12 Jun 2005
Posts: 51
Location: germany

blank.gif
PostPosted: Mon May 01, 2006 5:12 pm    Post subject: Big problem!!! Reply with quote

Hi,
my problem with udpwrite is not solved. Please look at my code again. Who have an idea? It's very urgent!

I have attached the circuit file. You can show it with EAGLE.

The reset pins of the RTL8201BL and the W3100A are not connected like in the circuit. I have connected them with resistors and capacitors like in the data sheet. But the same problems. And also with different boards. I have 4 boards and with all of them i have the same problems.

Every time, when i have sent a count of bytes with UDPWRITE, it fails. Then the receiver get the same count of bytes but all of them are garbage. After that it works fine for the same count of bytes and so on...

What'S that? You can see, that i work with the Mega 64. Is it a problem when i use this processor?
I have tryed a lot of values for stacks and frame size... But ever with the same bad result.

My program is similar to the sample program from BASCO AVR. I send in a loop every time the same like

Sstr = "Hello"
Result = Udpwritestr(192.168.0.3 , 5000 , Idx , Sstr , 255)

but after approx. 70 times it fails. The receiver get only garbage. And after the same times like befor it works fine for 70 times and so on...

Please help me as fast as possible. It's very urgent!!

Best regards
Torsten

_________________
high current makes you small, black and ugly!!
Back to top
View user's profile Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum