Inquiry Regarding S32K314 MCU Board Testing Error

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

Inquiry Regarding S32K314 MCU Board Testing Error

780 次查看
malove
Contributor IV

Hello,

I'm reaching out to inquire about an issue encountered while testing a board with the S32K314 MCU.

Current Situation: While attempting to download the program to the board in the S32DS 3.5 IDE using the Cyclone-Fx debugger, the following error occurred:

[Error Details]

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "56558" to 6224 Connection from "127.0.0.1" via 127.0.0.1. Connection from port "56562" to 7224 Telnet server running on 127.0.0.1:51794 Searching for Kernel Symbols... rsp_qC - qSymbol: 5F74785F7468726561645F63757272656E745F707472 _tx_thread_current_ptr not found. ThreadX analysis not enabled. rsp_qC - qSymbol: 707843757272656E74544342 pxCurrentTCB not found. FreeRTOS analysis not enabled. Unable to load libusb0.dll Copyright 2024 P&E Microcomputer Systems,Inc. Command Line :C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.9.2.202409131555\win32\pegdbserver_console -device=NXP_S32K3xx_S32K314 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=CYCLONE -speed=5000 -p� CYCLONE detected - Flash Version 11.47

CMD>RE

Initializing. Target has been RESET and is active. CMD>CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.9.2.202409131555\supportFiles_ARM\NXP\S32K3xx\nxp_s32k314_1x32x1012k_hse_disabled.arp

Initializing. Initialized.

;version 1.02, 01/18/2024, Copyright 2024 P&E Microcomputer Systems, www.pemicro.com [S32K3x4_hse_disabled]

;device nxp, s32k314, 1x32x1012k,desc=hse_disabled

;begin_cs device=$00400000, length=$003F4000, 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-00409C0F ...

 

[Error Screenshot]

studyseok8466_0-1731374132077.png

 

Upon inspecting the MCU pins, no shorts were detected.

Could you please advise on how to resolve this issue?

At this point, the code only contains a main function and an infinite while loop.

I will attach the .map file for reference.

Please let me know if additional analysis is needed.

Thank you for your assistance.

 

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

719 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

based on the .map file - the program is stopped in Clock_Ip - probably wrongly initialized/configured Clock?  

0 项奖励
回复

664 次查看
malove
Contributor IV

Hello @jiri_kral 

And it works properly when the code is loaded into RAM instead of FLASH.

0 项奖励
回复

699 次查看
malove
Contributor IV

Hi @jiri_kral 

The same code was successfully downloaded to another test board without any issues.

Should I check the XTAL section of this board?

 

0 项奖励
回复