siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
131 stars 77 forks source link

bugfix:switchserialmode:make sure the settings have time to be set #226

Closed AsuraZeng closed 2 years ago

AsuraZeng commented 2 years ago

When switch serial mode, sometimes cp2102n would fall into bootloader mode. the device can not be identified as /dev/ttyUSB0.

Add a 60ms dealy to make sure the settings have time to be set before reset.

Signed-off-by: chao zeng chao.zeng@siemens.com