S32K358 SECURE DEBUG

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
7,195件の閲覧回数
abunayeeem
Contributor II

We have designed a custom board using the NXP S32K358 microcontroller. While trying to upload the first code using the S32 Design Studio (S32DS) IDE, we are encountering the following error:

"Secure Debug might be enabled on this device. If so, please unlock the device via PEmicro scripts before attempting to connect again."

We suspect that the MCU’s debug interface is locked, preventing us from uploading code or debugging. Could you please provide a step-by-step guide to unlock the debug interface??

タグ(3)
0 件の賞賛
返信
1 解決策
6,814件の閲覧回数
abunayeeem
Contributor II

Hi @VaneB ,

Thank you for your support. We have found the issue. RST_B pin of FS26 was low and it was resetting the MCU which restricted us from debugging the MCU. After isolating the the RST_B from MCU pin, we are now able to debug the MCU.

元の投稿で解決策を見る

0 件の賞賛
返信
8 返答(返信)
7,062件の閲覧回数
abunayeeem
Contributor II

Hi @VaneB ,

We are still unable to debug the MCU.
Our support ticket is closed without any resolution and your feedback is appreciated.

BR, Nayeem

0 件の賞賛
返信
7,012件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @abunayeeem 

I have reviewed your previous cases and noticed that you are using an FS26. As mentioned earlier, this issue is typically related to communication problems. It is possible that the SBC is not powering correctly, which could prevent the MCU from being programmed.

Please review the following thread, which contains information that could be useful.

FS26

0 件の賞賛
返信
6,954件の閲覧回数
abunayeeem
Contributor II

Hi @VaneB ,
The FS26 power rails are working fine.
We have checked the voltages of the physical pins of both FS26 and MCU.

We have applied
> VDD_HV_A & VDD_HV_B - (+5V)
> Vcore - (+1.5V)
>Vref - (+5V)
We have also checked V11 and V25 which are also fine. We have used the same board with previous MCUs (P32K358HVS 0P14E CTAB2335A ) which was working just fine.

Current MCU part number is - S32K358GHMPCS 1P14E CTAG2428B

0 件の賞賛
返信
6,854件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @abunayeeem 

I have consulted with the internal team regarding your situation. We need your assistance to verify a few details to determine whether the issue is related to the MCU or the software.

Firstly, if possible, could you replace the MCU with the one that previously showed no issues? Does exhibit the same problem, or is it functioning properly?

Also, the part number you initially used has custom firmware for VW. Were the PEMicro scripts you used also customized?

Lastly, did your project include any modifications to the lifecycle?"

0 件の賞賛
返信
6,815件の閲覧回数
abunayeeem
Contributor II

Hi @VaneB ,

Thank you for your support. We have found the issue. RST_B pin of FS26 was low and it was resetting the MCU which restricted us from debugging the MCU. After isolating the the RST_B from MCU pin, we are now able to debug the MCU.

0 件の賞賛
返信
6,885件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @abunayeeem 

I am checking the situation with the internal team and will let you know the response as soon as I have an update.

Thank you for your patience.

0 件の賞賛
返信
7,143件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @abunayeeem 

When programming the MCU for the first time, secure debug should be disabled, and this error message is usually related to communication issues. Please verify that the chip is powered correctly and that you are using the latest version of the PEMicro plugin. To update, go to Help > Install New Software, then select the PEMicro page.

VaneB_2-1733509225644.png

Additionally, could you provide information about your programming algorithm?

VaneB_3-1733509330416.png

 

BR, VaneB

0 件の賞賛
返信
7,117件の閲覧回数
abunayeeem
Contributor II

Hi @VaneB ,
We have updated the PEmicro plugin and the chip is powered correctly.

Please find attached the flash algorithm information.

BR, Nayeem


abunayeeem_0-1733577223631.jpeg

 

タグ(1)
0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2008319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K358%20%E3%82%BB%E3%82%AD%E3%83%A5%E3%82%A2%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ENXP%20S32K358%E3%83%9E%E3%82%A4%E3%82%B3%E3%83%B3%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%9C%E3%83%BC%E3%83%89%E3%82%92%E8%A8%AD%E8%A8%88%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82S32%20Design%20Studio(S32DS)IDE%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E6%9C%80%E5%88%9D%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E3%82%A2%E3%83%83%E3%83%97%E3%83%AD%E3%83%BC%E3%83%89%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%E6%AC%A1%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%22%E3%81%93%E3%81%AE%E3%83%87%E3%83%90%E3%82%A4%E3%82%B9%E3%81%A7%E3%81%AF%20Secure%20Debug%20%E3%81%8C%E6%9C%89%E5%8A%B9%E3%81%AB%E3%81%AA%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E5%8F%AF%E8%83%BD%E6%80%A7%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%E3%81%9D%E3%81%AE%E5%A0%B4%E5%90%88%E3%81%AF%E3%80%81%E5%86%8D%E5%BA%A6%E6%8E%A5%E7%B6%9A%E3%82%92%E8%A9%A6%E3%81%BF%E3%82%8B%E5%89%8D%E3%81%AB%E3%80%81PEmicro%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%83%87%E3%83%90%E3%82%A4%E3%82%B9%E3%81%AE%E3%83%AD%E3%83%83%E3%82%AF%E3%82%92%E8%A7%A3%E9%99%A4%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3EMCU%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%95%E3%82%A7%E3%83%BC%E3%82%B9%E3%81%8C%E3%83%AD%E3%83%83%E3%82%AF%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%81%9F%E3%82%81%E3%80%81%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E3%82%A2%E3%83%83%E3%83%97%E3%83%AD%E3%83%BC%E3%83%89%E3%82%84%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%8C%E3%81%A7%E3%81%8D%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%E3%81%A8%E6%80%9D%E3%82%8F%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%95%E3%82%A7%E3%82%A4%E3%82%B9%E3%81%AE%E3%83%AD%E3%83%83%E3%82%AF%E3%82%92%E8%A7%A3%E9%99%A4%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E3%82%B9%E3%83%86%E3%83%83%E3%83%97%E3%83%90%E3%82%A4%E3%82%B9%E3%83%86%E3%83%83%E3%83%97%E3%82%AC%E3%82%A4%E3%83%89%E3%82%92%E6%8F%90%E4%BE%9B%E3%81%97%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2013020%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%97%A5%E6%99%82%3AS32K358%E3%82%BB%E3%82%AD%E3%83%A5%E3%82%A2%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2013020%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%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%E3%80%81%3CBR%20%2F%3E%3CBR%20%2F%3E%E3%81%94%E6%94%AF%E6%8F%B4%E3%81%AE%E3%81%BB%E3%81%A9%E3%80%81%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E5%95%8F%E9%A1%8C%E3%81%8C%E8%A6%8B%E3%81%A4%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82FS26%E3%81%AE%E3%83%94%E3%83%B3RST_B%E3%83%AD%E3%83%BC%E3%81%A7%E3%80%81MCU%E3%82%92%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%81%97%E3%81%A6%E3%81%84%E3%81%9F%E3%81%9F%E3%82%81%E3%80%81MCU%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%8C%E5%88%B6%E9%99%90%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82RST_B%E3%82%92MCU%E3%83%94%E3%83%B3%E3%81%8B%E3%82%89%E5%88%86%E9%9B%A2%E3%81%97%E3%81%9F%E5%BE%8C%E3%80%81MCU%E3%82%92%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2010901%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%97%A5%E6%99%82%3AS32K358%E3%82%BB%E3%82%AD%E3%83%A5%E3%82%A2%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2010901%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%3C%2FSPAN%3E%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%3CSPAN%3E%E3%80%81%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EFS26%E3%81%AE%E9%9B%BB%E6%BA%90%E3%83%AC%E3%83%BC%E3%83%AB%E3%81%AF%E6%AD%A3%E5%B8%B8%E3%81%AB%E5%8B%95%E4%BD%9C%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EFS26%E3%81%A8MCU%E3%81%AE%E4%B8%A1%E6%96%B9%E3%81%AE%E7%89%A9%E7%90%86%E3%83%94%E3%83%B3%E3%81%AE%E9%9B%BB%E5%9C%A7%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%E3%81%8A%E7%94%B3%E8%BE%BC%E3%81%BF%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26gt%3B%20VDD_HV_A%20%26amp%3B%20VDD_HV_B%20-%20(%2B5V)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26gt%3B%20Vcore%20-%20(%2B1.5V)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26gt%3BVref%20-%20(%2B5V)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EV11%E3%81%A8V25%E3%82%82%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8C%E3%80%81%E3%81%93%E3%82%8C%E3%82%82%E5%95%8F%E9%A1%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E4%BB%A5%E5%89%8D%E3%81%AEMCU(P32K358HVS%200P14E%20CTAB2335A)%E3%81%A8%E5%90%8C%E3%81%98%E3%83%9C%E3%83%BC%E3%83%89%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%8A%E3%82%8A%E3%80%81%E5%95%8F%E9%A1%8C%E3%81%AA%E3%81%8F%E5%8B%95%E4%BD%9C%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%E7%8F%BE%E5%9C%A8%E3%81%AEMCU%E5%93%81%E7%95%AA%E3%81%AF%20-%20S32K358GHMPCS%201P14E%20CTAG2428B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2010279%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%97%A5%E6%99%82%3AS32K358%E3%82%BB%E3%82%AD%E3%83%A5%E3%82%A2%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2010279%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%20%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%E3%80%81%3CBR%20%2F%3E%3CBR%20%2F%3EMCU%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%AF%E3%81%BE%E3%81%A0%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3CBR%20%2F%3E%E7%A7%81%E3%81%9F%E3%81%A1%E3%81%AE%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%83%81%E3%82%B1%E3%83%83%E3%83%88%E3%81%AF%E8%A7%A3%E6%B1%BA%E7%AD%96%E3%81%AA%E3%81%97%E3%81%AB%E9%96%89%E3%81%98%E3%82%89%E3%82%8C%E3%81%BE%E3%81%99%E3%81%AE%E3%81%A7%E3%80%81%3CSPAN%3E%E3%83%95%E3%82%A3%E3%83%BC%E3%83%89%E3%83%90%E3%83%83%E3%82%AF%E3%82%92%E3%81%8A%E5%BE%85%E3%81%A1%E3%81%97%E3%81%A6%E3%81%8A%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBR%E3%80%81%E3%83%8A%E3%82%A4%E3%83%BC%E3%83%A0%3C%2FP%3E%3C%2FLINGO-BODY%3E