Chapter 2. Development environment
2.2.14 How to do RF performance test with ESP32, ESP8266, and ESP32S2?
• Please refer to ESP RF Test Guide.
2.2.15 My PC cannot recognize the device connected in Win10 system. What could be the
reason?
• Check if the device is identied in the Linux virtual subsystem of Win10.
• If the device cannot be identied only in Win10 system, go to Device Manager to see whether such device
exists (e.g., COM x). If the answer is still no, please check your cable and driver.
• If the device cannot be identied only in Linux virtual subsystem, taken VMWare as an example, please go to
Settings > USB Controller and select Show all USB input devices.
2.2.16 One error occurred with ESP32 as: Core 1 paniced (Cache disabled but cache
memory region accessed). What could be the reason?
Reasons:
• During the time when cache is disabled (e.g., when using the API spi_ash to read/write/erase/map
the SPI ash), an interrupt is generated and the interrupt program accesses the ash resources.
• It is usually because the processor called programs from the ash and used its constants. One
important thing is that since the Double variable is implemented through software, thus when this
kind of variable is used in the interrupt programs, it is also implemented in the ash (e.g., forced
type conversion operation).
Solution:
• Add an IRAM_ATTR modier to the accessed function during interrupt
• Add an DRAM_ATTR modier to the accessed constant during interrupt
• Do not use Double variable in the interrupt programs
For more information, please refer to the Fatal error documentation.
2.2.17 How to read the ash model information of the modules?
• Please use the python script esptool to read information of Espressif’s chips and modules.
esptool.py --port /dev/ttyUSB* flash_id
2.2.18 When debugging the Ethernet Example in ESP-IDF, the following exception log
appears. How can I resolve such issue?
emac: Timed out waiting for PHY register 0x2 to have value 0x0243(mask␣
,→0xffff). Current value:
You can refer to the following congurations of the development board. Please see the schematics for
details:
• CONFIG_PHY_USE_POWER_PIN=y
• CONFIG_PHY_POWER_PIN=5
Espressif Systems 13
Submit Document Feedback
Release master