Flashing a user program LPC-LINK2 from other LPC-LINK2

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

Flashing a user program LPC-LINK2 from other LPC-LINK2

2,879 次查看
maneesh_pawar
Contributor I

I am using one LPC-LINK2 (as debug probe) and another LPC-LINK2(as target) on MCUexpress. My program is running fine, I can program the target from debugging probe via MCUexpress easily. I want to flash the program .bin file into target FLASH using the debug probe so that i can boot my target with the program .bin file without debugging probe. I have searched exhaustively but am unable to find any example or webpage.

There is GUI flashing utility in MCUexpress but requires a lot of parameters like addresses, scripts etc, kindly suggest a simple way.

Kindly guide.

标签 (2)
标记 (1)
0 项奖励
回复
6 回复数

2,827 次查看
maneesh_pawar
Contributor I

The GUI flash tool has three option:

1. CMSIS-DAP: requires a script and flash driver, where toget these?

2. P & E probe

3. SEGGER J-KINK probe?

what are the settings to be used for option 1 & 2?

0 项奖励
回复

2,803 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello maneesh_pawar,

Just config it as below when use CMSIS-DAP probe.

Alice_Yang_0-1632709797599.png

 

Pay attention, LPC-LINK doesn't support P&E debug probe, only support CMSIS-DAP and JLINK.

 

BR

Alice

 

0 项奖励
回复

2,870 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

The  addresses, scripts are necessary, there is no internal flash with lpc4370, it can't program to 

external flash without the detail information you said.

 

BR

Alice

0 项奖励
回复

2,865 次查看
maneesh_pawar
Contributor I

Sir

Can you please simply tell a way to program a LPC-LINK2 from another so that the program boots at power ON. 

Even if it requires the address, what should be the address, can it be explained in detail. My application is running reasonably well, is it wise to invest months to understand what you perhaps already know. So i request to explain a way to program LPC-LINK2 target from another LPC-LINK2 debug probe.

 

regards

0 项奖励
回复

2,847 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

The better way is use GUI Flash tool of MCUXpresso IDE.

 

0 项奖励
回复

2,818 次查看
maneesh_pawar
Contributor I

The GUI flash tool has three option:

1. CMSIS-DAP: requires a script and flash driver, where toget these?

2. P & E probe

3. SEGGER J-KINK probe?

what are the settings to be used for option 1 & 2?

0 项奖励
回复