LPCXpresso no matching for cortex_m0

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

LPCXpresso no matching for cortex_m0

1,923 Views
Pel
Contributor III

Hello NXP Community,

 

I am trying to run some example projects on the NHS3152 NFC Tag, but the following error keep preventing me from uploading a built project onto my board:

Pel_0-1636127036966.png

 

When I proceed (clicking OK) I have the choice of the debugger I want to use :

Pel_0-1636127197276.png

 

Both of them have the same error:

Pel_0-1636127833075.png

 

I can't seems to find the source of the problem, any help is welcome. 

P.S. I have the com.nxp.nhs3xxx.update-7.9.2-SNAPSHOT-159.zip plugin installed

 

Regards.

0 Kudos
11 Replies

1,917 Views
converse
Senior Contributor V

Which debug probe are you using?

0 Kudos

1,899 Views
Pel
Contributor III

Hi,

 

I'm using the LPC-Link 2. (With the connection LPC-Link 2 J7 -to- NHS3135 demotkit J2).

0 Kudos

1,908 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,Alexandre,

Maybe this ticket can help you, pls refer to it.

https://community.nxp.com/t5/Sensors/Arduino-as-ISP-Flash-Magic-don-t-work-on-NHS3152/m-p/808336

 

BR

XiangJun Rong

0 Kudos

1,894 Views
Pel
Contributor III

Hello XiangJun,

 

Thank you for the recommendation. Unfortunately, it wasn't my problem. I had shorted the jumper 2 of my LPC-Link 2. Plus, I just measured 3.3V between my VDD and GND when my NHS3152 TAG is connected to the LPC-Link trough the J2 connector, so the chip seems to have power when I debug.

Any other Idea ?

 

Regards.

Alexandre.

0 Kudos

1,884 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Alexandre,

I have not the schematics of the NHS3152 demo kit, I attach the page of LPC-Link 2 schematics, you have to connect the J7(10 pins) or J8(20 pins) of LPC-link 2 to the SWD connector of NHS3152 demo board. If you close JP2, the NHS3152 demo kit will get power from LPC-LINK 2 board.

I suppose that the JP1 should be closed for LPC-link 2 board, pls have a try.

BR

XiangJun Rong

 

 

 

xiangjun_rong_0-1636440520596.png

 

0 Kudos

1,863 Views
Pel
Contributor III

Hi XiangJun,

 

Thank you for your time. I tried debugging with JP1 shorted like you suggested. For the C/C++ Application Debug I have the same result. But, when I use the C/C++ (NXP Semiconductors MCU Application Debug I have a new error:

Pel_0-1636476897523.png  Pel_1-1636476918285.png

 

I thinking that maybe my board has some functions disable, but don't know how to make sure.

 

Regards.

0 Kudos

1,855 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I think that the  LPC-Link 2 device configuration is okay. It appears that the Cortex-M0 of  NHS31xx has response.

Pls refer to the ticket:

https://community.nxp.com/t5/LPC-Microcontrollers/NHS3152-Program-will-only-run-while-connected-to-L...

BR

XiangJun Rong

0 Kudos

1,849 Views
Pel
Contributor III

Hello,

 

After reading and researching a bit I managed to flash the NHS3152 chip on my board and the code seems to work fine (I uploaded demo_blinky and now the LED blink). But when I try to debug the demo_blinky project I still have the same errors as before. 

Is this a normal behavior ? I can flash the code on the chip, but can't debug it.

Regards.

0 Kudos

1,843 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Pel,

Unfortunately, I have not idea why you can not debug but can download code to flash. Does the LPCXpresso supports NHS3152?

BR

XiangJun Rong

 

Tags (1)
0 Kudos

1,835 Views
Pel
Contributor III

Hello,

 

Everything seems to indicate that the NHS3152 is supported by the IDE.

Here is two examples:

MCU settings

Pel_0-1636641909038.png

 

Creating a new project

Pel_1-1636642013919.png

 

Regards.

0 Kudos

1,543 Views
dani22222
Contributor I

Did you manage to fix the issue? 

I'm having same problem 

0 Kudos