The invention provides an upgrading method and device for a
ventricular assist device, and the method comprises the steps: writing an upgrading application program in a first memory into a second memory by a second kernel based on an upgrading command; the second kernel sends a first
signal to the first kernel after writing is completed, the first
signal is used for indicating that operation data of the motor is written into a third memory, and the third memory is a memory shared by the first kernel and the second kernel in the memory; and the second kernel reads the operation data from the third memory, controls the operation of the motor based on the
upgrade application program, and sends a second
signal to the first kernel, and the second signal is used for indicating to stop the control of the motor. According to the application, the first kernel and the second kernel are arranged in the controller, when the upgrading command is received, the upgrading application program is downloaded into the
shared memory, and the operation of the motor is controlled through switching between the first kernel and the second kernel, so that
software upgrading without stopping the motor can be realized, and harm to a user caused by stopping of the
ventricular assist device is avoided.