How to program the lpc54102 flash using crt_emu_cm_redlink?

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

How to program the lpc54102 flash using crt_emu_cm_redlink?

1,237 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jgrivera67 on Thu Jul 23 13:43:26 MST 2015
I tried the following but it does not work:

$ /usr/local/lpcxpresso_7.8.0_426/lpcxpresso/bin/crt_emu_cm_redlink -pLPC54102 -vendor=NXP -flash-load-exec="$ELF_FILE"
Ni: LPCXpresso RedlinkMulti Driver v7.8 (May 28 2015 03:21:31 - crt_emu_cm_redlink build 388)
Nc: chip initialization failed - chip name not found
Et:51: This MCU is not supported by the product (Failed on -p named Package (chip/board) lookup).


Does anybody know how to program the LPC54102 flash from the command line?

Thanks,

German
0 项奖励
回复
3 回复数

1,113 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jgrivera67 on Fri Jul 24 15:21:13 MST 2015
Thanks, That worked.
0 项奖励
回复

1,113 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Jul 24 06:31:00 MST 2015
There is no part called LPC54102 in LPCXpresso. The part names recognized by LPCXpresso are called:
[list]
  [*]LPC54101J256
  [*]LPC54101J512
  [*]LPC54102J256
  [*]LPC54102J512
[/list]

So you should be able to program from the command line with the following command:
crt_emu_cm_redlink -flash-load-exec myapp.axf -g -2  -vendor=NXP -pLPC54102J512   
0 项奖励
回复

1,113 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jul 23 14:34:27 MST 2015
If you use the program flash button in the IDE, it has an option to copy the command used to the clipboard, you can then see which options you need to use.
0 项奖励
回复