In addition, read and write permission for this serial port is required:
chmod 777 /dev/ttyS2
uart tool test download