Programming flash without debugger

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

Programming flash without debugger

2,335 次查看
markeckerberg
Contributor I

I'm trying to find a way to just program the flash on a K22 without launching the debugger.

It doesn't seem possible with the pemicro programmer using mcuxpresso. "LinkServer GUI flash programmer" doesn't work with that programmer.  You would have to buy a $200 app from pemicro.

So I bought an LPC Link2 which, from what I read, should work with mcuxpresso "GUI flash programmer". I verified I have the CMSIS-DAP driver and it still wont work from the GUI.  So, I found the command line utility and tried :

crt_emu_cm_redlink -p K22FX512AM12 --flash-load ...

I get : Ec(04). Chip name unknown in library

So I searched online for the chip name library to see if I may not have the chip name formatted correctly.  I cannot find a list of supported chip names.  Does one exist?

0 项奖励
回复
2 回复数

1,883 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Have you actually downloaded an appropriate SDK for your target MCU? This needs to be done to give the IDE part knowledge necessary to carry out flash programming.

For more details, please see the MCUXpresso IDE v10.1 User Guide, in particular:

  • Chapter 4, "SDKs and Preinstalled Part Support Overview"
  • Section 12.5, "Using the LinkServer Flash Programmer"

Regards,

MCUXpresso IDE Support

0 项奖励
回复

1,883 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Mark,

I recommend you refer professor Erich Styger's article that may help you.

Using Eclipse to Program Binary Files to an Embedded Target | MCU on Eclipse 


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复