could not convert main from the host encoding (CIP252) to UTF-32

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

could not convert main from the host encoding (CIP252) to UTF-32

879 Views
VishalAvg
Contributor II

Hello,

I have designed one product using MK64FN1M0VDC12 chip.

I am using MCU-link Debugger probe to flash firmware and it successfully flashes my code but when I click on RUN mode then my code does not work. It got stuck in Clock routine() module and showing "could not convert main from the host encoding (CIP252) to UTF-32"  in debugger console of MCUXpresso IDE.

Please suggest me some solution regarding this.

0 Kudos
Reply
1 Reply

849 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @VishalAvg 

Thanks for contacting us.
Please try the following suggestions:

  1. Check the project encoding settings as shown below. Make sure it's set to UTF-8 or inherited from the workspace.

     

Alice_Yang_0-1760583517011.png

2.Clean the project, then create a new IDE workspace and import the project to test.

3.Update the debugger firmware using the LinkServer utility.

4.If the issue still persists, please try testing with a simple SDK example project to isolate the problem.

Let me know if you need help with any of these steps!

 

BR

Alice

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2186294%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ecould%20not%20convert%20main%20from%20the%20host%20encoding%20(CIP252)%20to%20UTF-32%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186294%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20have%20designed%20one%20product%20using%26nbsp%3BMK64FN1M0VDC12%20chip.%3C%2FP%3E%3CP%3EI%20am%20using%20MCU-link%20Debugger%20probe%20to%20flash%20firmware%20and%20it%20successfully%20flashes%20my%20code%20but%20when%20I%20click%20on%20RUN%20mode%20then%20my%20code%20does%20not%20work.%20It%20got%20stuck%20in%20Clock%20routine()%20module%20and%20showing%20%22%3CEM%3E%3CSTRONG%3Ecould%20not%20convert%20main%20from%20the%20host%20encoding%20(CIP252)%20to%20UTF-32%22%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FEM%3Ein%20debugger%20console%20of%20MCUXpresso%20IDE.%3C%2FP%3E%3CP%3EPlease%20suggest%20me%20some%20solution%20regarding%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2187076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20could%20not%20convert%20main%20from%20the%20host%20encoding%20(CIP252)%20to%20UTF-32%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233589%22%20target%3D%22_blank%22%3E%40VishalAvg%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20contacting%20us.%3CBR%20%2F%3EPlease%20try%20the%20following%20suggestions%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECheck%20the%20project%20encoding%20settings%20as%20shown%20below.%20Make%20sure%20it's%20set%20to%20UTF-8%20or%20inherited%20from%20the%20workspace.%0A%3CBR%20%2F%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Alice_Yang_0-1760583517011.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Alice_Yang_0-1760583517011.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361047i9677B63A5770D470%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Alice_Yang_0-1760583517011.png%22%20alt%3D%22Alice_Yang_0-1760583517011.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E2.Clean%20the%20project%2C%20then%20create%20a%20new%20IDE%20workspace%20and%20import%20the%20project%20to%20test.%3C%2FP%3E%0A%3CP%3E3.Update%20the%20debugger%20firmware%20using%20the%20LinkServer%20utility.%3C%2FP%3E%0A%3CP%3E4.If%20the%20issue%20still%20persists%2C%20please%20try%20testing%20with%20a%20simple%20SDK%20example%20project%20to%20isolate%20the%20problem.%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20if%20you%20need%20help%20with%20any%20of%20these%20steps!%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EAlice%3C%2FP%3E%3C%2FLINGO-BODY%3E