Wire ACK Fault in DAP Access

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Wire ACK Fault in DAP Access

367件の閲覧回数
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?

タグ(1)
0 件の賞賛
2 返答(返信)

355件の閲覧回数
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 件の賞賛

360件の閲覧回数
frank_meyer
Senior Contributor II

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 件の賞賛