Using S32K3X4EVB OBD to debug external target (S32K312)

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

Using S32K3X4EVB OBD to debug external target (S32K312)

跳至解决方案
1,044 次查看
Hareesh_S
Contributor II

Hello,

I have an S32K3X4EVB-T172 evaluation board from NXP and an S32K312 MCU (on custom hardware) that I want to program using the on-board debugger on the evaluation board, if that is possible/supported. I am aware that the programming connectors on the evalulation kit are meant to be used with an external programmer and the on-board target (K344) but I was expecting it to work the other way around as well, given the K312 is in the same family.

I have the debugger powered on (using the micro-USB port), but the eval board unpowered (no 12V input), and a 10-pin SWD/JTAG FPC connected to J418 on the evaluation kit and the S32K312 board, but the debugger does not seem to recognize the S32K312 (when trying to debug or run from S32DS. I have verified that the 10-pin SWD/JTAG connector on the S32K312 is working as intended using a Segger).

Is there anything I am doing wrong, or is this usecase explicitly not supported/won't work? 

Much thanks,
Hareesh

0 项奖励
回复
1 解答
1,023 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Hareesh_S 

While it is technically possible, please note that modifications to the EVB fall outside the scope of our support.

However, I would recommend reviewing the following resources where this topic is discussed in detail. 

Using the Freedom Board as SWD Programmer

Debug External Processors with USBDM and Freedom Board

S32K144 openSDA

Eval board as debugger

 

BR, VaneB

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,024 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Hareesh_S 

While it is technically possible, please note that modifications to the EVB fall outside the scope of our support.

However, I would recommend reviewing the following resources where this topic is discussed in detail. 

Using the Freedom Board as SWD Programmer

Debug External Processors with USBDM and Freedom Board

S32K144 openSDA

Eval board as debugger

 

BR, VaneB

0 项奖励
回复
989 次查看
Hareesh_S
Contributor II

Hello @VaneB ,

Thank you for attaching the relevant resources. Looks like the only feasible way is to depopulate the K344 from my understanding, which I am not willing to do at the moment. I had assumed having the K344 not powered would be sufficient, but that does not seem to be the case.

Thanks for the assistance nevertheless!

With regards,
Hareesh S


0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2175898%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BD%BF%E7%94%A8%20S32K3X4EVB%20OBD%20%E8%B0%83%E8%AF%95%E5%A4%96%E9%83%A8%E7%9B%AE%E6%A0%87%20(S32K312)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175898%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E6%9C%89%E4%B8%80%E5%9D%97%E6%81%A9%E6%99%BA%E6%B5%A6%E7%9A%84%20S32K3X4EVB-T172%20%E8%AF%84%E4%BC%B0%E6%9D%BF%E5%92%8C%E4%B8%80%E4%B8%AA%20S32K312%20MCU%EF%BC%88%E5%9C%A8%E8%87%AA%E5%AE%9A%E4%B9%89%E7%A1%AC%E4%BB%B6%E4%B8%8A%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E5%8F%AF%E8%83%BD%2F%E6%94%AF%E6%8C%81%E7%9A%84%E8%AF%9D%EF%BC%8C%E6%88%91%E6%83%B3%E4%BD%BF%E7%94%A8%E8%AF%84%E4%BC%B0%E6%9D%BF%E4%B8%8A%E7%9A%84%E6%9D%BF%E8%BD%BD%E8%B0%83%E8%AF%95%E5%99%A8%E5%AF%B9%E5%85%B6%E8%BF%9B%E8%A1%8C%E7%BC%96%E7%A8%8B%E3%80%82%E6%88%91%E7%9F%A5%E9%81%93%E8%AF%84%E4%BC%B0%E5%A5%97%E4%BB%B6%E4%B8%8A%E7%9A%84%E7%BC%96%E7%A8%8B%E8%BF%9E%E6%8E%A5%E5%99%A8%E6%9C%AC%E5%BA%94%E4%B8%8E%E5%A4%96%E9%83%A8%E7%BC%96%E7%A8%8B%E5%99%A8%E5%92%8C%E6%9D%BF%E8%BD%BD%E7%9B%AE%E6%A0%87%EF%BC%88K344%EF%BC%89%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8%EF%BC%8C%E4%BD%86%E6%88%91%E5%8E%9F%E6%9C%AC%E9%A2%84%E8%AE%A1%E5%AE%83%E4%B9%9F%E4%BC%9A%E4%BB%A5%E7%9B%B8%E5%8F%8D%E7%9A%84%E6%96%B9%E5%BC%8F%E5%B7%A5%E4%BD%9C%EF%BC%8C%E5%9B%A0%E4%B8%BAK312%E5%B1%9E%E4%BA%8E%E5%90%8C%E4%B8%80%E4%B8%AA%E7%B3%BB%E5%88%97%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E5%BC%80%E5%90%AF%E4%BA%86%E8%B0%83%E8%AF%95%E5%99%A8%EF%BC%88%E4%BD%BF%E7%94%A8%E5%BE%AE%E5%9E%8B%20USB%20%E7%AB%AF%E5%8F%A3%EF%BC%89%EF%BC%8C%E4%BD%86%E6%98%AF%E8%AF%84%E4%BC%B0%E6%9D%BF%E6%B2%A1%E6%9C%89%E7%94%B5%E6%BA%90%EF%BC%88%E6%B2%A1%E6%9C%89%2012%20%E4%BC%8F%E8%BE%93%E5%85%A5%EF%BC%89%EF%BC%8C%E8%AF%84%E4%BC%B0%E5%A5%97%E4%BB%B6%E5%92%8C%20S32K312%20%E6%9D%BF%E4%B8%8A%E7%9A%84%2010%20%E5%BC%95%E8%84%9A%20SWD%2FJTAG%20FPC%20%E8%BF%9E%E6%8E%A5%E4%BA%86%20J418%EF%BC%8C%E4%BD%86%E6%98%AF%E8%B0%83%E8%AF%95%E5%99%A8%E4%BC%BC%E4%B9%8E%E6%97%A0%E6%B3%95%E8%AF%86%E5%88%AB%20S32K312%EF%BC%88%E5%B0%9D%E8%AF%95%E4%BB%8E%20S32DS%20%E8%BF%9B%E8%A1%8C%E8%B0%83%E8%AF%95%E6%88%96%E8%BF%90%E8%A1%8C%E6%97%B6%EF%BC%89%E3%80%82%E6%88%91%E4%BD%BF%E7%94%A8%20Segger%20%E9%AA%8C%E8%AF%81%E4%BA%86%20S32K312%20%E4%B8%8A%E7%9A%84%2010%20%E9%92%88%20SWD%2FJTAG%20%E8%BF%9E%E6%8E%A5%E5%99%A8%E6%98%AF%E5%90%A6%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%EF%BC%89%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%98%AF%E6%88%91%E5%81%9A%E9%94%99%E4%BA%86%E4%BB%80%E4%B9%88%EF%BC%8C%E8%BF%98%E6%98%AF%E8%BF%99%E4%B8%AA%E7%94%A8%E4%BE%8B%E6%98%8E%E7%A1%AE%E4%B8%8D%E6%94%AF%E6%8C%81%2F%E4%B8%8D%E4%BC%9A%E5%B7%A5%E4%BD%9C%EF%BC%9F%20%3CBR%20%2F%3E%3CBR%20%2F%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%EF%BC%8C%3CBR%20%2F%3EHareesh%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176514%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Using%20S32K3X4EVB%20OBD%20to%20debug%20external%20target%20(S32K312)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176514%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F201913%22%20target%3D%22_blank%22%3E%40VaneB%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E9%99%84%E4%B8%8A%E7%9B%B8%E5%85%B3%E8%B5%84%E6%BA%90%E3%80%82%E6%8D%AE%E6%88%91%E6%89%80%E7%9F%A5%EF%BC%8C%E7%9C%8B%E6%9D%A5%E5%94%AF%E4%B8%80%E5%8F%AF%E8%A1%8C%E7%9A%84%E5%8A%9E%E6%B3%95%E5%B0%B1%E6%98%AF%E6%B7%98%E6%B1%B0%20K344%EF%BC%8C%E4%BD%86%E6%88%91%E7%9B%AE%E5%89%8D%E8%BF%98%E4%B8%8D%E6%84%BF%E6%84%8F%E8%BF%99%E4%B9%88%E5%81%9A%E3%80%82%E6%88%91%E5%8E%9F%E4%BB%A5%E4%B8%BA%20K344%20%E4%B8%8D%E9%80%9A%E7%94%B5%E5%B0%B1%E8%B6%B3%E5%A4%9F%E4%BA%86%EF%BC%8C%E4%BD%86%E6%83%85%E5%86%B5%E4%BC%BC%E4%B9%8E%E5%B9%B6%E9%9D%9E%E5%A6%82%E6%AD%A4%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E4%B8%8D%E8%BF%87%EF%BC%8C%E8%BF%98%E6%98%AF%E8%A6%81%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%AE%E5%8A%A9%EF%BC%81%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%B0%A8%E8%87%B4%E9%97%AE%E5%80%99%EF%BC%8C%3CBR%20%2F%3EHareesh%20S%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176084%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Using%20S32K3X4EVB%20OBD%20to%20debug%20external%20target%20(S32K312)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176084%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251993%22%20target%3D%22_blank%22%3E%40Hareesh_S%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E8%99%BD%E7%84%B6%E5%9C%A8%E6%8A%80%E6%9C%AF%E4%B8%8A%E6%98%AF%E5%8F%AF%E8%A1%8C%E7%9A%84%EF%BC%8C%E4%BD%86%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E5%AF%B9%20EVB%20%E7%9A%84%E4%BF%AE%E6%94%B9%E4%B8%8D%E5%B1%9E%E4%BA%8E%E6%88%91%E4%BB%AC%E7%9A%84%E6%94%AF%E6%8C%81%E8%8C%83%E5%9B%B4%E3%80%82%3C%2FP%3E%0A%3CP%3E%E4%B8%8D%E8%BF%87%EF%BC%8C%E6%88%91%E5%BB%BA%E8%AE%AE%E6%82%A8%E6%9F%A5%E9%98%85%E4%BB%A5%E4%B8%8B%E8%AF%A6%E7%BB%86%E8%AE%A8%E8%AE%BA%E8%AF%A5%E4%B8%BB%E9%A2%98%E7%9A%84%E8%B5%84%E6%96%99%E3%80%82%20%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2013%2F04%2F21%2Fusing-the-freedom-board-as-jtag-programmer%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%E4%BD%BF%E7%94%A8%20Freedom%20%E6%9D%BF%20%E4%BD%9C%E4%B8%BA%20SWD%20%E7%A8%8B%E5%BA%8F%E5%91%98%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2013%2F04%2F27%2Fdebug-external-processors-with-usbdm-and-freedom-board%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%E4%BD%BF%E7%94%A8%20USBDM%20%E5%92%8C%20Freedom%20%E6%9D%BF%20%E8%B0%83%E8%AF%95%E5%A4%96%E9%83%A8%E5%A4%84%E7%90%86%E5%99%A8%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K144-openSDA%2Fm-p%2F1709078%22%20target%3D%22_blank%22%3ES32K144%20openSDA%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FEval-board-as-debugger%2Ftd-p%2F766915%22%20target%3D%22_blank%22%3E%E8%AF%84%E4%BC%B0%E6%9D%BF%E7%94%A8%E4%BD%9C%E8%B0%83%E8%AF%95%E5%99%A8%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%E3%80%81VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E