MCUXpresso hangs after build program

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

MCUXpresso hangs after build program

Jump to solution
2,795 Views
scarletlee
Contributor III

Hi,

MCUXpresso version : 11.4.1_6260

My MCUXpresso always hangs when launching debug after build program.

As attach, my IDE show "no response" when launching debug.

scarletlee_0-1639015113465.png

Have any improve method? thanks.

By the way, no antivirus software running in background.

Tags (1)
0 Kudos
1 Solution
2,622 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @scarletlee ,

  Thanks for your information.

  Today, I also test it on my SLN-VIZN-IOT board with the SDK code:

SDK_2.8.1_SLN-VIZNAS-IOT\boards\sln_viznas_iot\sln_boot_apps

SDK_2.8.1_SLN-VIZNAS-IOT\boards\sln_viznas_iot\sln_vision_apps\elock_oobe

My MCUXpresso IDE version is totally the same as you.

My Segger Driver version is: V7.50.

This is my test result:

kerryzhou_0-1640934339385.png

kerryzhou_1-1640934368855.png

Please also download the bootloader and bootstrap, and disable the verification:

kerryzhou_2-1640934409742.pngkerryzhou_3-1640934419909.pngkerryzhou_4-1640934427718.png

 

 

You can see, I can enter the debug mode.

BTW, do you have the segger JLINK? I am using the Segger JLINK plus.

You also can try my Jlink driver version.

 

Best Regards,

Kerry

 

 

View solution in original post

0 Kudos
12 Replies
2,784 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @scarletlee ,

    When you meet this issue, you can end the mcuxpresso ide in the task manager.

    Then, delete the IDE workspace, then open the mcuxpresso IDE again, import your project again, it should run again.

     Your IDE meets some issues which is blocking it, so you need to stop the IDE and reopen it again.

Please try it on your side.

If you still have questions about it please kindly let me know.

Best Regards,

Kerry

 

0 Kudos
2,753 Views
scarletlee
Contributor III

Hi Kerry,

I still have this problem my method as below :

  1. Re-install IDE
  2. Delete old workspace and create new one
  3. Import project
  4. Run project and into debug mode ( IDE hangs about 1 min )
  5. Stop debug mode, IDE change to develop mode ( IDE hangs about 40 sec 

If you have any solutions, please tell me.

Thanks.

0 Kudos
2,745 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @scarletlee 

   I checked the MCUXpresso IDE install requirement:

  • Host operating systems:
    • Ubuntu Linux® 18.04 LTS / 20.04 LTS
    • macOS 10.14/Mojave, 10.15/Catalina, 11.x/Big Sur
    • Microsoft® Windows® 10 (64-Bit only)

Do you meet the PC requirement?

 BTW, what's the debugger you are using?

I think you can try the NXP official EVK board to test it, the RT board contains the on board CMSIS DAP debugger.

 

Best Regards,

Kerry

 

0 Kudos
2,741 Views
scarletlee
Contributor III

Hi @kerryzhou 

My OS is Win10 (64-bit). And I tested LPC-Link2 and JTAG they are always have this problem.

I will follow your suggestion, try official EVK with on board debugger.

Thanks.

0 Kudos
2,733 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @scarletlee 

  When you build the project, whether it pass or not? Or just debug issues now?

  Please also share some hangs screen.

 

Best Regards,

Kerry

0 Kudos
2,728 Views
scarletlee
Contributor III

Hi @kerryzhou 

Compile always pass, I will upload a video to show my problem.

Thanks.

 

0 Kudos
2,724 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @scarletlee 

  What's the NXP product you are using? I mean the chip?

  Eg, kinetis or RT chip, or others?

   I think it is also related to your board if your build works, just the debugger have issues. When you connect the external LPC-LINK2, you also need to disconnect the on board debugger, or you need to make sure your chip board works OK at first.

 

Best Regards,

Kerry 

0 Kudos
2,673 Views
scarletlee
Contributor III

Hi @kerryzhou 

I uploaded video, more detail please check the attachment.

And I tested these devices :

1. i.MX RT106F EVK with LPC-LINK2 => Hangs

2. i.MX RT106F EVK with LPC-Link Pro => Hangs

3. i.MX RT106F EVK with JTAG => Hangs

4. i.MX RT1060 EVK => It's work!

I guess maybe JLINK has some problem, because i.MX RT1060 is debug on CMSIS.

So...Could you tell me how to modify debug setting to CMSIS on i.MX RT106F?

0 Kudos
2,667 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @scarletlee 

   Thanks for your effort!

1. RT106F EVK 

  Please tell me which detail RT106F board you are using?

 

2. JLINK driver version

  Please tell me your JLINK driver version, it also related to the JLINK driver, from your test result, after compare, the JLINK downloading is disappeared.

  After you tell me the details, I will check it on my side.

Best Regards,

Kerry

0 Kudos
2,652 Views
scarletlee
Contributor III

HI @kerryzhou 

My reply as below :

1. RT106F EVK 

 Please tell me which detail RT106F board you are using?

SLN-VIZN-IOT (Two camera)

2. JLINK driver version

 Please tell me your JLINK driver version

V7.54C

0 Kudos
2,623 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @scarletlee ,

  Thanks for your information.

  Today, I also test it on my SLN-VIZN-IOT board with the SDK code:

SDK_2.8.1_SLN-VIZNAS-IOT\boards\sln_viznas_iot\sln_boot_apps

SDK_2.8.1_SLN-VIZNAS-IOT\boards\sln_viznas_iot\sln_vision_apps\elock_oobe

My MCUXpresso IDE version is totally the same as you.

My Segger Driver version is: V7.50.

This is my test result:

kerryzhou_0-1640934339385.png

kerryzhou_1-1640934368855.png

Please also download the bootloader and bootstrap, and disable the verification:

kerryzhou_2-1640934409742.pngkerryzhou_3-1640934419909.pngkerryzhou_4-1640934427718.png

 

 

You can see, I can enter the debug mode.

BTW, do you have the segger JLINK? I am using the Segger JLINK plus.

You also can try my Jlink driver version.

 

Best Regards,

Kerry

 

 

0 Kudos
2,487 Views
scarletlee
Contributor III

@kerryzhou 

Hi Kerry,

Thanks for your reply, I re-install anything ( include Windows10 ) and than it's no problem.

No happened this situation again ! 

I think this case can close.

0 Kudos