The invention relates to a
firmware upgrading method and device based on a dual-core DSP
servo driver. The method comprises the steps that in a
user verification mode, a main core obtains a
firmware upgrading instruction according to
verification information input by a user; if the
firmware upgrading instruction is a core firmware upgrading command, the main core bootstrap program calls the main core to erase an on-
chip flash memory of the main core and sends an application program file of the main core to complete
software solidification. If the firmware upgrading instruction is an FPGA upgrading command, the main core bootstrap program calls the main core to erase the off-
chip flash memory, and upgrading of the
servo driver is completed. If the firmware upgrading instruction is a
serial port switching command, the firmware main core bootstrap program calls a main core reset
serial port and then enters an auxiliary core bootstrap program. And obtaining
verification information through the auxiliary core bootstrap program, and calling the auxiliary core to complete
software solidification of the auxiliary core and dual-core DSP reset. By adopting the method, the reliability, the safety, the flexibility and the efficiency of firmware upgrading can be improved.