[Redmi Note 9S / Note 9 Pro (Indian Model) Question] Pyro556:
[6:19:07 PM]:10 COM10 25.6125534s write time out,maybe device was disconnected.

[6:20:04 PM]:10 COM10 26.1016135s write time out,maybe device was disconnected.

[6:21:37 PM]:10 COM10 26.8387229s write time out,maybe device was disconnected.

[6:23:11 PM]:10 COM10 28.5723114s cannot receive hello packet

[6:25:41 PM]:10 COM10 1.0242142s can not read from port COM10

[6:26:21 PM]:10 COM10 8.7032489s The port is closed.

[6:26:43 PM]:10 COM10 0.6293567s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[6:26:48 PM]:10 COM10 0.3680342s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[6:28:28 PM]:10 COM10 18.176052s write time out,maybe device was disconnected.

[6:29:00 PM]:10 COM10 0.1676888s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[6:29:02 PM]:10 COM10 0.0786557s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[6:29:08 PM]:10 COM10 1.9819342s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[6:57:01 PM]:10 COM10 0.5084541s System.Exception: programmer transfer error 4

at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()

[6:58:49 PM]:10 COM10 2.0317254s Object reference not set to an instance of an object.

[6:59:05 PM]:10 COM10 1.0236531s can not read from port COM10

[6:59:42 PM]:10 COM10 1.1387893s can not read from port COM10

[7:00:28 PM]:10 COM10 0.3285784s System.Exception: programmer transfer error 4

at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()

[7:02:15 PM]:10 COM10 0.5098417s System.Exception: programmer transfer error 4

at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()

[8:18:48 PM]:10 COM10 29.2050767s write time out,maybe device was disconnected.