Failed to power up DAP ERROR: Could not connect to target IMXRT1176

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to power up DAP ERROR: Could not connect to target IMXRT1176

6,922 Views
Chethanbg
Contributor III

Hi,

We are unable to Program/debug the custom board IMXRT1176

Following error is reported

 

ERROR: Could not connect to target.
  SEGGER J-Link GDB Server V7.60b Command Line Version
  JLinkARM.dll V7.60b (DLL compiled Dec 22 2021 12:54:46)
  Command line: -nosilent -swoport 2332 -select USB=504505916 -telnetport 2333 -singlerun -endian little -noir -speed auto -port 2331 -vd -device MIMXRT1176xxxA_M7 -if SWD -halt -reportuseraction
  -----GDB Server start settings-----
  GDBInit file:                  none
  GDB Server Listening port:     2331
  SWO raw output listening port: 2332
  Terminal I/O port:             2333
  Accept remote connection:      localhost only
  Generate logfile:              off
  Verify download:               on
  Init regs on start:            off
  Silent mode:                   off
  Single run mode:               on
  Target connection timeout:     0 ms
  ------J-Link related settings------
  J-Link Host interface:         USB
  J-Link script:                 none
  J-Link settings file:          none
  ------Target related settings------
  Target device:                 MIMXRT1176xxxA_M7
  Target interface:              SWD
  Target interface speed:        auto
  Target endian:                 little
  Connecting to J-Link...
  J-Link is connected.
  Device "MIMXRT1176XXXA_M7" selected.
  Firmware: J-Link Ultra V4 compiled Sep 24 2021 16:41:09
  Hardware: V4.00
  S/N: 504505916
  Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
  Checking target voltage...
  Target voltage: 3.32 V
  Listening on TCP/IP port 2331
  Connecting to target...
  Found SW-DP with ID 0x6BA02477
  Failed to power up DAP
  Found SW-DP with ID 0x6BA02477
  Failed to power up DAP
  Found SW-DP with ID 0x6BA02477
  Failed to power up DAP
  Found SW-DP with ID 0x6BA02477
  Failed to power up DAP
  ERROR: Could not connect to target.

 

Kindly help us to resolve ASAP

0 Kudos
8 Replies

5,371 Views
Kamalraj
Contributor I

Facing the same issue , Any tips ?

0 Kudos

6,878 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
Can you share the schematic of the QSPI flash?
Further, you can try this trick to recover.
1) Set the Boot mode pins to Serial Downloader.
2) Power on the board, and debug the demo project.
3) After that, power off and recover the Boot mode pins to the previous set, then power on again.
4) Give a debug again.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

6,872 Views
Chethanbg
Contributor III

Thanks for solution. It worked as you said we tried demo project through serial downloader then by JTAG.

I am curious to know the reason where it got struck?

What may be the possible reasons?so that next time we will take care of that

0 Kudos

6,860 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
From my experience, I guess the issue is related to the flash driver for the external flash, it may sometime work unstably.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,291 Views
Lohi
Contributor I

Hello @jeremyzhou,

 

I'm also facing this issue in my board but im using MIMXRT1064 microcontroller in my boards. It is observed the when we connect the board with JTAG debugger while development it is happening. Can you help us in resolving this issue.

 

Thanks and best regards,

Lohith V 

0 Kudos

6,915 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I'd like to suggest you upload the schematic of the custom board, further, I guess these issues are related to the hardware, so you'd better check it, such as boot mode setting, power supply, etc.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

6,913 Views
Chethanbg
Contributor III

Attached is our custom board schematics.We have burnt the fuse for default flash/boot from QSPI NOR flash.Past 1 month we are working there is no issue found while flashing and debugging.

So our boot mode setting is 00 - Boot from Fuse

We checked our power supply rails,all are fine which is input to MCU and output voltage from internal LDO of MCU.

 

0 Kudos

6,921 Views
Chethanbg
Contributor III

We are using JTAG ultra in SWD mode.

Also we are not able to detect in serial downloader.

Attached is the error while connecting in serial downloader mode.

0 Kudos