Just upgraded MCUXpresso to v11 from v10.2.0. Sure, debugging works - then fail, then works, then fails, etc. This is on an Embedded Artists LPCXpresso LPC1769 (yes, the old, old one). It worked just fine with 10.2.0.
Randy
MCUXpresso IDE RedlinkMulti Driver v11.0 (May 22 2019 13:46:40 - crt_emu_cm_redlink build 6)
Found part description in XML file nxp_lpc17xx.xme
Reconnected to existing LinkServer process.
Connecting to probe 1 core 0 (using server started externally) reports:
'Ee(42). Could not connect to core.'
Retrying...
Reconnected to existing LinkServer process.
Server OK but no connection to probe 1 core 0 (after 3 attempts) - Ee(42). Could not connect to core.
Failed on connect: Ee(42). Could not connect to core.
No connection to chip's debug port
I've now managed to replicate this behaviour on one of our test machines (but not on others), and have a potential workaround for you to try whilst we investigate further.
Please can you try modifying the launch configuration for your project to change the the "Reset Handling" entry to make it empty (to do this double click on the .launch file in the Project Explorer View). Does this allow you to debug successfully multiple times in a row?
Regards,
MCUXpresso IDE Support
That did not work. Although, it gave even odder behavior before I power cycled the board (something about not being able to halt the processor). I tried all 5 setting (with a power cycle in between) without effect.
Randy
p.s. No documentation for this page?
11.0.1 - still not working.
Randy
Can you confirm if you see the same problem if you import and debug one of the "simple" examples provided in
install_dir\ide\Examples\Legacy\NXP\LPC1000\LPC17xx\LPCXpresso176x_cmsis2.zip
Can you please provide the text contents of the Debug Messages Console from both a successful and failing debug session, as described in section 19.12, "The Console View" of the MCUXpresso IDE v11.0 User Guide?
Can you also confirm the host OS you are running the IDE on?
Finally, please try running through the troubleshooting section of Booting LPC-Link and let us know if any of these suggestions help.
Regards,
MCUXpresso IDE Support
More:
Randy
Sorry. Pressing 'Boot Debug Probe' does NOT guarantee success. I don't know what I was thinking.
Randy
Hello Randy John,
Could you please first check whether the Device Manager of you PC can recognize your board.
If yes, test a simple project to debug.
If still can't work , please take a video or screenshots show your steps and error, thanks.
BR
Alice
Here are two screen shots. The first (at 9:52) is after a successful debug session. I reached the first statement and then terminated. The second (at 9:53) shows a subsequent debug session which failed. The steps are simple. Debug, Terminate then Debug again. Occasionally I get two successes in a row but usually it's success, fail, success, fail, etc. The project was generated by MCUXpresso.
Randy
Hello Randy,
- Please "Clean up debug" before next debug:
- It seems there is also issue in your first debug, please test a demo. Also send your project to me.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
I already tried "Cleanup Debug" - it doesn't work. The project is just an NXP generated empty project.
Randy
Hi Randy,
Delete the .metadata folder under worksapce:
Well, that was a disaster. Fortunately, I saved the old folder. A simpler way to do what you ask is to create a project in a new workspace. Yes, I already tried that. It didn't work.
Randy
My problem may not be the exact same but I seem to have more problems with the newer versions of the tools.
I am having even more issues with newer boards with an LPC-Link2 debug probe on the board.