cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK generation error : Error = zip END header not found

wcx8229
Visitor

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.

2 REPLIES 2
wcx8229
Visitor

here is the log file.

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