Data sent continuously from different memeory through wifi,fail rate is different.
Posted: Thu Mar 02, 2017 8:13 am
Hi!
SDK version:ESP-IDF v2.0
Hardware Information:ESP-WROOM-32
Net enviroment:WiFi LAN,only a station and a AP connected(ESP32 as station,PC as AP).
Bug Description(If it is a bug not my mistake):
The UDP protocol is used to transmit data continuously through the WiFi, and if the data is from 0x3FFA_E000~0x3FFF_FFFF (Internal SRAM), the failure rate will be high (failure rate is about 70%).
When sending data from 0x3F40_0000~0x3F7F_FFFF(Cache,MMU), the failure rate is very low (about 2%).
Test Steps:
1.When I define the first address of sent data to 0x3f40000.Determine whether the send failed by the return value of sendto. Number of failures per sixty counts. The failure rate is very low (about 2%).
2.When I define the first address of sent data to 0x3FFA_E000~0x3FFF_FFFF.Determine whether the send failed by the return value of sendto. Number of failures per sixty counts. The failure rate is high (about 70%).
The first address of sent data is printed in log.Code and log are in attachment。Please Check!If you have any ideals,please tell me.
Thanks!
Best wishes!
SDK version:ESP-IDF v2.0
Hardware Information:ESP-WROOM-32
Net enviroment:WiFi LAN,only a station and a AP connected(ESP32 as station,PC as AP).
Bug Description(If it is a bug not my mistake):
The UDP protocol is used to transmit data continuously through the WiFi, and if the data is from 0x3FFA_E000~0x3FFF_FFFF (Internal SRAM), the failure rate will be high (failure rate is about 70%).
When sending data from 0x3F40_0000~0x3F7F_FFFF(Cache,MMU), the failure rate is very low (about 2%).
Test Steps:
1.When I define the first address of sent data to 0x3f40000.Determine whether the send failed by the return value of sendto. Number of failures per sixty counts. The failure rate is very low (about 2%).
2.When I define the first address of sent data to 0x3FFA_E000~0x3FFF_FFFF.Determine whether the send failed by the return value of sendto. Number of failures per sixty counts. The failure rate is high (about 70%).
The first address of sent data is printed in log.Code and log are in attachment。Please Check!If you have any ideals,please tell me.
Thanks!
Best wishes!