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

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

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

1,324 Views
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.

Labels (2)
Tags (1)
0 Kudos
6 Replies

1,272 Views
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 Kudos

1,248 Views
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 Kudos

1,315 Views
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 Kudos

1,310 Views
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 Kudos

1,292 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

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

 

0 Kudos

1,263 Views
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 Kudos