2368360_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2368360_en-US

2368360_en-US

S32k396 -BGA -DC1 ScH 55517 RevB2 not flashing

my evaluation board is not flashing ,  i am using micro usb port,  , i did check the Jtag connections actually , ,,,, The manual says J17 ,16 , 18 and 19 should all b at 2-4 position connector shorted , but if i place them there  reset Led turns on D15. abort or retry window appears

, if J17, J18, J16, J19 have 1-2 position shorted this error message comes

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "62565" to 6224
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "62570" to 7224
Telnet server running on 127.0.0.1:51794
Requesting next symbol pxCurrentTCB
Symbol pxCurrentTCB not found.
Requesting next symbol pxReadyTasksLists
Symbol pxReadyTasksLists not found.
Requesting next symbol xDelayedTaskList1
Symbol xDelayedTaskList1 not found.
Requesting next symbol xDelayedTaskList2
Symbol xDelayedTaskList2 not found.
Requesting next symbol xPendingReadyList
Symbol xPendingReadyList not found.
Requesting next symbol uxCurrentNumberOfTasks
Symbol uxCurrentNumberOfTasks not found.
Requesting next symbol uxDeletedTasksWaitingCleanUp
Symbol uxDeletedTasksWaitingCleanUp not found.
Requesting next symbol xSuspendedTaskList
Symbol xSuspendedTaskList not found.
Requesting next symbol xSchedulerRunning
Symbol xSchedulerRunning not found.
Requesting next symbol FreeRTOSDebugConfig
Symbol FreeRTOSDebugConfig not found.
Requesting next symbol _tx_thread_current_ptr
Symbol _tx_thread_current_ptr not found.
Requesting next symbol _tx_thread_created_ptr
Symbol _tx_thread_created_ptr not found.
Requesting next symbol _tx_thread_created_count
Symbol _tx_thread_created_count not found.
Requesting next symbol _tx_thread_system_state
Symbol _tx_thread_system_state not found.
Unable to load libusb0.dll
Copyright 2025 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_6.0.3.202506131845\win32\pegdbserver_console -device=NXP_S32K3xx_S32K396 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -port=U„
PEmicro Interface detected - Flash Version 10.98

CMD>RE

Initializing.
INFO: DAP IDCODE = 0x6BA02477
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_6.0.3.202506131845\supportFiles_ARM\NXP\S32K3xx\nxp_s32k396_1x32x1524k.arp

Initializing.
INFO: DAP IDCODE = 0x6BA02477
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000
Initialized.

;version 1.01, 12/11/2023, Copyright 2023 P&E Microcomputer Systems, www.pemicro.com [S32K396]

;device nxp, s32k396, 1x32x1524k,

;begin_cs device=$00400000, length=$005F4000, ram=$20400000

Loading programming algorithm ...
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00400000-00417EE7 ...

Error! CRC Command Timed Out
Current content of flash does not match application to be programmed
CMD>EM
Command is inactive for this .ARP file.
Error Erasing flash of device
Error occured during Flash programming.
INFO: DAP IDCODE = 0x6BA02477
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000

Starting reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_6.0.3.202506131845\supportFiles_ARM\NXP\S32K3xx\S32K396.mac) ...
REM Disable Watchdog
REM Enable clocks for selected cores in MC_ME module (the sequence below enables all clocks).
REM MC.ME Partition 0 configured, enabling clocks for Partition 1
Delaying for 50mS ...
Done.
Delaying for 50mS ...
Done.
Delaying for 50mS ...
Done.
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 1000mS ...
Done.
Delaying for 1000mS ...
Done.
Delaying for 1000mS ...
Done.
INFO: DAP IDCODE = 0x6BA02477
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000040
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running
Warning: Unable to go to background. Core is running

Reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_6.0.3.202506131845\supportFiles_ARM\NXP\S32K3xx\S32K396.mac) completed.

PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.

PE-ERROR: Error downloading to the device. Terminating debug session.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "62565" from 6224
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "62570" from 7224
INFO: DAP IDCODE = 0x6BA02477
Target Disconnected.  

Please help Me out

Re: S32k396 -BGA -DC1 ScH 55517 RevB2 not flashing

Hi

Did you refer to the section "2.7 Program the Code Into the Board" of Getting Started With S32K396-BGA-DC1 Evaluation Board?

Since you mentioned "I am using a micro USB port," then configure the jumper according to "2. Using on board OpenSDA debugger" specifically "Change debugger selection jumpers to use OpenSDA (J16J17J18J19 position 1-2)"

Please refer to "3.1 Set Jumpers in the S32K396-BGA-DC1". Although J10 and J11 are not mentioned here, it is recommended that you Short J10 and Open J11 to make the FS26 PMIC work in debug mode.

On my S32K396-BGA-DC1, LEDs D1, D2, D3, D4, and D30 are lit up green, and D11 is lit up red. I can successfully debug and download Siul2_Port_Ip_Example_S32K396_RTD600 in S32DSv3.6.1.

What project did you download before? Did you modify the debug pins to other functions, such as GPIO? If so, please refer to the following: S32K344 RTD, PORT/DIO and Debugging


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

-------------------------------------------------------------------------------

Tags (1)
No ratings
Version history
Last update:
‎05-21-2026 04:36 AM
Updated by: