Hi,
My web server seems not work after building ESP8266_IOT_PLATFORM and flashing my firmware as below:
-----------------
make[1]: Leaving directory `/data/esp8266/ESP8266_IOT_PLATFORM/libesphttpd'
xtensa-lx106-elf-gcc -L/data/esp8266/ESP8266_RTOS_SDK/lib -Wl,--gc-sections -nostdlib -T/data/esp8266/ESP8266_RTOS_SDK/ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lcirom -lmirom -lgcc -lhal -lphy -lpp -lnet80211 -lcrypto -lwpa -lmain -lfreertos -llwip -lssl -ljson -lsmartconfig -lpwm -L./libesphttpd -lesphttpd -lwebpages-espfs user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a upgrade/.output/eagle/debug/lib/libupgrade.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
!!!
SDK_PATH: /data/esp8266/ESP8266_RTOS_SDK
BIN_PATH: ./bin
No boot needed.
Generate eagle.flash.bin and eagle.irom0text.bin successully in BIN_PATH
eagle.flash.bin-------->0x00000
eagle.irom0text.bin---->0x20000
------------------------------------------------------
wolf@wolf-pc:/data/esp8266/esp-open-sdk$ python esptool/esptool.py --port /dev/ttyUSB0 chip_id
esptool.py v1.2
Connecting...
Chip ID: 0x00ce2557
wolf@wolf-pc:/data/esp8266/esp-open-sdk$ python esptool/esptool.py --port /dev/ttyUSB0 write_flash --flash_mode qio --flash_size 16m 0x00000 ../ESP8266_IOT_PLATFORM/bin/eagle.flash.bin 0x20000 ../ESP8266_IOT_PLATFORM/bin/eagle.irom0text.bin
esptool.py v1.2
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0030
Writing 36864 @ 0x0... 36864 (100 %)
Wrote 36864 bytes at 0x0 in 3.2 seconds (92.0 kbit/s)...
Writing 339968 @ 0x20000... 339968 (100 %)
Wrote 339968 bytes at 0x20000 in 29.5 seconds (92.3 kbit/s)...
Leaving...
----------------------------------------------------
My phone connected to ESP8266 SoftAP and got ipaddress 192.168.4.2
But fail to connect the following web site:
Http://esp.nonet/index.html
-------------------------------------------------
my UART output are all HEX codes in attached file(Screenshot from 2017-03-29 10:53:58.png).
web server not work after building ESP8266_IOT_PLATFORM
Re: web server not work after building ESP8266_IOT_PLATFORM
Postby pratik » Fri Apr 07, 2017 2:37 pm
It might be a DNS issue?
Did you try 192.168.4.2/ instead of using the domain name?
Did you try 192.168.4.2/ instead of using the domain name?
how ESP8266 send data by source code? (not by AT command)
Postby wolf » Fri Apr 07, 2017 5:03 pm
Hi Pratik,
Thank you!
I gave up RTOS SDK and playing with AT commands now. ESP8266 can Tx/Rx data by AT+CIPSTART and AT+CIPSEND.
My request is ESP8266 needs to send "11,!11" when she got the following example input:
---------------------
+IPD,6:deg=11
OK
--------------------
any idea to implement this by changing the source codes? (in user_main.c?)
Thank you!
I gave up RTOS SDK and playing with AT commands now. ESP8266 can Tx/Rx data by AT+CIPSTART and AT+CIPSEND.
My request is ESP8266 needs to send "11,!11" when she got the following example input:
---------------------
+IPD,6:deg=11
OK
--------------------
any idea to implement this by changing the source codes? (in user_main.c?)
Who is online
Users browsing this forum: No registered users and 326 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.