Custom Board WIFI ISSUE
Posted: Wed Jun 23, 2021 2:27 pm
Hello all. I have developed a custom board based on esp32s2-wroom device. I have tested it with alot of code (UART, Timmers, GPIO, Interrupts...) and everything works great. BUT:
When i try to upload a wifi code (even the simpliest scan code) it allways says this:
I (479) wifi:wifi driver task: 3ffd891c, prio:23, stack:6656, core=0
I (479) system_api: Base MAC address is not set
I (479) system_api: read default base MAC address from EFUSE
I (489) wifi:wifi firmware version: c44a5e7
I (489) wifi:wifi certification version: v7.0
I (489) wifi:config NVS flash: enabled
I (499) wifi:config nano formating: disabled
I (499) wifi:Init data frame dynamic rx buffer num: 32
I (509) wifi:Init management frame dynamic rx buffer num: 32
I (509) wifi:Init management short buffer num: 32
I (519) wifi:Init dynamic tx buffer num: 32
I (519) wifi:Init static rx buffer size: 1600
I (519) wifi:Init static rx buffer num: 10
I (529) wifi:Init dynamic rx buffer num: 32
I (529) wifi_init: rx ba win: 6
I (539) wifi_init: tcpip mbox: 32
I (539) wifi_init: udp mbox: 6
I (539) wifi_init: tcp mbox: 6
I (549) wifi_init: tcp tx win: 5744
I (549) wifi_init: tcp rx win: 5744
I (559) wifi_init: tcp mss: 1440
Exception in thread Thread-2:
Traceback (most recent call last):
File "threading.py", line 932, in _bootstrap_inner
File "threading.py", line 870, in run
File "C:/Users/Nasib/Desktop/esp-idf/tools/idf_monitor.py", line 166, in _run_
outer
self.run()
File "C:/Users/Nasib/Desktop/esp-idf/tools/idf_monitor.py", line 378, in run
data = self.serial.read(self.serial.in_waiting or 1)
File "C:\Users\Nasib\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages\
serial\serialwin32.py", line 259, in in_waiting
raise SerialException("ClearCommError failed ({!r})".format(ctypes.WinError(
)))
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'A
cceso denegado.', None, 5))
Is like the device doesnt want to enable the wifi.... what do you think that could be happenning??
I am super lost now...
Thank you so much in advance for your help
Best regards...
When i try to upload a wifi code (even the simpliest scan code) it allways says this:
I (479) wifi:wifi driver task: 3ffd891c, prio:23, stack:6656, core=0
I (479) system_api: Base MAC address is not set
I (479) system_api: read default base MAC address from EFUSE
I (489) wifi:wifi firmware version: c44a5e7
I (489) wifi:wifi certification version: v7.0
I (489) wifi:config NVS flash: enabled
I (499) wifi:config nano formating: disabled
I (499) wifi:Init data frame dynamic rx buffer num: 32
I (509) wifi:Init management frame dynamic rx buffer num: 32
I (509) wifi:Init management short buffer num: 32
I (519) wifi:Init dynamic tx buffer num: 32
I (519) wifi:Init static rx buffer size: 1600
I (519) wifi:Init static rx buffer num: 10
I (529) wifi:Init dynamic rx buffer num: 32
I (529) wifi_init: rx ba win: 6
I (539) wifi_init: tcpip mbox: 32
I (539) wifi_init: udp mbox: 6
I (539) wifi_init: tcp mbox: 6
I (549) wifi_init: tcp tx win: 5744
I (549) wifi_init: tcp rx win: 5744
I (559) wifi_init: tcp mss: 1440
Exception in thread Thread-2:
Traceback (most recent call last):
File "threading.py", line 932, in _bootstrap_inner
File "threading.py", line 870, in run
File "C:/Users/Nasib/Desktop/esp-idf/tools/idf_monitor.py", line 166, in _run_
outer
self.run()
File "C:/Users/Nasib/Desktop/esp-idf/tools/idf_monitor.py", line 378, in run
data = self.serial.read(self.serial.in_waiting or 1)
File "C:\Users\Nasib\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages\
serial\serialwin32.py", line 259, in in_waiting
raise SerialException("ClearCommError failed ({!r})".format(ctypes.WinError(
)))
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'A
cceso denegado.', None, 5))
Is like the device doesnt want to enable the wifi.... what do you think that could be happenning??
I am super lost now...
Thank you so much in advance for your help
Best regards...