How to programming with LPC Link2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to programming with LPC Link2

3,336 次查看
hans1234569
Contributor I

Hi all,

I am new to LPC Controller, and I am trying to program LPC5516 chip with LPC Link2.

I have already configured the LPC Link2 to J-link mode, but when I connected to my own built board with SW, Link2 can not recognize it.

So I check the user manual & datasheet, then they relate the ISP Mode can use for flash programming, and I refer to LPC55s16 - EVK then do it the same method, but still like before.

 

 

Is there something I should noticed about?

Hope anyone can help,I`ll appreciate.

Really thanks~

0 项奖励
回复
5 回复数

3,326 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi.

If you use custom PCB, check if the debug interface is well designed:

https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565#M44

 

To identify the problem on debug probe or MCU board, test your LPC-Link2 with another board, can it connect successfully?

 

If your LPC-Link2 has no problem, test the MCU board in ISP mode. create a NEW project with a NEW workspace, see if it can be connected?

 

Have a nice day

Jun Zhang

0 项奖励
回复

3,202 次查看
Roger_WANG_2022
Contributor I

hi,

I meet the same question as you mentioned. I tested on LPC55s69-EVK successfully, but failed on LPC55s16-EVK. 

0 项奖励
回复

3,197 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi wangguoyun

This thread is of 4 months ago and it is closed. 

If you have query, please create a new thread. We will check.

Thanks,

Jennie

0 项奖励
回复

3,323 次查看
hans1234569
Contributor I

Hi @ZhangJennie ,

 

Thanks for your reply!

Here is Keil C debug function setting, it can connector to LPC Link2 but LPC5516 not.

https://ibb.co/N1DVt9m 

 

From LPC55S16 - EVK

It says how to force in ISP Mode

https://ibb.co/F3gw7SZ 

 

I have no ideal about this method is correct or not.

 

Do you have some suggestions for reference?

 

Thanks again for your help!

 

 

 

0 项奖励
回复

3,303 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

So you use LPC55S69 EVK board. with this board, to enter ISP mode, press ISP button as I show below, then connect board with PC. try if you can connect board now. Make sure you use a new project in a new workspace.

ZhangJennie_0-1600404270579.png

 

If can't connect board in ISP mode, update the on board debug firmware with LPCScrypt

https://www.nxp.com/design/microcontrollers-developer-resources/lpc-microcontroller-utilities/lpcscr...

the training of how to use this tool is posted on this link.

 

Jun Zhang 

 

0 项奖励
回复