LPC-Link2 missing the LS driver for both debug and release configruations

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

LPC-Link2 missing the LS driver for both debug and release configruations

跳至解决方案
1,960 次查看
jDrum
Contributor III

We were trying to get the release build to run for a custom  LPC11U68  PCB.

1.  Previously, the debug configuration ran fine.

2.  We tried to make a release version.  In that process, the LS driver for the Link2 got deleted or lost.

3.  Now the debug configuration does not run either.

I don't see anything in the make files that relates to the Link2 to put the driver  back,

How do I proceed?

jDrum

 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,951 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Please create a new project under a new workspace. check if connection works for this one?

If still fail connection, run your project in ISP mode. How does this work?

If neither of above can solve the problem, update your LPC Link2 firmware with Jlink interface. try if Jlink connection works for your board?

https://www.nxp.com/design/microcontrollers-developer-resources/lpcscrypt-v2-1-2:LPCSCRYPT

Have a nice day

Jun Zhang

Jun Zhang

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,952 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Please create a new project under a new workspace. check if connection works for this one?

If still fail connection, run your project in ISP mode. How does this work?

If neither of above can solve the problem, update your LPC Link2 firmware with Jlink interface. try if Jlink connection works for your board?

https://www.nxp.com/design/microcontrollers-developer-resources/lpcscrypt-v2-1-2:LPCSCRYPT

Have a nice day

Jun Zhang

Jun Zhang

0 项奖励
回复
1,941 次查看
jDrum
Contributor III

Hello @ZhangJennie 

Thank you for the suggestions.  We will try the ISP mode.

We solved the problem.  There were two main issues.

1.  There were two XML  .project files in our  project.  This led to a very long project because every time we did an export the entire project was copied to the previous debug folder.     We cleaned the project outside of the IDE.

2.  During our tries to make a release launch the LPC11U68 chip locked up and no longer oscillates.  A second PCB works OK.

We are trying to get the bad chip to come alive by using FlashMagic, but will probably replace the chip.

3.  The Release launch needs the chip and the board projects to be also recompiled in release mode.

4.  The LS link server file is added to the project during a successful launch.

jDrum

0 项奖励
回复