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
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
已解决! 转到解答。
Hi Henry,
instead of breakpoint, simply uncheck "Run on reset" like this:
Then it will be stopped right at the reset handler (I can see there's no debug information as it is asm code):
Regards,
Lukas
Hi Henry,
instead of breakpoint, simply uncheck "Run on reset" like this:
Then it will be stopped right at the reset handler (I can see there's no debug information as it is asm code):
Regards,
Lukas