The inner doc error of NodeMCU_ESP32S


Whe I register the device (NodeMCU_ESP32S)
I got this error

Chip is ESP32D0WDQ6 (revision (unknown 0xa))

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 1500000


Traceback (most recent call last):

File “C:\Users\e8505\zerynth2\sys\esptool\esp32\”, line 2405, in


File “C:\Users\e8505\zerynth2\sys\esptool\esp32\”, line 2398, in _main


File “C:\Users\e8505\zerynth2\sys\esptool\esp32\”, line 2137, in main


File “C:\Users\e8505\zerynth2\sys\esptool\esp32\”, line 61, in inner

return func(*args, **kwargs)

File “C:\Users\e8505\zerynth2\sys\esptool\esp32\”, line 538, in change_baud


File “C:\Users\e8505\zerynth2\sys\esptool\esp32\”, line 185, in _set_port_baudrate

self._port.baudrate = baud

File “C:\Users\e8505\zerynth2\sys\python\lib\site-packages\serial\”, line 345, in setBaudrate

if self._isOpen:  self._reconfigurePort()

File “C:\Users\e8505\zerynth2\sys\python\lib\site-packages\serial\”, line 202, in _reconfigurePort

raise ValueError("Cannot configure port, some setting was wrong. Original message: %r" % ctypes.WinError())

ValueError: Cannot configure port, some setting was wrong. Original message: OSError(22, ‘The parameter is incorrect.’, None, 87)

And I found someone have similar problem,
The solution is to modify the internal files of zerynth
just open the file at

and it’s at Ln50 column 110
Change the “–baud","1500000” to "--baud","115200"


Hello @Chang_Chen_Chien,

we are going to fix it with the next update.