JN518x: how to confirm SW_DIS flash setting.

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

JN518x: how to confirm SW_DIS flash setting.

跳至解决方案
1,316 次查看
usaygo
Contributor III

Hello,

I'm now trying to connect debugger to our own designed module. Unfortunately it has an error "Error: Wire Ack Fault - target connected?". I wired PIO12/13(SWDCLK/DIO), PIO5(ISP-EN), RESETN pins to DK6 board (removing NXP's module).

By seeing UM11138, says SWD_DIS setting will affect for SWD interface. But I could not find information about setting/confirming SWD_DIS settings. So I should check this bit at first.

My question is:

  • How to confirm or set the SWD_DIS/JTAG_DIS options? (which tool? how to do it?)
  • Any suggestion to check if SWD debugging has connect error.

 

Thanks in advance!

 

From UM11138:

7.3.1 Boot modes
The boot mode can be selected and is influenced with different settings and inputs, from external pins and values stored in the flash:
• Flash settings
– N-2 page: SWD_DIS: 0 for SW to enable SWD, 1 for SW to disable SWD; JTAG_DIS: 0 for SW to enable JTAG, 1 for SW to disable JTAG
– pFlash_HardwareTestModeEnable enable; ISP access level
• DIO4 and DIO5, allow start-up mode to be specified – DIO4=0, DIO5=0: Hardware test mode
– DIO4=1, DIO5=0: ISP
– DIO4=x, DIO5=1: Normal boot
There is further information on the SYSCON_CODESECURITYPROT write-once register, used to enable or disable JTAG and SWD, in Chapter 10 “System Configuration (SYSCON)”.

 

0 项奖励
回复
1 解答
1,262 次查看
usaygo
Contributor III

Hello, 

I did  a mistake about wiring and success in connecting debugger via DK6 or MCU-Link board

(However, I still have no information about SW_DIS setting. Or should forget about this setting information?)

Thanks!

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,263 次查看
usaygo
Contributor III

Hello, 

I did  a mistake about wiring and success in connecting debugger via DK6 or MCU-Link board

(However, I still have no information about SW_DIS setting. Or should forget about this setting information?)

Thanks!

0 项奖励
回复