S32K3X4EVB--build debug environment

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

S32K3X4EVB--build debug environment

ソリューションへジャンプ
2,656件の閲覧回数
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,632件の閲覧回数
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,633件の閲覧回数
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,451件の閲覧回数
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,449件の閲覧回数
Martin_zhang
Contributor I

Hardware board: S32K3X4EVB-Q172

Software packeg: CAN_47478A_440_090 from NXP.

0 件の賞賛
返信