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:
When I proceed (clicking OK) I have the choice of the debugger I want to use :
Both of them have the same error:
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.
Which debug probe are you using?
Hi,
I'm using the LPC-Link 2. (With the connection LPC-Link 2 J7 -to- NHS3135 demotkit J2).
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
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.
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
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:
I thinking that maybe my board has some functions disable, but don't know how to make sure.
Regards.
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:
BR
XiangJun Rong
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.
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
Hello,
Everything seems to indicate that the NHS3152 is supported by the IDE.
Here is two examples:
MCU settings
Creating a new project
Regards.
Did you manage to fix the issue?
I'm having same problem