Zephyr中下载固件,使用Jlink相比于MCU-Link要方便许多。这篇分享一下如何操作。
【工具准备】
1、NXP的管方FRDM-mcxa366开发板
2、已经安装好了LinkServer_25.6.131。
【跳线】
找到开发板上的J4 ,使用跳线帽短接。
【升级】
1、进入/Applications/LinkServer_25.6.131/MCU-LINK_installer/scripts
2、修改program_JLINK的可执行权限 chmod +x program_JLINK
3、执行./program_JLINK
4、看到提示后按空格键,稍等一会就刷好了。按回车键就可以退出:
J-Link firmware for MCU-Link programming script v3.0 June 2025. NOTE: J-Link firmware supports MCU-Link Pro and MCU-Link on-board systems that use an LPC55S16 or an LPC55S69 in LQFP100 or BGA98 package. Although the firmware can be programmed in to MCU-Link and MCU-Link on-board systems that use LPC55S69 LQFP64 package, the firmware will not run. Place the board in ISP USB mode using the appropriate jumper on your MCU-Link. Refer to the board documentation for more information. Connect board via USB then press Space. Programming Firmware_J-Link-MCU-LinkLite_250520.s19 Programmed successfully. - To use: remove ISP jumper and reboot. Connect next board then press Space (or <return> to Quit) liujianhua@liujianhuadeMac-mini scripts %
【验证】
打开vscode的mcupresso插件,可以看到成功识别为JLINK
liujianhua@liujianhuadeMac-mini scripts % JlinkExe
SEGGER J-Link Commander V8.44 (Compiled Jun 18 2025 12:19:16)
DLL version V8.44, compiled Jun 18 2025 12:18:28
Connecting to J-Link via USB...O.K.
Firmware: J-Link MCU-Link Lite V1 compiled May 20 2025 14:02:07
Hardware version: V1.00
J-Link uptime (since boot): 0d 00h 07m 00s
S/N: 1255985706
USB speed mode: High speed (480 MBit/s)
VTref=3.300V
我要赚赏金
