S32K3X4EVB--build debug environment

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

S32K3X4EVB--build debug environment

跳至解决方案
2,648 次查看
Henry_Mei
Contributor III

Hi,

I am using S32K3X4EVB to test ADC demo code, but the debug always is fail, i try to set 'Startup--> set breakpoint at : SystemInit' and 'Startup--> set PC: Reset_handle or 0' , it cannot be debugged, please check the information of console. Many thanks.

IDE: S32DS 3.4

Snipaste_2022-02-12_12-57-27.png

Error detail is as follows:

/......

Initializing.
Soft reset failed!
Target has been RESET and is active.
Soft reset failed!

Starting reset script (C:\nxp\S32DS.3.4\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_5.1.7.202112141853\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) ...
REM Enable clocks for selected cores in MC_ME module (the sequence below enables all clocks).
REM Initialize RAM and DMA:
REM Initialize DMA TCD:
REM Copy valid executable code to RAM for each core to be used.
REM Enable required cores in MC_ME:
Delaying for 20mS ...
Done.

Reset script (C:\nxp\S32DS.3.4\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_5.1.7.202112141853\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) completed.

BusFault: A bus fault has occurred during instruction prefetching.
HardFault: A fault has been escalated to a hard fault.

../

 

Br,

Henry

 

0 项奖励
回复
1 解答
2,624 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Henry,

instead of breakpoint, simply uncheck "Run on reset" like this:

lukaszadrapa_1-1644829441095.png

 

Then it will be stopped right at the reset handler (I can see there's no debug information as it is asm code):

lukaszadrapa_2-1644829458898.png

 

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,625 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Henry,

instead of breakpoint, simply uncheck "Run on reset" like this:

lukaszadrapa_1-1644829441095.png

 

Then it will be stopped right at the reset handler (I can see there's no debug information as it is asm code):

lukaszadrapa_2-1644829458898.png

 

Regards,

Lukas

0 项奖励
回复
2,443 次查看
Martin_zhang
Contributor I

Martin_zhang_0-1654084488403.png

I also have same problem, i using demo from NXP, using RTD version SW32K3_RTD_4.4_0.9.0. 

0 项奖励
回复
2,441 次查看
Martin_zhang
Contributor I

Hardware board: S32K3X4EVB-Q172

Software packeg: CAN_47478A_440_090 from NXP.

0 项奖励
回复