The application discloses a kind of
software design method of supporting
electric vehicle heat management controller OTA
upgrade, comprising: first MCU power on / reset, hardware circuit automatically loads stack pointer, program
entry point, waits for MCU
frequency stabilization and release, provides the beat for
bus, latches MCU start configuration, then enters program
entry point_x (x=A, B …… N), reads internal reserved memory_option
byte [0], and judges whether the current boot program partition number is consistent with option
byte, if not consistent, jump to target partition number and re-enter program
entry point, if consistent, enter main program main(), according to option
byte partition number, determine program update state (including reset, updating, update completion, update failure), MCU hardware drive initialization and
system parameter initialization, finally enter
transaction processing cycle, feed watchdog.The application is fast, and the degree of updating is high, and safety is good, can significantly improve the intelligence and convenience of
electric vehicle use, guarantee car experience.