Production programming LPC5504

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

Production programming LPC5504

1,323 次查看
Kabao
Contributor I

Hello.

I have lot of boards with LPC5504, and I need to set on foot automatic programming of them, so I need some hardware tool that connected to MCU, and software, that can be built in my software. So, software can be:

  • library
  • console application
  • GUI application that can receive all necessary parameters vis command line or config file
  • any other type that can be called and perform erase-program-verify without involving user interaction

I tryed to use MCU-Link as hardware, but I can't find appropreate software (openocd don't support LPC5504, MCUXpresso have't tools that I need). J-Link can be used for that, but it much more expencive than MCU-Link.

So, my question: is here any software solutions to use MCU-Link or some other cheap hardware for stream programming of boards?

0 项奖励
回复
1 回复

1,315 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

The Bootloader code is integrated into the ROM of LPC5504, I think you can use use bootloader to program the LPC5504 on-chip flash.

The PIO0_29 and PIO0_30 are Uart pins, you can connect the two pins to a USB-UART board from third party to do the work.

On the PC, you can use blhost command.

This is blhost command instruction UG.

https://www.nxp.com.cn/docs/en/user-guide/MCUBLHOSTUG.pdf

You can download the SDK from the link:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

After you unzip the package, pls refer to the directory for the blhost.exe

....\SDK_2_10_1_LPCXpresso55S06\middleware\tfm\tf-m\platform\ext\target\nxp\common\secure_boot\tools

 

Another tools is Flashmagic, you can download application code via both SWD  and in ISP mode.

https://www.flashmagictool.com/   

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复