Standalone LinkServer Problem while Flash Programming

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

Standalone LinkServer Problem while Flash Programming

Jump to solution
302 Views
BahadirA
Contributor I

Hi everyone,

I want to programming LPC802 microcontroller with makefile and standalone LinkServer. Also Mcuxpresso is installed at my PC.

When I use MCUexpresso's crt_emu_cm_redlink everything is fine, I can flash programming that makefile command at below.

 /usr/local/mcuxpressoide-11.8.0_1165/ide/binaries/crt_emu_cm_redlink -pLPC802 -vendor=NXP -flash-load-exec "./build/Blink.bin" -load-base=0x00000000 

 

But when i use standalone LinkServer it's fail. Makefile command at error message at below.

/usr/local/LinkServer_1.4.85/binaries/crt_emu_cm_redlink -pLPC802 -vendor=NXP -flash-load-exec "./build/Blink.bin" -load-base=0x00000000 

 

Ns: MCUXpresso IDE RedlinkMulti Driver v11.9 (Dec 11 2023 18:09:23 - crt_emu_cm_redlink build 2)
Wc(03). No cache support.
Nc: Didn't find chip 'LPC802' vendor 'NXP' in any part information directory
Ea: part information directories:
Ea: -x "/usr/local/LinkServer_1.4.85/binaries"
Nc: chip initialization failed - Ec(04). Chip name unknown in library.
Et:51: This MCU is not supported by the product (Failed on -p named Package (chip/board) lookup).
make: *** [Makefile:210: instalit] Error 1

 

Only versions are different (11.9 & 11.8). How can i fix it ?

0 Kudos
1 Solution
296 Views
ErichStyger
Senior Contributor V

I recommend that you are not using the crt_emu_cm_redlink, as there is a standalone linkserver package/installation available from NXP, which is intended to be used as such.

See https://mcuoneclipse.com/2023/05/14/linkserver-for-microcontrollers/

 

I hope this helps,

Erich

View solution in original post

0 Kudos
2 Replies
286 Views
BahadirA
Contributor I

Thank you so much. The makefile command that works for me at below.

/usr/local/LinkServer/LinkServer flash LPC802 load -e -a 0 ./build/Blink.bin

 

0 Kudos
297 Views
ErichStyger
Senior Contributor V

I recommend that you are not using the crt_emu_cm_redlink, as there is a standalone linkserver package/installation available from NXP, which is intended to be used as such.

See https://mcuoneclipse.com/2023/05/14/linkserver-for-microcontrollers/

 

I hope this helps,

Erich

0 Kudos