Debugging Issue when trying to flash the code in the S32K144 EVAL board.

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

Debugging Issue when trying to flash the code in the S32K144 EVAL board.

跳至解决方案
1,048 次查看
Vamshi_
Contributor II

Hii ,

  I am using s32k144 eval board in that I am using PE-micro debugger (Open SDA FD906E5B) .when i am trying to debug/flash my code in the board and i am facing this issue. Could anybody let me know what is the issue and what mistake did i made.

Error_Pic1Error_Pic1Error_Pic2Error_Pic2Debug_ConifgDebug_Conifg

0 项奖励
回复
1 解答
1,015 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Seems that you are configure Dio of MCAL. 

Please make sure follow the "Under UnTouchedPortPin, click ‘+’ and add the following 5 PortPin Pcr numbers: 4, 5, 10, 68, 69" of HOWTO: Create a Blinking LED example project using S32K1xx RTD with AUTOSAR

These are debug pins.

If you haven't set them correctly, the debugger connection will be lost when the program reaches this point.

If this happens, try recovering using Kinetis_Recovery_Utility.zip.


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.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
7 回复数
998 次查看
Vamshi_
Contributor II

Hi,

 Thanks for reply but still its not working.

0 项奖励
回复
995 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Did the P&E Recovery Utility halt MCU?

How do you repeatedly power on and off the MCU?

0 项奖励
回复
1,016 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Seems that you are configure Dio of MCAL. 

Please make sure follow the "Under UnTouchedPortPin, click ‘+’ and add the following 5 PortPin Pcr numbers: 4, 5, 10, 68, 69" of HOWTO: Create a Blinking LED example project using S32K1xx RTD with AUTOSAR

These are debug pins.

If you haven't set them correctly, the debugger connection will be lost when the program reaches this point.

If this happens, try recovering using Kinetis_Recovery_Utility.zip.


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.
-------------------------------------------------------------------------------

0 项奖励
回复
945 次查看
Vamshi_
Contributor II
It worked after using the kinetics recovery utlilty tool.
989 次查看
Vamshi_
Contributor II
The thing is I am not configuring the dio but i am running an dio example project and when i am running it i am getting the debugger error that i have mentioned earlier


0 项奖励
回复
952 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Send that project to me. I will test it on my S32K144EVB.

0 项奖励
回复
994 次查看
Vamshi_
Contributor II
I have done the same thing that you have mentioned but still its not working..
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2198726%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%B0%9D%E8%AF%95%E5%9C%A8%20S32K144%20%E8%AF%84%E4%BC%B0%E6%9D%BF%E4%B8%AD%E5%88%B7%E6%96%B0%E4%BB%A3%E7%A0%81%E6%97%B6%E5%87%BA%E7%8E%B0%E8%B0%83%E8%AF%95%E9%97%AE%E9%A2%98%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2198726%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHii%20%E3%80%81%3C%2FP%3E%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%20%3CSTRONG%3Es32k144%20%E8%AF%84%E4%BC%B0%E6%9D%BF%3C%2FSTRONG%3E%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%20%3CSTRONG%3EPE-Micro%20%E8%B0%83%E8%AF%95%E5%99%A8%EF%BC%88Open%20SDA%20FD906E5B%EF%BC%89%3C%2FSTRONG%3E%E3%80%82%E5%BD%93%E6%88%91%E5%B0%9D%E8%AF%95%E5%9C%A8%E5%BC%80%E5%8F%91%E6%9D%BF%E4%B8%AD%E8%B0%83%E8%AF%95%2F%E5%88%B7%E6%96%B0%E6%88%91%E7%9A%84%E4%BB%A3%E7%A0%81%E6%97%B6%EF%BC%8C%E6%88%91%E9%81%87%E5%88%B0%E4%BA%86%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E3%80%82%E8%B0%81%E8%83%BD%E5%91%8A%E8%AF%89%E6%88%91%E9%97%AE%E9%A2%98%E5%87%BA%E5%9C%A8%E5%93%AA%E9%87%8C%EF%BC%8C%E6%88%91%E7%8A%AF%E4%BA%86%E4%BB%80%E4%B9%88%E9%94%99%E8%AF%AF%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Error_Pic1%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Error_Pic1%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F364025i3852F5D4409A5AD6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202025-11-05%20103900.png%22%20alt%3D%22Error_Pic1%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EError_Pic1%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EError_Pic1%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Error_Pic2%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Error_Pic2%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F364026iE5D52E3D01BD0C71%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202025-11-05%20104103.png%22%20alt%3D%22Error_Pic2%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EError_Pic2%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EError_Pic2%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Debug_Conifg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Debug_Conifg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F364027iF02B2024A91EB987%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202025-11-05%20104145.png%22%20alt%3D%22Debug_Conifg%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDebug_Conifg%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDebug_Conifg%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200017%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugging%20Issue%20when%20trying%20to%20flash%20the%20code%20in%20the%20S32K144%20EVAL%20board.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200017%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9C%A8%E4%BD%BF%E7%94%A8%E5%8A%A8%E5%8A%9B%E5%AD%A6%E6%81%A2%E5%A4%8D%E5%B7%A5%E5%85%B7%E5%90%8E%EF%BC%8C%E5%AE%83%E6%88%90%E5%8A%9F%E4%BA%86%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199856%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugging%20Issue%20when%20trying%20to%20flash%20the%20code%20in%20the%20S32K144%20EVAL%20board.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199856%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%8A%8A%E9%A1%B9%E7%9B%AE%E5%8F%91%E7%BB%99%E6%88%91%E6%88%91%E5%B0%86%E5%9C%A8%E6%88%91%E7%9A%84%20S32K144EVB%20%E4%B8%8A%E8%BF%9B%E8%A1%8C%E6%B5%8B%E8%AF%95%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199189%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugging%20Issue%20when%20trying%20to%20flash%20the%20code%20in%20the%20S32K144%20EVAL%20board.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199189%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E9%97%AE%E9%A2%98%E6%98%AF%EF%BC%8C%E6%88%91%E5%B9%B6%E6%B2%A1%E6%9C%89%E9%85%8D%E7%BD%AE%20Dio%EF%BC%8C%E8%80%8C%E6%98%AF%E5%9C%A8%E8%BF%90%E8%A1%8C%E4%B8%80%E4%B8%AA%20Dio%20%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%BD%93%E6%88%91%E8%BF%90%E8%A1%8C%E8%AF%A5%E9%A1%B9%E7%9B%AE%E6%97%B6%EF%BC%8C%E5%87%BA%E7%8E%B0%E4%BA%86%E5%89%8D%E9%9D%A2%E6%8F%90%E5%88%B0%E7%9A%84%E8%B0%83%E8%AF%95%E5%99%A8%E9%94%99%E8%AF%AF%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199064%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugging%20Issue%20when%20trying%20to%20flash%20the%20code%20in%20the%20S32K144%20EVAL%20board.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199064%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%88%91%E5%81%9A%E4%BA%86%E4%BD%A0%E6%8F%90%E5%88%B0%E7%9A%84%E5%90%8C%E6%A0%B7%E7%9A%84%E4%BA%8B%E6%83%85%EF%BC%8C%E4%BD%86%E8%BF%98%E6%98%AF%E4%B8%8D%E8%A1%8C%E3%80%82%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199061%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugging%20Issue%20when%20trying%20to%20flash%20the%20code%20in%20the%20S32K144%20EVAL%20board.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199061%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EP%26amp%3BE%20%E6%81%A2%E5%A4%8D%E5%AE%9E%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%98%AF%E5%90%A6%E5%81%9C%E6%AD%A2%E4%BA%86%20MCU%EF%BC%9F%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E4%BD%95%E5%8F%8D%E5%A4%8D%E5%BC%80%E5%90%AF%E5%92%8C%E5%85%B3%E9%97%AD%20MCU%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199056%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugging%20Issue%20when%20trying%20to%20flash%20the%20code%20in%20the%20S32K144%20EVAL%20board.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199056%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E5%A4%8D%EF%BC%8C%E4%BD%86%E4%BB%8D%E7%84%B6%E6%97%A0%E6%B3%95%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2198869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugging%20Issue%20when%20trying%20to%20flash%20the%20code%20in%20the%20S32K144%20EVAL%20board.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2198869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%3C%2FP%3E%0A%3CP%3E%E7%9C%8B%E6%9D%A5%E4%BD%A0%E5%B0%B1%E6%98%AF%20MCAL%20%E7%9A%84%3CSTRONG%3E%E8%BF%AA%E5%A5%A5%3C%2FSTRONG%3E%E3%80%82%20%3C%2FP%3E%0A%3CP%3E%E8%AF%B7%E7%A1%AE%E4%BF%9D%E6%8C%89%E7%85%A7%22%3CSPAN%3E%E5%9C%A8%20UnTouchedPortPin%20%E4%B8%8B%E5%8D%95%E5%87%BB%20%22%2B%22%E5%B9%B6%E6%B7%BB%E5%8A%A0%E4%BB%A5%E4%B8%8B%205%20%E4%B8%AA%20PortPin%20Pcr%20%E7%BC%96%E5%8F%B7%EF%BC%9A4%2C%205%2C%2010%2C%2068%2C%2069%22%20of%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Create-a-Blinking-LED-example-project-using-S32K1xx-RTD%2Fta-p%2F1471695%22%20target%3D%22_self%22%3EHOWTO%3A%20%E4%BD%BF%E7%94%A8%20AUTOSAR%20%E7%9A%84%20S32K1xx%20RTD%20%E5%88%9B%E5%BB%BA%E9%97%AA%E7%83%81%20LED%20%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E8%BF%99%E4%BA%9B%E6%98%AF%E8%B0%83%E8%AF%95%E5%BC%95%E8%84%9A%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E6%B2%A1%E6%9C%89%E6%AD%A3%E7%A1%AE%E8%AE%BE%E7%BD%AE%EF%BC%8C%E7%A8%8B%E5%BA%8F%E8%BF%90%E8%A1%8C%E5%88%B0%E8%BF%99%E4%B8%80%E7%82%B9%E6%97%B6%EF%BC%8C%E8%B0%83%E8%AF%95%E5%99%A8%E8%BF%9E%E6%8E%A5%E5%B0%B1%E4%BC%9A%E4%B8%A2%E5%A4%B1%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E5%87%BA%E7%8E%B0%E8%BF%99%E7%A7%8D%E6%83%85%E5%86%B5%EF%BC%8C%E8%AF%B7%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K144-D2-RED-LED-is-ON-always%2Fm-p%2F1567621%22%20target%3D%22_self%22%3EKinetis_Recovery_Utility.zip%20%E6%81%A2%E5%A4%8D%3C%2FA%3E%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%E7%A5%9D%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3E%E6%B3%A8%EF%BC%9A%3CBR%20%2F%3E-%20%E5%A6%82%E6%9E%9C%E6%9C%AC%E5%B8%96%E5%9B%9E%E7%AD%94%E4%BA%86%E6%82%A8%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E7%82%B9%E5%87%BB%22ACCEPT%20AS%20SOLUTION%22%20%E6%8C%89%E9%92%AE%E3%80%82%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%0A%3CP%3E-%20%E6%88%91%E4%BB%AC%E4%BC%9A%E5%9C%A8%E6%9C%80%E5%90%8E%E4%B8%80%E6%AC%A1%E5%8F%91%E5%B8%96%E5%90%8E%E7%9A%84%207%20%E5%91%A8%E5%86%85%E8%B7%9F%E8%B8%AA%E4%B8%BB%E9%A2%98%EF%BC%8C%E4%B9%8B%E5%90%8E%E7%9A%84%E5%9B%9E%E5%A4%8D%E5%B0%86%E8%A2%AB%E5%BF%BD%E7%95%A5%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E4%BB%A5%E5%90%8E%E6%9C%89%E7%9B%B8%E5%85%B3%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E5%8F%A6%E5%BC%80%E6%96%B0%E4%B8%BB%E9%A2%98%E5%B9%B6%E5%8F%82%E8%80%83%E5%B7%B2%E5%85%B3%E9%97%AD%E7%9A%84%E4%B8%BB%E9%A2%98%E3%80%82%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E