Standalone LinkServer Problem while Flash Programming

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

Standalone LinkServer Problem while Flash Programming

跳至解决方案
1,106 次查看
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 项奖励
回复
1 解答
1,100 次查看
ErichStyger
Specialist I

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 项奖励
回复
2 回复数
1,090 次查看
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 项奖励
回复
1,101 次查看
ErichStyger
Specialist I

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 项奖励
回复