Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

REQ:AT*MEL's @Web TCP/IP Stack Library for Ke*il

Status
Not open for further replies.
ZeRoN said:
Dear usbman,

I haven't use ATMEL processor yet. I'm waiting for ATWeb_EVK01.

Regards,

Search for the address of _IP_CHECK in the *.m51 file
and patch it with RET.

IP_Check is called at various places in the code
Init_??? for example

usbman
 

Yes, I saw the strange code too!?!?!? 8O
It have called and NOK, jump to random place.

Look like protection.

I will try to patch to immediately RET.
Thankyou so much.

I change tcpip.lib for permanently bypass __IP_CHECK.
offset 0x5F30 0xE4 -> 0x22 (CLR A -> RET :bypass)
offset 0x5F52 0x22 -> 0xE4 (RET -> CLR A :correct library checksum)
 

ZeRoN said:
I change tcpip.lib for permanently bypass __IP_CHECK.
offset 0x5F30 0xE4 -> 0x22 (CLR A -> RET :bypass)
offset 0x5F52 0x22 -> 0xE4 (RET -> CLR A :correct library checksum)
Thanks for for the calculations
patching the lib is ways better than always patching the app.

BTW:
The lib is rather inefficient in some cases.
The TX/RX module could be much more optimized even in C

usbman
 

can i use this stack for non atmal processors as well.
i want to use it in an 80c535uc with an external ethernat chip.
hock
 

Yes.

Dear Everyone,

I said:
I haven't use ATMEL processor yet. I'm waiting for ATWeb_EVK01.
I'm using Phillips P89C51RD2 on my exists system, to evaluate
ATWeb tcp/ip stack before EVK01 arrived.

Is there more details of ATWeb TCP/IP stack library?
How to config PPP nigotation?
How to disable it?

(to put my own PPP connection, then use only their TCP/IP stack)
I'm finding answer for above questions.
but I've found a way to disabled PPP.
(not so good look, did't tested yet!)

Code:
void main(void)
{
   //Hardware Initialize
   //Doing my PPP connection
   ...
   EA=1;       // Disabled all IT
   I_AM_SERVER=TRUE;
   network_init();
   state_control_protocol|=LINE_OK|LCP_OK|PAP_OK|IPCP_OK;
   EA=1;       // Enable all IT
   for(;;) doing_server_processes();
}
Could anyone recommend me better ways?
Thankyou in advance.

Regards,
ZeRoN
 

Dear everyone,

The above way don't work!

Today, I've got received ATWebEVK-01.
It came with KE*IL demo CD release 07.2002 (C51 v7.0)
and ATWeb library CD, all files same as posted in this topic.

No book, No manual, Nothings in details about PPP. :evil:

ZeRoN
 

Hi Victor,

Yes, you are right. The ebook was posted before a stupid man pump his muscle and blood into d_ck.
Scroll down through post **broken link removed**

I believe ZeRoN feels terrible frustrated because instead documentation received a battery. I know that feeling, too.

Regards,
Silvio
 

Dear all,

Silvio said right, why battery came instead of a useful little book?
html help have no useful informations.

I've success PPP connection by code from Microchip AN724
and I've finished implement TCP/IP from CC #146, now all work.

I just disappoint with ATWEB kit. :(
It seem designed to use with built-in modem,
demo code is poor, manuals are poor, everythings!
but onething is ok, I can use it's hardware for other purpose. :twisted:

Regards,
ZeRoN
 

I don't know if has been posted before on forum, but at least worths take a look:
Connecting an M68HC08 Family Microcontroller to an Internet Service Provider (ISP) Using the Point-to-Point Protocol (PPP)
**broken link removed**
For software you must accept a license agreement at:
**broken link removed**

Well, even if it's not a 8051, but the source is in C.

Regards,
Silvio
 

I created a a new netlib.a51 file for the ATMEL TCP IP lib as a replacement
for the build in network_lib module.

you can remove the build in one and replace it with the new module
using lib51.exe

usbman
 

Dear usbman,

I've interest you OMFview tool.
It's seem useful to browse OMF file.

Could you plz share for us? or recommend other tool like this?

Regards,
ZeRoN
 

ZeRoN said:
Dear usbman,

I've interest you OMFview tool.
It's seem useful to browse OMF file.

Could you plz share for us? or recommend other tool like this?

Regards,
ZeRoN

I have written some of that tools by myself. There are still tons of bugs
because most of the OMF2 records are not documented at all.
Therefore it needs much rework...

Anyway here it is

Cheers usbman
 

Thankyou usbman,

I would like to share my own PPP packet analyser.

The limitation of my own packet analyser is,
it can analyse only TEXT file, export from
"Request view" of RS232 captured by HHD serial monitor.

Please see sample text file in the package.

It may useful to someone playing with PPP. :)

Regards,
ZeRoN
 

Some nodes on my OMFView:

- don't unmark Intel until you you are working with Rigel Libs
- the text output will stop after 32k but the log files are fine
- the program will generate seperate logs and bins for each module
found in the lib (in the currend dir)
- there are still several record types which are not recognized

usbman
 

dacadc said:
Which are test results on non-Atmel CPU?
you can use Zerons patch or my NET_LIB.a51 for non ATMEL mcus.
If you are using my a51 file don't forget to set OPTIMIZE ....

usbman
 

Hi,

Please help me i want source code for dailing server using GPRS or CDMA modem using PPP and connectet to website from there i want to download data.

Please help me with PPP and TCP/IP stack for 8051
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top