The invention provides a method for remotely upgrading a PG program, belongs to the technical field of PG program upgrading, and is mainly applied to an LCM display
screen test fixture and can be expanded to PG products in the fields of vehicle-mounted display, industrial control display and the like. A solution based on an IAP function of an STM32 industrial
chip is provided, a bootloader program is configured in a PG and cooperates with an upper
computer program, and after the upper computer carries out unpacking, format matching and CRC32
verification processing on pre-upgraded PG program data,
wireless remote transmission is achieved through an
internet access or a WIFI
router; after a bootloader program of the PG receives the data, register initialization and data unpacking are completed, and target data are written into a
chip main program area according to an STM32FLASH write-in protocol; meanwhile, the upper computer and the bootloader complete upgrading result
verification through a preset calibration scheme, the upgrading state, consumed time and abnormal information are displayed through a
visual interface, and parallel batch upgrading of 1-20 PGs is supported.
Technical support is provided for large-scale
mass production of PG products, and enterprises are assisted in improving product
cost performance and market competitiveness.