Search found 17 matches

by alvin_xie
Mon Jul 16, 2018 2:02 am
Forum: General Discussion
Topic: what will cause reboot issue
Replies: 7
Views: 8752

Re: what will cause reboot issue

ESP_igrr wrote:Alternatively, use espefuse.py to set flash voltage to 3.3V. Then the state of GPIO12 will not matter.

Code: Select all

use espefuse.py to set flash voltage to 3.3V.
how to do this?
by alvin_xie
Mon Jul 16, 2018 1:57 am
Forum: General Discussion
Topic: how to resolve packet loss issue?
Replies: 14
Views: 17841

Re: how to resolve packet loss issue?

the ESP-IDF packet is got from github,the send() is a package of write(), and the example of tcp_perf also use send() to write the file to the server.
by alvin_xie
Thu Jun 28, 2018 8:56 am
Forum: General Discussion
Topic: what will cause reboot issue
Replies: 7
Views: 8752

what will cause reboot issue

I power off the ESP32 for 5 sec. and then power on it. But the ESP32 will always reboot. here is the log: ... rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 cmd len -1 ...
by alvin_xie
Mon Jun 25, 2018 1:14 am
Forum: General Discussion
Topic: how to resolve packet loss issue?
Replies: 14
Views: 17841

Re: how to resolve packet loss issue?

I stared at this for a while and can't figure out the logic.... "len = send(connect_socket, recvbuf + (count - to_write), to_write, 0);" Assuming the recvbuf is actually the sendbuf, and assuming you are in some loop sending "to_write" number of bytes each time, I can't understand how "recvbuf + (c...
by alvin_xie
Fri Jun 22, 2018 1:34 am
Forum: General Discussion
Topic: how to resolve packet loss issue?
Replies: 14
Views: 17841

Re: how to resolve packet loss issue?

Maybe it's the program on the PC. Maybe it times out on a recv and closes the file instead of trying another read. Maybe somebody set the recv timeout too low and thought any non ok return meant it was done. Hard to tell from the description of the problem. John A PC use a sockettool creat TCP serv...
by alvin_xie
Fri Jun 22, 2018 1:24 am
Forum: General Discussion
Topic: how to resolve packet loss issue?
Replies: 14
Views: 17841

Re: how to resolve packet loss issue?

Over multiple tests, is it the same "piece" of the received file that differs from the original file? Can we tell where data is being lost? Are you logging the lengths of received data and sent data? I'd like to determine whether the problem is in transmitting data or writing files. For example, if...
by alvin_xie
Fri Jun 22, 2018 12:30 am
Forum: General Discussion
Topic: how to resolve packet loss issue?
Replies: 14
Views: 17841

Re: how to resolve packet loss issue?

kolban wrote:Not really enough to go here (opinion). Is this a TCP or UDP socket? What makes you think that packets get lost? Are you checking the return code from send()?
Compare the file before send and received, it is different.The file has lost some string after received.
by alvin_xie
Thu Jun 21, 2018 11:28 am
Forum: General Discussion
Topic: how to resolve packet loss issue?
Replies: 14
Views: 17841

how to resolve packet loss issue?

Use TCP socket. I use this function "len = send(connect_socket, recvbuf + (count - to_write), to_write, 0);" to send data to PC server.(recvbuf almost 20~30KB) Sometimes, It seems that the function "send" return ok. But the data that PC server got has lost some packet. How could i resolve this issue...
by alvin_xie
Fri May 25, 2018 1:17 am
Forum: General Discussion
Topic: Does the ESP32 need flash MAC address
Replies: 2
Views: 4042

Re: Does the ESP32 need flash MAC address

I got this.
thank you!
by alvin_xie
Thu May 24, 2018 9:27 am
Forum: General Discussion
Topic: Does the ESP32 need flash MAC address
Replies: 2
Views: 4042

Does the ESP32 need flash MAC address

hi all,
Does the ESP32 need flash MAC address? and how to flash MAC address?