old_contents: from pylibftdi import USB_PID_LIST, Device
  
  USB_PID_LIST.append(0x6015)
  
  dev = Device(mode='b')
  
  # baudrate seems to be divided by 4 internally
  dev.baudrate = 46875
  
  dev.write('U');
new_contents: from pylibftdi import USB_PID_LIST, SerialDevice
  from ctypes import byref
  
  USB_PID_LIST.append(0x6015)
  BITMODE_CBUS = 0x20
  
  dev = SerialDevice()
  
  dev.baudrate = 46875
  
  # programming voltage
  dev.rts = 1
  
  #reset (does not work yet...)
  dev.ftdi_fn.ftdi_set_bitmode(byref(dev.ctx), 0x00, BITMODE_CBUS)
  
  dev.close()
subject: enable programming voltage and (try to) reset