The menu command Run > Debug As Local C/C++ App results in this Problem Occurred msg:

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

The menu command Run > Debug As Local C/C++ App results in this Problem Occurred msg:

1,019 Views
stevewald
Contributor III

Running LPCXpresso_8.1.4_606 locally on a PC/Windows7. 

pastedImage_1.png

How do I fix this?

0 Kudos
5 Replies

794 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Steve,

Could you tell us which MCU are you using?

Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos

794 Views
stevewald
Contributor III

Our MCU is the NHS3100. I am a noob with this debugger and am having problems getting it to run anything.

Steve

0 Kudos

794 Views
IvanRuiz
NXP Employee
NXP Employee

Hello Steve,

-Can LPCXpresso detect the LPC-Link2 when debugging?

-How are the jumpers on LPC-Link2 being shorted?

-Can you build the project you are working with successfully?

Could you please provide us with additional information on this request?

Regards,

Ivan.

0 Kudos

794 Views
stevewald
Contributor III

Ivan,

After re-configuring Windows>Prefs>LPCXpresso to use the right MCU and LPC-Link2, and after running Boot Debug Probe, I attempted to reprogram the flash, but got this message:

pastedImage_1.png

In my Windows devs & printers panel, the LPC device name changed to "LPC-LINK2 CMSIS-DAP V5.147". Encouraging?

Like I said, I'm a noob with this API & its debug.

0 Kudos

794 Views
stevewald
Contributor III

Hi Ivan,

FlashMagic can detect and work through the LPC-Link2 fine. I cannot tell whether LPCXpresso is detecting it or not.

The jumpers are set normally: JP1 is open, JP2 is shorted.

The project builds successfully both in Release and Debug mode.

I have two info’s in the problems report that might point to something:

Description Resource Path Location Type

Bad function name "defaultIntHandler" (pattern /^[A-Z_]/) startup.c /lib_chip_nss/mods/startup line 60 Code Analysis Problem

Bad function name "defaultResetISR" (pattern /^[A-Z_]/) startup.c /lib_chip_nss/mods/startup line 70 Code Analysis Problem

Debug just fails to run.

Steve

0 Kudos