Failure to access device: name
The Mode command was either trying to get the status of the COM port parameters (baud rate, parity, and so on), or was trying to set the COM port parameters. The Mode command was unable to open the specified COM port.
The device may be in use by another process. Either close down the other process or wait for it to finish, then retry the operation.