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:
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)”.
已解决! 转到解答。
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!
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!