Statistics: Posted by vad7 — Wed Mar 08, 2017 2:30 pm
Code:
#define PRIV_PARAM_START_SEC 0xFC
#define ESP_PARAM_START_SEC 0xFD
Code:
/usr/local/bin/esptool.py --port /dev/cu.usbserial-DA01LUCA write_flash --flash_size 32m \
0x00000 firmware/0x00000.bin \
0x40000 firmware/0x40000.bin \
0x0fc000 16kblank.bin \
0x3fc000 16kblank.bin \
0x3fc000 /Volumes/esp8266/esp-open-sdk/sdk/bin/esp_init_data_default.bin
Statistics: Posted by DavidDPD — Tue Sep 20, 2016 6:37 am
Code:
r...lØrß.#.ânÀ.à....ì.p<ß.ì8.ßÇÜä.p...ònnä.Ä;ònÄÜä...bç$r..r..pònàÜ...àÇÀl......b.nâãnÀÄ.lØ..p..ònnî.ÄÁ.l`.ü.Ü#nÀ.;....nrß;.ÄÀ.?.Ü;.pònàÃÜ..àrÇ.âÜ......p..pÜ<.ÄÄ..8..ònnî.ÄÈ..r...Ü#nÀ.r....nrß;.ÄÀ.?8r..pònàÃÜ...àrÇ.âÜ......p..pÜ<.ÄÃ..â..à.bÀľ~ònî.ÄÀ..r...Ü#nÀ$l`.ä8`rn|nÀ..à.8r...rßÛnÀ..à.8r..âÜçÉ8.ò. ±..ì.r..âÜçÉ8ì.ò. ±....r..âÜçI8.û.0±..l.r..r..Nÿ[DEBUG][../dpdChatFabric/cfConfig.c:_cfConfigRead:161] Starting Config Read, fromStr = 0
[DEBUG][../util/util.c:_cfConfigRead:166] Config String, RAM, preload :: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[DEBUG][../util/util.c:_cfConfigRead:174] Config String, RAM, post-load :: a5000000 000b0000 00000c00 00000105 00000000 00000000 00000000 00000000
[DEBUG][../util/util.c:cfConfigWrite:415] Config String: a5000000 000b0000 00000c00 00000105 00000000 00000000 00000000 00000000 06291642 80476b11 81800d60 01940924 662f0000 00020f00 00000012 00000001 15000000 01180000 00011300 00000014 00000000 230264a8 c02400ff ffff2502 64a8c026 0264a8c0 270264a8 c0280264 a8c01901 fa10ac1a 00ffffff 1b01fa10 ac1c01fa 10ac1d01 fa10ac29 00000000 00000000 00000000 00000000 2a000000 00000000 00000000 00000000 002b0000 00000000 00000000 00000000 00002c00 00000000 00000000 00000000 0000002d 00000000 00000000 00000000 00000000 2e000000 00000000 00000000 00000000 001e0000 00000000 00000000 00000000 00001f00 00000000 00000000 00000000 00000020 00000000 00000000 00000000 00000000 21000000 00000000 00000000 00000000 00220000 00000000 00000000 00000000 00000e63 662d3630 30313a39 3430393a 32343636 00000000 00000000 00000000 00000010 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 11657370 38323636 2164656d 6f000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00166465 6d6f0000 00000000 00000000 00000000 00000000 00000000 00000000 00001764 656d6f31 32333400 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[DEBUG][../util/util.c:_createKeyString:473] Keys Public: bc902653 82ef9cc1 6350f4e1 c2605149 88bb1cde 1af2f45d 3207952c 831f6455
[DEBUG][../util/util.c:_createKeyString:475] Keys Private: 67de4089 401979b7 a6a965c4 81c5e202 c8cbb466 96559080 e639c0cb 3fafc1c7
[DEBUG][../util/util.c:cfConfigWrite:419] Keys String: 01bc9026 5382ef9c c16350f4 e1c26051 4988bb1c de1af2f4 5d320795 2c831f64 550267de 40894019 79b7a6a9 65c481c5 e202c8cb b4669655 9080e639 c0cb3faf c1c7
[DEBUG][../util/util.c:cfConfigWrite:429] Config String, RAM, presave :: a5000000 000b0000 00000c00 00000105 00000000 00000000 00000000 00000000
[DEBUG][../dpdChatFabric/cfConfig.c:cfConfigWrite:434] ESP Save With Protect - SUCCESS.
[DEBUG][../util/util.c:cfConfigWrite:438] Config String, RAM, postsave :: a5000000 000b0000 00000c00 00000105 00000000 00000000 00000000 00000000
[DEBUG][user/user_main.c:user_init_stage2:653] reading pair config
[DEBUG][../dpdChatFabric/cfPairConfig.c:cfPairRead:237] Got Length as f1 6f000000 2159
[DEBUG][../dpdChatFabric/cfPairConfig.c:cfPairRead:296] ========>: cfPairRead
[DEBUG][../util/util.c:cfPairRead:297] shared key: af973adf ead4543a f6e878c6 70bc48b4 8791e1ef be38105c f894d4d0 492c9e60
[DEBUG][../util/util.c:cfPairRead:298] nonce: 0d9527c8 8a647a96
[DEBUG][../util/util.c:cfPairRead:299] mynonce: 0419e5c5 87c146d0
[DEBUG][user/user_main.c:user_init_stage2:666] UUID0 : 00000000-0000-0000-0000-000000000000
[DEBUG][user/user_main.c:user_init_stage2:669] UUID0 : 29164280-476b-1181-800d-600194092466
[DEBUG][user/user_main.c:gpioInitFromConfig:202] === Setting: 0 Top Outlet 0 12
[DEBUG][user/user_main.c:gpioInitFromConfig:202] === Setting: 1 Bottom Outlet 0 13
[DEBUG][user/user_main.c:gpioInitFromConfig:202] === Setting: 2 yellow14 0 14
[DEBUG][user/user_main.c:gpioInitFromConfig:202] === Setting: 3 yellow16 0 16
mode : sta(60:01:94:09:24:66)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
connected with demo, channel 1
dhcp client start...
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:43] connect to ssid demo, channel 1
ip:192.168.1.231,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:66] ip:192.168.1.231,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][driver/ntp.c:ntp_get_time:118] starting
[DEBUG][driver/ntp.c:ntp_get_time:133] ntp array set
[DEBUG][driver/ntp.c:ntp_get_time:155] selecting Ip address
[DEBUG][driver/ntp.c:ntp_get_time:160] memcpy ip
[DEBUG][driver/ntp.c:ntp_get_time:167] selected
[DEBUG][driver/ntp.c:ntp_get_time:183] return
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:29] station_if ip
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:34] Setting Up mDNS; ip:192.168.1.231
host_name = cf-6001:9409:2466
server_name = _exp1._tcp.local
[DEBUG][driver/ntp.c:ntp_udp_recv:79] start
[DEBUG][driver/ntp.c:ntp_udp_recv:114] return
pm open,type:2 0
bcn_timout,ap_probe_send_start
ap_probe_send over, rest wifi status to disassoc
state: 5 -> 0 (1)
rm 0
pm close 7
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:52] disconnect from ssid demo, reason 200
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
connected with demo, channel 1
dhcp client start...
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:43] connect to ssid demo, channel 1
ip:192.168.1.231,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:66] ip:192.168.1.231,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][driver/ntp.c:ntp_get_time:118] starting
[DEBUG][driver/ntp.c:ntp_get_time:133] ntp array set
[DEBUG][driver/ntp.c:ntp_get_time:155] selecting Ip address
[DEBUG][driver/ntp.c:ntp_get_time:160] memcpy ip
[DEBUG][driver/ntp.c:ntp_get_time:167] selected
[DEBUG][driver/ntp.c:ntp_get_time:183] return
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:14] Closing mDNS (1)
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:29] station_if ip
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:34] Setting Up mDNS; ip:192.168.1.231
host_name = cf-6001:9409:2466
server_name = _exp1._tcp.local
[DEBUG][user/user_main.c:clock_loop:380] 1473651540
[DEBUG][user/user_main.c:adcBultin:552] [perUnit: 00.000] ADC0: 006e : volts 00.000
[DEBUG][driver/ntp.c:ntp_udp_timeout:58] start
[DEBUG][driver/ntp.c:ntp_udp_timeout:75] return
[DEBUG][user/user_main.c:ntpTimer_loop:356] [NTP] Timeout ; from server 208.75.88.4
pm open,type:2 0
state: 5 -> 2 (7c0)
rm 0
pm close 7
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:52] disconnect from ssid demo, reason 7
reconnect
state: 2 -> 0 (0)
scandone
no demo found, reconnect after 1s
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:52] disconnect from ssid demo, reason 201
reconnect
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
connected with demo, channel 4
dhcp client start...
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:43] connect to ssid demo, channel 4
ip:192.168.1.231,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:66] ip:192.168.1.231,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][driver/ntp.c:ntp_get_time:118] starting
[DEBUG][driver/ntp.c:ntp_get_time:133] ntp array set
[DEBUG][driver/ntp.c:ntp_get_time:155] selecting Ip address
[DEBUG][driver/ntp.c:ntp_get_time:160] memcpy ip
[DEBUG][driver/ntp.c:ntp_get_time:167] selected
[DEBUG][driver/ntp.c:ntp_get_time:183] return
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:14] Closing mDNS (1)
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:29] station_if ip
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:34] Setting Up mDNS; ip:192.168.1.231
host_name = cf-6001:9409:2466
server_name = _exp1._tcp.local
[DEBUG][driver/ntp.c:ntp_udp_timeout:58] start
[DEBUG][driver/ntp.c:ntp_udp_timeout:75] return
pm open,type:2 0
[DEBUG][driver/ntp.c:ntp_get_time:118] starting
[DEBUG][driver/ntp.c:ntp_get_time:133] ntp array set
[DEBUG][driver/ntp.c:ntp_get_time:155] selecting Ip address
[DEBUG][driver/ntp.c:ntp_get_time:160] memcpy ip
[DEBUG][driver/ntp.c:ntp_get_time:167] selected
[DEBUG][driver/ntp.c:ntp_get_time:183] return
[DEBUG][driver/ntp.c:ntp_udp_timeout:58] start
[DEBUG][driver/ntp.c:ntp_udp_timeout:75] return
[DEBUG][user/user_main.c:clock_loop:380] 1473651600
[DEBUG][user/user_main.c:adcBultin:552] [perUnit: 00.000] ADC0: 004c : volts 00.000
Statistics: Posted by DavidDPD — Mon Sep 12, 2016 11:51 am
Statistics: Posted by DavidDPD — Sun Sep 11, 2016 2:37 am
Statistics: Posted by fpalha — Thu Jul 28, 2016 8:42 pm
Statistics: Posted by DarkSide — Tue Jul 19, 2016 3:36 pm
Statistics: Posted by cranphin — Mon May 23, 2016 11:35 pm
Statistics: Posted by ESP_Faye — Wed Jan 20, 2016 4:58 pm
Code:
#define STA_DEFAULT_NETWORK 1
#define SSID "demo"
#define SSID_PASSWORD "demo1234"
#define CONFIG_AP_SWITCH 0
#define CONFIG_STA_SWITCH 1
Code:
.r...lØrß.#.ânÀ..à....ì.p|.ìx.ÇÜä.p...ònnä.Ä;ònÄä...bç$r..r..pònàÃÜ..àÇÀl......bÀ.nâãnÀä.À.8..ònnî.ÄÁ.l`.ü.Ü#nÀ.;....nrß;.ÄÀ.?ì;..pònàÃÜ..àrÇ.âÜ......p..pÜ<.Ä....p..ònnî.ÄØ..r...#nÀ..r....nrß;.ÄÀ.?.rÜ;.pònàÃÜ..àrÇ.âÜ......p..pÜ<.ÄÃ..âl..bÄ>~ònî.Äð..r...Ü#nÀ.r....nrß;.ÄÀ.?.Ü;..rÛnÀ.à.Ü.`.üdon't use rtc mem data
r..¦ÿ[DEBUG][../dpdChatFabric/cfConfig.c:_cfConfigRead:161] Starting Config Read, fromStr = 0
[DEBUG][../util/util.c:_cfConfigRead:166] Config String, RAM, preload :: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[DEBUG][../util/util.c:_cfConfigRead:174] Config String, RAM, post-load :: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[DEBUG][../dpdChatFabric/cfConfig.c:_cfConfigRead:185] ========== NO CONFIGUTATION DATA FOUND : 00 a5 ==========
[DEBUG][../util/util.c:cfConfigWrite:415] Config String: a5000000 000b0000 00000c00 00000105 00000000 00000000 00000000 00000000 06322413 ffe02c11 faae7718 fe34a2e0 5b2f0000 00020f00 00000012 00000001 15000000 01180000 00011300 00000014 00000000 230264a8 c02400ff ffff2502 64a8c026 0264a8c0 270264a8 c0280264 a8c01901 fa10ac1a 00ffffff 1b01fa10 ac1c01fa 10ac1d01 fa10ac29 00000000 00000000 00000000 00000000 2a000000 00000000 00000000 00000000 002b0000 00000000 00000000 00000000 00002c00 00000000 00000000 00000000 0000002d 00000000 00000000 00000000 00000000 2e000000 00000000 00000000 00000000 001e0000 00000000 00000000 00000000 00001f00 00000000 00000000 00000000 00000020 00000000 00000000 00000000 00000000 21000000 00000000 00000000 00000000 00220000 00000000 00000000 00000000 00000e63 662d3138 66653a33 3461323a 65303562 00000000 00000000 00000000 00000010 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 11657370 38323636 2164656d 6f000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00166465 6d6f0000 00000000 00000000 00000000 00000000 00000000 00000000 00001764 656d6f31 32333400 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[DEBUG][../util/util.c:_createKeyString:473] Keys Public: 37434e22 19b40455 a6b6ba88 da84e342 422e2e65 a17cca4b d3fd0485 efcd5254
[DEBUG][../util/util.c:_createKeyString:475] Keys Private: a302d272 fe9670c8 9f8988cb 1018190b 63ee2c2c 9679c676 71ea66e2 88500b82
[DEBUG][../util/util.c:cfConfigWrite:419] Keys String: 0137434e 2219b404 55a6b6ba 88da84e3 42422e2e 65a17cca 4bd3fd04 85efcd52 5402a302 d272fe96 70c89f89 88cb1018 190b63ee 2c2c9679 c67671ea 66e28850 0b82
[DEBUG][../util/util.c:cfConfigWrite:429] Config String, RAM, presave :: a5000000 000b0000 00000c00 00000105 00000000 00000000 00000000 00000000
[DEBUG][../dpdChatFabric/cfConfig.c:cfConfigWrite:434] ESP Save With Protect - SUCCESS.
[DEBUG][../util/util.c:cfConfigWrite:438] Config String, RAM, postsave :: a5000000 000b0000 00000c00 00000105 00000000 00000000 00000000 00000000
[DEBUG][user/user_main.c:user_init_stage2:516] UUID0 : 00000000-0000-0000-0000-000000000000
[DEBUG][user/user_main.c:user_init_stage2:519] UUID0 : 322413ff-e02c-11fa-ae77-18fe34a2e05b
[DEBUG][user/user_main.c:gpioInitFromConfig:163] === Setting: 0 Top Outlet 0 12
[DEBUG][user/user_main.c:gpioInitFromConfig:163] === Setting: 1 Bottom Outlet 0 13
mode : sta(18:fe:34:a2:e0:5b)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
connected with demo, channel 4
dhcp client start...
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:43] connect to ssid demo, channel 4
ip:192.168.1.229,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:66] ip:192.168.1.229,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][driver/ntp.c:ntp_get_time:118] starting
[DEBUG][driver/ntp.c:ntp_get_time:133] ntp array set
[DEBUG][driver/ntp.c:ntp_get_time:155] selecting Ip address
[DEBUG][driver/ntp.c:ntp_get_time:160] memcpy ip
[DEBUG][driver/ntp.c:ntp_get_time:167] selected
[DEBUG][driver/ntp.c:ntp_get_time:183] return
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:29] station_if ip
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:34] Setting Up mDNS; ip:192.168.1.229
host_name = cf-18fe:34a2:e05b
server_name = _exp1._tcp.local
[DEBUG][driver/ntp.c:ntp_udp_recv:79] start
[DEBUG][driver/ntp.c:ntp_udp_recv:114] return
pm open,type:2 0
bcn_timout,ap_probe_send_start
[DEBUG][user/user_main.c:clock_loop:339] 1452793440
bcn_timout,ap_probe_send_start
bcn_timout,ap_probe_send_start
bcn_timout,ap_probe_send_start
[DEBUG][user/user_main.c:clock_loop:339] 1452793500
bcn_timout,ap_probe_send_start
bcn_timout,ap_probe_send_start
bcn_timout,ap_probe_send_start
[DEBUG][user/user_main.c:clock_loop:339] 1452793560
bcn_timout,ap_probe_send_start
ap_probe_send over, rest wifi status to disassoc
state: 5 -> 0 (1)
rm 0
pm close 7
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:52] disconnect from ssid demo, reason 200
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
connected with demo, channel 4
dhcp client start...
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:43] connect to ssid demo, channel 4
ip:192.168.1.229,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][espChatFabric/esp-cf-wifi.c:espCfWiFi_callBack:66] ip:192.168.1.229,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][driver/ntp.c:ntp_get_time:118] starting
[DEBUG][driver/ntp.c:ntp_get_time:133] ntp array set
[DEBUG][driver/ntp.c:ntp_get_time:155] selecting Ip address
[DEBUG][driver/ntp.c:ntp_get_time:160] memcpy ip
[DEBUG][driver/ntp.c:ntp_get_time:167] selected
[DEBUG][driver/ntp.c:ntp_get_time:183] return
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:14] Closing mDNS (1)
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:29] station_if ip
[DEBUG][espChatFabric/esp-cf-mdns.c:espCfMdns:34] Setting Up mDNS; ip:192.168.1.229
host_name = cf-18fe:34a2:e05b
server_name = _exp1._tcp.local
[DEBUG][driver/ntp.c:ntp_udp_recv:79] start
[DEBUG][driver/ntp.c:ntp_udp_recv:114] return
pm open,type:2 0
.[DEBUG][user/user_main.c:clock_loop:339] 1452793620
[DEBUG][user/user_main.c:clock_loop:339] 1452793680
[DEBUG][user/user_main.c:clock_loop:339] 1452793740
[DEBUG][user/user_main.c:clock_loop:339] 1452793800
[DEBUG][user/user_main.c:clock_loop:339] 1452793860
ip:192.168.1.229,mask:255.255.255.0,gw:192.168.1.1
[DEBUG][user/user_main.c:clock_loop:339] 1452793920
[DEBUG][user/user_main.c:clock_loop:339] 1452793980
[DEBUG][user/user_main.c:clock_loop:339] 1452794040
Statistics: Posted by DavidDPD — Fri Jan 15, 2016 2:01 am
Statistics: Posted by ESP_Faye — Wed Jan 13, 2016 2:10 pm
Statistics: Posted by DavidDPD — Wed Jan 13, 2016 4:07 am