S32K3xx SPI debug

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

S32K3xx SPI debug

1,443 次查看
karmegancjk
Contributor III

Hi,

While debugging the SPI example code without a breakpoint, the program enters the startup code. Why does this happen? Is there any issue, and how can it be resolved?

/*BKPT #1 - removed to avoid debug fault being escalated to hardfault when debugger is not attached or on VDK*/
/* last instruction for the debugger to dump results data */
.globl _end_of_eunit_test
_end_of_eunit_test:

Regards,

Karmegan C

标记 (3)
0 项奖励
回复
1 回复

1,402 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @karmegancjk,

I see you are using an example from the RTD package, which S32DS & RTD version are you using? And which example are you running?

I tested Lpspi_Ip_HalfDuplexTransfer_S32K344 and it works as expected:

Julin_AragnM_0-1747938459019.pngJulin_AragnM_0-1747938459019.png

Also, could you share more information on what you mean by "While debugging the SPI example code without a breakpoint"? Are you disabling the breakpoint at main when connecting with the debugger?

Best regards,
Julián

0 项奖励
回复