NXP MCXN547 JTAG Pin Configuration

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

NXP MCXN547 JTAG Pin Configuration

跳至解决方案
496 次查看
Sparklin
Contributor II
Hi NXP,
 
We reserve the JTAG pins for potential JTAG functionality on the device.
 
Although we will primarily use SWD for development and debugging, we still need to know how to configure the device to support full JTAG functionality if needed.
 
Here are the steps from google to support the JTAG on MCXN547.
 
Please correct me if there is anything wrong or provide the related document. That would be great.

By default, the MCU is set to SWD mode. To enable JTAG, we need to configure the BOOT_CFG fuses—either directly or via the ISP tool (blhost).
 
Below is an example of how to do this using blhost:
 
# Check if the MCU is connected
blhost -p /dev/ttyUSB0 -- get-property 1

# Read the current BOOT_CFG value
blhost -p /dev/ttyUSB0 -- read-memory 0x9E410 4

# Program the JTAG-enable fuse (example value only)
blhost -p /dev/ttyUSB0 -- fuse-program-once 0x460 0x00000010

# Reset the MCU

Use a debug device like the PEmicro Multilink, with proper configuration applied within MCUXpresso IDE to support JTAG.
标签 (2)
标记 (1)
0 项奖励
回复
1 解答
445 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Sparklin 

Thanks for your question.

Both SWD and JTAG are enabled on the MCXN547, so there's no need for software configuration. For SWD/JTAG hardware design, please refer to the schematic of the FRDM - MCXN947.

https://www.nxp.com/webapp/Download?colCode=90818-MCXN947SH 

Alice_Yang_0-1751957497062.png

If you using MCUXpresso with J-link probe,  choose JTAT as below:

Alice_Yang_1-1751957779934.png

 

If you have any issues or concerns, don't hesitate to contact me.

Thank you.

 

BR

Alice

 

在原帖中查看解决方案

3 回复数
446 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Sparklin 

Thanks for your question.

Both SWD and JTAG are enabled on the MCXN547, so there's no need for software configuration. For SWD/JTAG hardware design, please refer to the schematic of the FRDM - MCXN947.

https://www.nxp.com/webapp/Download?colCode=90818-MCXN947SH 

Alice_Yang_0-1751957497062.png

If you using MCUXpresso with J-link probe,  choose JTAT as below:

Alice_Yang_1-1751957779934.png

 

If you have any issues or concerns, don't hesitate to contact me.

Thank you.

 

BR

Alice

 

472 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello @Sparklin ,

This post in on the NXP Public forums. Were you trying to post it in a different community space?

Regards,
Gustavo

0 项奖励
回复
460 次查看
Sparklin
Contributor II
Hi Gusarambula,

Here is the first place to post the question.
Just want to figure out the way to enable JTAG mode is by configuring the BOOT_CFG fuses with blhost.

Regards,
Spark
0 项奖励
回复