WiFly GSX big problem

I have use the WiFly GSX Breakout 131C (not the shield one),I use it with PIC18F4550 and making the following connection for WiFly:

pin 18 connected to Gnd

pin 19 connected to Gnd

pin 20 connected to 3.3v

pin 21 connected to 3.3v

pin 24 connected to 3.3v (for Adhoc mode)

when using DC power supply

as mentioned in the manual

but i have the following Problem

after using TeraTerm i want to save my IP adderss and make reboot but when i power it again i get the default IP adderss

can any one help me

please if you can replay

it is very urgent :oops:

I have set the ip and saved it then reboot but I still have the same problem . I think this problem is due to that I still connect pin 24 to 3.3 V this pin mean that i connect to adhoc mode and always have the same IP 169.254.1.1

But if I couldn’t connect this PIN I can’t enter TeraTerm Program.If you can help me please replay

Regads

i replayed to your comment problem that you posted on cairohackerspace.blogspot.com

with a new solution, so check it out

may it help :wink:

Hi

to setup an IP address, you must disable DHCP (set ip dhcp 0). Also, because of this, you must setup the gateway and netmask.

Only this way will the Wifly get the IP address you want, and not the one given to the Wifly by the router.

To do this, see the Gateway and netmask definitions given by the router. I think you can get these by using the ‘get ip’ command. Afterwards, but before rebooting, type the following instructions:

set ip address xxx.xxx.xxx.xxx (with the ip address you want)

set ip dhcp 0

set ip gateway xxx.xxx.xxx.xxx (this is the IP address of your router)

set ip netmask xxx.xxx.xxx.xxx (this is usually 255.255.255.0, but maybe not for this case)

reboot

After thios reboot, you probably will have the IP address you wanted.

Cheers