Wire ACK Fault in DAP Access

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

Wire ACK Fault in DAP Access

617 Views
caden013
Contributor III

15: Target error from Register access
15: Target error from Register access
Wire ACK Fault in DAP access
Debugging context: Analog Testing_spi_interrupt LinkServer Debug

 

Hi all, I am getting the error shown above ^^^. The culprit is the "CTIMER4" in the following function: CTIMER_Init(CTIMER4, CTIMER_config). When I replace "CTIMER4" with 0, I don't receive this error. Can anyone help me out?

Tags (1)
0 Kudos
2 Replies

605 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello caden013,

Yes, As Frank said, please first check have you enable CTIMER4 clock.

If still has issue, please share your whole project.

 

BR

Alice

0 Kudos

610 Views
frank_m
Senior Contributor III

Perhaps you need to enable the clock to the peripheral first ?

The peripheral unit needs to be enabled first (including the clock), before you can access the register. Other MCUs throw hardfaults if you try to access registers in non-clocked peripherals.

For my MCU (LPC546xx), the respective SDK call is CLOCK_AttachClk() in fsl_clock.c.

0 Kudos