-->
Page 8 of 44

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Mon Nov 10, 2014 3:32 pm
by Necromant
alonewolfx2 wrote:coolterm issue. you are right. putty working well.
but its not booting when i connect led to gpio 0 or gpio2 and power up module. why?


Weird, I have leds on both GPIO0 and GPIO2, the work fine and I can toggle them with gpio command with no problem.

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Mon Nov 10, 2014 3:35 pm
by alonewolfx2
gpio commands working well if no connection gpio0 or 2 before booting. but its not booting when i connect pins to led and power up.


Necromant wrote:
alonewolfx2 wrote:coolterm issue. you are right. putty working well.
but its not booting when i connect led to gpio 0 or gpio2 and power up module. why?


Weird, I have leds on both GPIO0 and GPIO2, the work fine and I can toggle them with gpio command with no problem.

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Mon Nov 10, 2014 3:47 pm
by alonewolfx2
what i am missing?

Code: Select allblackblade > ifconfig
sta0: WiFi Client Interface
     state: Connected
     inet addr:192.168.2.171 Mask:255.255.255.0 Gateway:192.168.2.1

blackblade > ifconfig sta0 192.168.2.172 255.255.255.0 192.168.2.1
Setting new IP info FAILED ;(

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Mon Nov 10, 2014 3:52 pm
by Necromant
Espressif's API only allows to set a new IP address in system_init once on system startup (Doh!). Once I have environment in flash, ifconfig will set a new IP in environment and reboot.