Skip to main content
Associate II
May 23, 2025
Solved

MCSDK generation error : Error = zip END header not found

  • May 23, 2025
  • 1 reply
  • 515 views

Hello,

There is a error during code generation phase on MCSDK.

2025-05-23 19:02:39,600 ERROR [LineInfo_to_exitCode.log_LineInfo] Error = zip END header not found
2025-05-23 19:02:39,601 WARN [LineInfo_to_exitCode.log_LineInfo] Failed to launch self-upgrade

But, click RUN CUBEMX button, the tool can be opened and generate code that can be compiled successed on IAR.

Will that error have a negative impact on the program?

the attachment files include : 3 pictures of configure and generation.

Best answer by GMA

Hello @wcx8229,

The full error message in the log is:
2025-05-23 19:02:39,571 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-05-23 19:02:39,571 [INFO] MainUpdater:5295 - Software Update Detected: STM32CubeMX
2025-05-23 19:02:39,600 ERROR [LineInfo_to_exitCode.log_LineInfo] Error = zip END header not found
2025-05-23 19:02:39,601 WARN [LineInfo_to_exitCode.log_LineInfo] Failed to launch self-upgrade
Somehow, STM32CubeMx automatic updater failed. This should not impact the Project Firmware generation, and you can proceed with it.

1 reply

wcx8229Author
Associate II
May 23, 2025

here is the log file.

GMA
GMABest answer
Technical Moderator
May 23, 2025

Hello @wcx8229,

The full error message in the log is:
2025-05-23 19:02:39,571 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-05-23 19:02:39,571 [INFO] MainUpdater:5295 - Software Update Detected: STM32CubeMX
2025-05-23 19:02:39,600 ERROR [LineInfo_to_exitCode.log_LineInfo] Error = zip END header not found
2025-05-23 19:02:39,601 WARN [LineInfo_to_exitCode.log_LineInfo] Failed to launch self-upgrade
Somehow, STM32CubeMx automatic updater failed. This should not impact the Project Firmware generation, and you can proceed with it.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA