Build errors, Missing .axf file, and RedlinkServerException during debug launch

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build errors, Missing .axf file, and RedlinkServerException during debug launch

124 Views
Maheswari123
Contributor I

Hello NXP Support Team,

I am encountering multiple issues while trying to build and debug my project in MCUXpresso IDE.

Environment Details:

  • MCUXpresso IDE Version:  v11.8.0

  • Host OS: Windows

  • Target Board / MCU: MKM34z256vll7

  • Debug Probe:CMSIS-DAP 

Symptoms Observed:

  1. Build Errors / Missing .axf/.elf File: When attempting to build the Release configuration, build errors occur. Because of these errors, the .axf/.elf output file is not generated, resulting in the "Program file does not exist" debug launch error.

  2. RedlinkServerException: When attempting to debug or connect, I receive a RedlinkServerException: Cannot write to server not open, indicating a communication failure with LinkServer.

  3. Probe Discovery Issue: The IDE occasionally fails to properly discover or communicate with the debug probe.

Troubleshooting Steps Already Tried:

  • Verified that build errors must be resolved, but need guidance on resolving the specific compilation/linker errors preventing the .axf file generation.

  • Restarted MCUXpresso IDE and power-cycled the debug probe / development board.

0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2418629%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBuild%20errors%2C%20Missing%20.axf%20file%2C%20and%20RedlinkServerException%20during%20debug%20launch%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418629%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%20Support%20Team%2C%3C%2FP%3E%3CP%3EI%20am%20encountering%20multiple%20issues%20while%20trying%20to%20build%20and%20debug%20my%20project%20in%20MCUXpresso%20IDE.%3C%2FP%3E%3CP%3E%3CSTRONG%3EEnvironment%20Details%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EMCUXpresso%20IDE%20Version%3A%26nbsp%3B%20v11.8.0%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EHost%20OS%3A%20Windows%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ETarget%20Board%20%2F%20MCU%3A%20MKM34z256vll7%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EDebug%20Probe%3ACMSIS-DAP%26nbsp%3B%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSTRONG%3ESymptoms%20Observed%3A%3C%2FSTRONG%3E%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%3E%3CSTRONG%3EBuild%20Errors%20%2F%20Missing%20.axf%2F.elf%20File%3A%3C%2FSTRONG%3E%20When%20attempting%20to%20build%20the%20Release%20configuration%2C%20build%20errors%20occur.%20Because%20of%20these%20errors%2C%20the%20.axf%2F.elf%20output%20file%20is%20not%20generated%2C%20resulting%20in%20the%20%3CI%3E%22Program%20file%20does%20not%20exist%22%3C%2FI%3E%20debug%20launch%20error.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3ERedlinkServerException%3A%3C%2FSTRONG%3E%20When%20attempting%20to%20debug%20or%20connect%2C%20I%20receive%20a%20RedlinkServerException%3A%20Cannot%20write%20to%20server%20not%20open%2C%20indicating%20a%20communication%20failure%20with%20LinkServer.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EProbe%20Discovery%20Issue%3A%3C%2FSTRONG%3E%20The%20IDE%20occasionally%20fails%20to%20properly%20discover%20or%20communicate%20with%20the%20debug%20probe.%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSTRONG%3ETroubleshooting%20Steps%20Already%20Tried%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EVerified%20that%20build%20errors%20must%20be%20resolved%2C%20but%20need%20guidance%20on%20resolving%20the%20specific%20compilation%2Flinker%20errors%20preventing%20the%20.axf%20file%20generation.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ERestarted%20MCUXpresso%20IDE%20and%20power-cycled%20the%20debug%20probe%20%2F%20development%20board.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E