Debugger PE Micro

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debugger PE Micro

90件の閲覧回数
Ahmed_Abd_El-Hafez
Contributor III

Hello NXP team,

I want to record a DCF in the UTEST flash to protect the code on the MCU from being read out from the board (by a password). Can I use Design Studio to do that without using a debugger?

Best regards,

Ahmed

0 件の賞賛
返信
4 返答(返信)

26件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Yes, you can use S32Design studio or any other compiler for that.

UTEST flash where DCF reside is just a normal flash set as OTP. So you will use standard flash programming as for any other block.

or you can use debugger:

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Program-DCF-record-into-UTEST-fl...

Best regards,

Peter

0 件の賞賛
返信

18件の閲覧回数
Ahmed_Abd_El-Hafez
Contributor III

Thank you for the fast reply.

When I followed the steps you shared using Design Studio, I got this error. Please tell me what the reason of this error is and how to fix it?

Ahmed_Abd_ElHafez_0-1791303595882.png

 

Another question is that after implementing censorship using this method, can a person read the code from the board without knowing the password even if he uses a debugger or not?

0 件の賞賛
返信

12件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

As the thread express, this is tested on the S32DS version R2017.

So I am not aware of which version do you use and the error expression is too general.

Is the micro blank?

For PEmicro/S32DS the mechanism is generally implemented through a dedicated UTEST flash algorithm (*_UTest.pcp).

You can also reach out to PEMicro if there is any latest version of script/algorithm for their debugger.

Best regards,

Peter

0 件の賞賛
返信

4件の閲覧回数
Ahmed_Abd_El-Hafez
Contributor III

I installed the S32DS version R2017 and retried the steps again in this version, but again I got the same error. What may be the reason? What can I check?   

I think the reason may be that S32DS tries to erase and then write to UTEST, but the UTEST can't be deleted. Is there any missed step to tell DS32 not to erase before writing the DCF record?

0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2418458%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%83%BC%20PE%20%E3%83%9E%E3%82%A4%E3%82%AF%E3%83%AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418458%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ENXP%E3%83%81%E3%83%BC%E3%83%A0%E3%81%AE%E7%9A%86%E6%A7%98%E3%80%81%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%82%3C%2FP%3E%3CP%3EUTEST%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5%E3%81%ABDCF%E3%82%92%E8%A8%98%E9%8C%B2%E3%81%97%E3%81%A6%E3%80%81MCU%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%89%E3%81%8C%E3%83%9C%E3%83%BC%E3%83%89%E3%81%8B%E3%82%89%E8%AA%AD%E3%81%BF%E5%8F%96%E3%82%89%E3%82%8C%E3%82%8B%E3%81%AE%E3%82%92%E9%98%B2%E3%81%90%E3%81%9F%E3%82%81%E3%81%AB(%E3%83%91%E3%82%B9%E3%83%AF%E3%83%BC%E3%83%89%E3%81%A7)%E4%BF%9D%E8%AD%B7%E3%81%97%E3%81%9F%E3%81%84%E3%81%A7%E3%81%99%E3%80%82%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%92%E4%BD%BF%E3%82%8F%E3%81%9A%E3%81%ABDesign%20Studio%E3%81%A7%E3%81%9D%E3%82%8C%E3%82%92%E5%AE%9F%E7%8F%BE%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%81%8B%3F%3C%2FP%3E%3CP%3E%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%3C%2FP%3E%3CP%3E%E3%82%A2%E3%83%95%E3%83%A1%E3%83%89%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2418592%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugger%20PE%20Micro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418592%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%E3%80%81%3C%2FP%3E%0A%3CP%3E%E3%81%AF%E3%81%84%E3%80%81S32Design%20Studio%E3%82%84%E4%BB%96%E3%81%AE%E3%82%B3%E3%83%B3%E3%83%91%E3%82%A4%E3%83%A9%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%9D%E3%81%AE%E7%82%B9%E3%81%AF%E5%8F%AF%E8%83%BD%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3EDCF%E3%81%8C%E6%A0%BC%E7%B4%8D%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8BUTEST%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5%E3%81%AF%E3%80%81OTP%E3%81%A8%E3%81%97%E3%81%A6%E8%A8%AD%E5%AE%9A%E3%81%95%E3%82%8C%E3%81%9F%E9%80%9A%E5%B8%B8%E3%81%AE%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5%E3%81%A7%E3%81%99%E3%80%82%E3%81%A7%E3%81%99%E3%81%AE%E3%81%A7%E3%80%81%E4%BB%96%E3%81%AE%E3%83%96%E3%83%AD%E3%83%83%E3%82%AF%E3%81%A8%E5%90%8C%E6%A7%98%E3%81%AB%E6%A8%99%E6%BA%96%E7%9A%84%E3%81%AA%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E3%82%92%E4%BD%BF%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%81%BE%E3%81%9F%E3%81%AF%E3%80%81%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%83%BC%E3%82%92%E4%BD%BF%E3%81%86%E3%81%93%E3%81%A8%E3%82%82%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Program-DCF-record-into-UTEST-flash-in-S32-Design-Studio%2Fta-p%2F1099436%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Program-DCF-record-into-UTEST-flash-in-S32-Design-Studio%2Fta-p%2F1099436%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%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%3C%2FP%3E%0A%3CP%3E%E3%83%94%E3%83%BC%E3%82%BF%E3%83%BC%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2418805%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Debugger%20PE%20Micro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418805%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%BF%85%E9%80%9F%E3%81%AA%E3%81%94%E8%BF%94%E4%BF%A1%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%81%82%E3%81%AA%E3%81%9F%E3%81%8C%E6%95%99%E3%81%88%E3%81%A6%E3%81%8F%E3%82%8C%E3%81%9F%E6%89%8B%E9%A0%86%E3%81%AB%E5%BE%93%E3%81%A3%E3%81%A6Design%20Studio%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%BF%E3%81%9F%E3%82%89%E3%80%81%E3%81%93%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E5%87%BA%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%93%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AE%E5%8E%9F%E5%9B%A0%E3%81%A8%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%B3%95%E3%82%92%E6%95%99%E3%81%88%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ahmed_Abd_ElHafez_0-1791303595882.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ahmed_Abd_ElHafez_0-1791303595882.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397358iE13EB456F8F75D2E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ahmed_Abd_ElHafez_0-1791303595882.png%22%20alt%3D%22Ahmed_Abd_ElHafez_0-1791303595882.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E3%82%82%E3%81%86%E4%B8%80%E3%81%A4%E3%81%AE%E7%96%91%E5%95%8F%E3%81%AF%E3%80%81%E3%81%93%E3%81%AE%E6%96%B9%E6%B3%95%E3%81%A7%E6%A4%9C%E9%96%B2%E3%82%92%E5%AE%9F%E8%A3%85%E3%81%97%E3%81%9F%E5%BE%8C%E3%80%81%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%81%8B%E3%81%A9%E3%81%86%E3%81%8B%E3%81%AB%E9%96%A2%E3%82%8F%E3%82%89%E3%81%9A%E3%80%81%E3%83%91%E3%82%B9%E3%83%AF%E3%83%BC%E3%83%89%E3%82%92%E7%9F%A5%E3%82%89%E3%81%9A%E3%81%AB%E3%83%9C%E3%83%BC%E3%83%89%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E8%AA%AD%E3%82%80%E3%81%93%E3%81%A8%E3%81%8C%E3%81%A7%E3%81%8D%E3%82%8B%E3%81%AE%E3%81%8B%E3%81%A8%E3%81%84%E3%81%86%E3%81%93%E3%81%A8%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E