Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Atmega128 (SCL\INT0) PD0 with IIM7010A module

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP
View previous topic :: View next topic  
Author Message
Hustlar

Bascom Member



Joined: 19 Jul 2007
Posts: 4
Location: Germany

zimbabwe.gif
PostPosted: Sat Jul 28, 2007 10:02 pm    Post subject: Atmega128 (SCL\INT0) PD0 with IIM7010A module Reply with quote

I am working on a webserver using Atmega128 and a IIM7010A module, since i need to use the pin PDO for the SCL and at the same time INT0(in [i]config Tcpip = Int0[\i]), can i use INT4,5,6,7 instead of INT0 which i would have already used-in the bascom index they say i have ti use INT0 to configure Tcpip and i have tried with INT4 but my code gets stuck on [i]config Tcpip = Int0[\i].

My main question is, is it possible then to use Atmega128 as a controller for my webserver? if yes, how then can i configure Tcpip?

hope to get your responses

cheers

_________________
Peace
Back to top
View user's profile MSN Messenger
Frankeman

Bascom Member



Joined: 11 Aug 2004
Posts: 948
Location: the Netherlands

netherlands.gif
PostPosted: Sun Jul 29, 2007 8:28 am    Post subject: Reply with quote

Hi, and welcome to this friendly forum.

You can use another Int for Config TCPIP other than Int0.

Underneath are some statements from the Bascom AVR help.

The interrupt to use such as INT0 or INT1.
The CONFIG TCPIP statement may be used only once.
Interrupts must be enabled before you use CONFIG TCPIP.
Configuring the W3100A will init the chip.
After the CONFIG TCPIP, you can already PING the chip!

Frank.
Back to top
View user's profile
Hustlar

Bascom Member



Joined: 19 Jul 2007
Posts: 4
Location: Germany

zimbabwe.gif
PostPosted: Tue Jul 31, 2007 8:22 am    Post subject: Reply with quote

perfect!

Thanks, it works well now:)Smile

Peter

_________________
Peace
Back to top
View user's profile MSN Messenger
Arera

Bascom Member



Joined: 23 Sep 2007
Posts: 386
Location: Wuppertal, Germany

germany.gif
PostPosted: Mon Sep 24, 2007 1:39 pm    Post subject: Your Signature Reply with quote

Hi Peter,

Iīm shure you didnīt know:

Your signature "Arbeit macht frei" is a Nazi-Slogan (Poor translation: "Working means freedom"). The wrote it on the KZ-Gates as a "welcome" for those millions who where killed then. You might have a lot of work, and Iīm happy itīs satifying to you, but please change you signature!
Please give a short reply, so everyone can see you read this hint, and you realy changed the signature.
Thanks, Marc
Back to top
View user's profile
Hustlar

Bascom Member



Joined: 19 Jul 2007
Posts: 4
Location: Germany

zimbabwe.gif
PostPosted: Mon Sep 24, 2007 3:34 pm    Post subject: Reply with quote

Thanks man!

I didnt know, and i apologize to all who might have been offended.

peace

_________________
Peace
Back to top
View user's profile MSN Messenger
Arera

Bascom Member



Joined: 23 Sep 2007
Posts: 386
Location: Wuppertal, Germany

germany.gif
PostPosted: Mon Sep 24, 2007 5:08 pm    Post subject: Reply with quote

Cool cool...

peace, Marc
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP 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