Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00

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

Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00

1,292 Views
bobvr
Contributor I

Running MCUXpresso IDE V25.6.136 + evkmimxrt685 board with SDK_25_12_00. When debug starts all debug tool (resume ..) are greyed out and cannot run the project.  Works fine with older SDK_25_03_00 but same problem with SDK_25_06_00 and SDK_25_09_00.  How can i restore the debug tools

0 Kudos
Reply
11 Replies

1,145 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @bobvr 

Thank you for your post

I try to replicate the issue with SDK 25.12 and MCUXpresso 25.6 build 136

I'm able to debug without problems

Could you please share if this happen with an SDK example? 

Are you able to attach the debug session successfully? 

0 Kudos
Reply

1,095 Views
bobvr
Contributor I
Hello Carlos, It happens on all the examples including hello world. It always stops at the first line of the "void ResetISR(void) function i.e. at the line __asm volatile ("cpsid i") (line No 381) in the startup_mimxrt685s.c file in the startup directory. I am trying to run the evkmimxrt685_dsp_mu_polling_cm33. This example works fine in the 25.03 version. All versions after than (06,09,12) have this problem. Is there some change I should make in the IDE for SDK versions after 24.03 ?. I do have a screenshot but how do i post it. Thanks @bobvr
0 Kudos
Reply

1,090 Views
bobvr
Contributor I

Hello Carlos, Posting the screenshot>

It happens on all the examples including hello world. It always stops at the first line of the "void ResetISR(void) function i.e. at the line __asm volatile ("cpsid i") (line No 381) in the startup_mimxrt685s.c file in the startup directory. It never get to the main() to start the run.  I am trying to run the evkmimxrt685_dsp_mu_polling_cm33. This example works fine in the 25.03 version. All versions after than (06,09,12) have this problem. Is there some change I should make in the IDE for SDK versions after 24.03 ?.   Thanks  bobvr

0 Kudos
Reply

1,041 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @bobvr 

Could you please share which OS your compute has? Linux, Windows 10, Windows 11?

Could you please review the BOOT_SEL of the EVK to be properly selected?

 

0 Kudos
Reply

1,021 Views
bobvr
Contributor I
I am running Windows 11 on a Dell Alder Lake desktop. The boot jumper (JP1) is open which is the default according to the manual (MIMXRT685-AUD-EVKUM Rev 3 - 21 July 2023). I presume this is what you meant by "review BOOT_SEL of the EVK". Thanks bobvr
0 Kudos
Reply

971 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @bobvr 

Thanks for sharing the details about your setup.

Could you please do a mass erase of the flash, and retry to debug it? 

To do it please change the link server action at the QuickStart Panel

carlos_o_0-1767979142309.png

after that return it to Debug using LinkServer probes.

Please share a screenshot if you have any error message in the process. 

0 Kudos
Reply

919 Views
bobvr
Contributor I
Carlos, Thanks. Before I do this i wanted to let you know that I have always used the SEGGER J-Link probes and there is "erase flash action using SEGGER J-Link probes" menu option. Should i erase using that or using the link server probes as you mentioned above.
0 Kudos
Reply

915 Views
bobvr
Contributor I

Carlos,  I tried to do a mass erase with the link server but got an error message - screenshot attached.  Thanks 

0 Kudos
Reply

619 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @bobvr 

Thanks for sharing that you are using.

The issue persists if you try to debug with link server? Please share the error message in case you get one. 

0 Kudos
Reply

913 Views
bobvr
Contributor I
 
0 Kudos
Reply

823 Views
bobvr
Contributor I

Hello Carlos,  I deleted the Flash using the Segger J-Link Probes (not the link server probes as that firmware was overwritten by the Segger firmware).  I understand I must use the Segger probes to debug both the ARM core and HiFi4 DSP.  I also updated the Segger firmware to the latest version 8.98.  I deleted the debug launch file,  deleted the workspace to generate a new one on bootup and also power cycled the board.  Still the same problem.  It says a debug session is running but I'm not able to debug.  As i said this happens with all versions after 03 (06, 09 and 12).  It stops at the startup_mimxrt685s.c file as before.    In the debugger console I do see a warning  message but this is probably harmless.  "warning: could not convert 'main' from the host encoding (CP1252) to UTF-32.

This normally should not happen, please file a bug report.

monitor exec SetRestartOnClose=1

 

Please advise next steps. Thanks bobvr.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2270557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDebug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2270557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ERunning%26nbsp%3BMCUXpresso%20IDE%20V25.6.136%20%2B%20evkmimxrt685%20board%20with%20SDK_25_12_00.%20When%20debug%20starts%20all%20debug%20tool%20(resume%20..)%20are%20greyed%20out%20and%20cannot%20run%20the%20project.%26nbsp%3B%20Works%20fine%20with%20older%20SDK_25_03_00%20but%20same%20problem%20with%20SDK_25_06_00%20and%26nbsp%3BSDK_25_09_00.%26nbsp%3B%20How%20can%20i%20restore%20the%20debug%20tools%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2289733%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2289733%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHello%20Carlos%2C%20Posting%20the%20screenshot%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIt%20happens%20on%20all%20the%20examples%20including%20hello%20world.%20It%20always%20stops%20at%20the%20first%20line%20of%20the%20%22void%20ResetISR(void)%20function%20i.e.%20at%20the%20line%20__asm%20volatile%20(%22cpsid%20i%22)%20(line%20No%20381)%20in%20the%20startup_mimxrt685s.c%20file%20in%20the%20startup%20directory.%20It%20never%20get%20to%20the%20main()%20to%20start%20the%20run.%26nbsp%3B%20I%20am%20trying%20to%20run%20the%20evkmimxrt685_dsp_mu_polling_%3C%2FSPAN%3E%3CSPAN%3Ecm33.%20This%20example%20works%20fine%20in%20the%2025.03%20version.%20All%20versions%20after%20than%20(06%2C09%2C12)%20have%20this%20problem.%20Is%20there%20some%20change%20I%20should%20make%20in%20the%20IDE%20for%20SDK%20versions%20after%2024.03%20%3F.%26nbsp%3B%20%26nbsp%3BThanks%26nbsp%3B%20bobvr%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2289724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2289724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHello%20Carlos%2C%20It%20happens%20on%20all%20the%20examples%20including%20hello%20world.%20It%20always%20stops%20at%20the%20first%20line%20of%20the%20%22void%20ResetISR(void)%20function%20i.e.%20at%20the%20line%20__asm%20volatile%20(%22cpsid%20i%22)%20(line%20No%20381)%20in%20the%20startup_mimxrt685s.c%20file%20in%20the%20startup%20directory.%20I%20am%20trying%20to%20run%20the%20evkmimxrt685_dsp_mu_polling_cm33.%20This%20example%20works%20fine%20in%20the%2025.03%20version.%20All%20versions%20after%20than%20(06%2C09%2C12)%20have%20this%20problem.%20Is%20there%20some%20change%20I%20should%20make%20in%20the%20IDE%20for%20SDK%20versions%20after%2024.03%20%3F.%20I%20do%20have%20a%20screenshot%20but%20how%20do%20i%20post%20it.%20Thanks%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255314%22%20target%3D%22_blank%22%3E%40bobvr%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290445%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290445%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255314%22%20target%3D%22_blank%22%3E%40bobvr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20share%20which%20OS%20your%20compute%20has%3F%20Linux%2C%20Windows%2010%2C%20Windows%2011%3F%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20review%20the%20BOOT_SEL%20of%20the%20EVK%20to%20be%20properly%20selected%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255314%22%20target%3D%22_blank%22%3E%40bobvr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20sharing%20the%20details%20about%20your%20setup.%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20do%20a%20mass%20erase%20of%20the%20flash%2C%20and%20retry%20to%20debug%20it%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20do%20it%20please%20change%20the%20link%20server%20action%20at%20the%20QuickStart%20Panel%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22carlos_o_0-1767979142309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1767979142309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1767979142309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1767979142309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1767979142309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1767979142309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1767979142309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372354i1CDE663833FAAECE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22carlos_o_0-1767979142309.png%22%20alt%3D%22carlos_o_0-1767979142309.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Eafter%20that%20return%20it%20to%20Debug%20using%20LinkServer%20probes.%3C%2FP%3E%0A%3CP%3EPlease%20share%20a%20screenshot%20if%20you%20have%20any%20error%20message%20in%20the%20process.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20am%20running%20Windows%2011%20on%20a%20Dell%20Alder%20Lake%20desktop.%20The%20boot%20jumper%20(JP1)%20is%20open%20which%20is%20the%20default%20according%20to%20the%20manual%20(MIMXRT685-AUD-EVKUM%20Rev%203%20-%2021%20July%202023).%20I%20presume%20this%20is%20what%20you%20meant%20by%20%22review%20BOOT_SEL%20of%20the%20EVK%22.%20Thanks%20bobvr%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291195%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291195%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECarlos%2C%20Thanks.%20Before%20I%20do%20this%20i%20wanted%20to%20let%20you%20know%20that%20I%20have%20always%20used%20the%20SEGGER%20J-Link%20probes%20and%20there%20is%20%22erase%20flash%20action%20using%20SEGGER%20J-Link%20probes%22%20menu%20option.%20Should%20i%20erase%20using%20that%20or%20using%20the%20link%20server%20probes%20as%20you%20mentioned%20above.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291196%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291196%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECarlos%2C%26nbsp%3B%20I%20tried%20to%20do%20a%20mass%20erase%20with%20the%20link%20server%20but%20got%20an%20error%20message%20-%20screenshot%20attached.%26nbsp%3B%20Thanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291346%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291346%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Carlos%2C%26nbsp%3B%20I%20deleted%20the%20Flash%20using%20the%20Segger%20J-Link%20Probes%20(not%20the%20link%20server%20probes%20as%20that%20firmware%20was%20overwritten%20by%20the%20Segger%20firmware).%26nbsp%3B%20I%20understand%20I%20must%20use%20the%20Segger%20probes%20to%20debug%20both%20the%20ARM%20core%20and%20HiFi4%20DSP.%26nbsp%3B%20I%20also%20updated%20the%20Segger%20firmware%20to%20the%20latest%20version%208.98.%26nbsp%3B%20I%20deleted%20the%20debug%20launch%20file%2C%26nbsp%3B%20deleted%20the%20workspace%20to%20generate%20a%20new%20one%20on%20bootup%20and%20also%20power%20cycled%20the%20board.%26nbsp%3B%20Still%20the%20same%20problem.%26nbsp%3B%20It%20says%20a%20debug%20session%20is%20running%20but%20I'm%20not%20able%20to%20debug.%26nbsp%3B%20As%20i%20said%20this%20happens%20with%20all%20versions%20after%2003%20(06%2C%2009%20and%2012).%26nbsp%3B%20It%20stops%20at%20the%20startup_mimxrt685s.c%20file%20as%20before.%26nbsp%3B%20%26nbsp%3B%20In%20the%20debugger%20console%20I%20do%20see%20a%20warning%26nbsp%3B%20message%20but%20this%20is%20probably%20harmless.%26nbsp%3B%20%22%3CSPAN%3Ewarning%3A%20could%20not%20convert%20'main'%20from%20the%20host%20encoding%20(CP1252)%20to%20UTF-32.%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EThis%20normally%20should%20not%20happen%2C%20please%20file%20a%20bug%20report.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Emonitor%20exec%20SetRestartOnClose%3D1%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EPlease%20advise%20next%20steps.%20Thanks%20bobvr.%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291932%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debug%20tools%20greyed%20out%20with%20latest%20SDK_25_12_00%2C%20work%20fine%20with%20older%20SDK_25_03_00%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291932%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255314%22%20target%3D%22_blank%22%3E%40bobvr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20sharing%20that%20you%20are%20using.%3C%2FP%3E%0A%3CP%3EThe%20issue%20persists%20if%20you%20try%20to%20debug%20with%20link%20server%3F%20Please%20share%20the%20error%20message%20in%20case%20you%20get%20one.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E