S32K3 MCU secure unlock error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3 MCU secure unlock error

173 Views
KARL5
Contributor I

I am using the P&E Cyclone FX programmer to unlock an S32K311 MCU that may be an abnormal part. When executing the script, an error is reported. Sometimes the script executes successfully, but even in those cases, the programmer still shows "Enable Secure" when connecting. Could you please help me investigate the possible cause? The error information is as follows:

Authenticating S32K3xx in Password Mode.

Connecting to debug hardware ... ok.
Requesting Debug Module Power On via SWD ... ok.
Reading SDA AP ID Register ... ok.
Reading/Writing SDA AP KEYRESP0 ... ok.
Reading/Writing SDA AP KEYRESP1 ... ok.
Reading/Writing SDA AP KEYRESP2 ... ok.
Reading/Writing SDA AP KEYRESP3 ... ok.
Writing SDA AP AUTHCTL.HSEAUTHREQ ... ok.
Writing SDA AP DBGENCTRL.GDBGEN and DBGENCTRL.CDBGEN ... ok.
Reading SDA AP ID Register ... ERROR !!!!!!!!!!!!!!!!!!!!! . ( 0xf0e0d0c )

0 Kudos
Reply
1 Reply

122 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you ever get it to run? Are you trying to unsecure previsously secured device or it is somehow unexpected response? Do you have mutliple boards acting like this or it is just this one? Please provide further details. Thanks

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2414756%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K3%20MCU%20secure%20unlock%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2414756%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EI%20am%20using%20the%20P%26amp%3BE%20Cyclone%20FX%20programmer%20to%20unlock%20an%20S32K311%20MCU%20that%20may%20be%20an%20abnormal%20part.%20When%20executing%20the%20script%2C%20an%20error%20is%20reported.%20Sometimes%20the%20script%20executes%20successfully%2C%20but%20even%20in%20those%20cases%2C%20the%20programmer%20still%20shows%20%22Enable%20Secure%22%20when%20connecting.%20Could%20you%20please%20help%20me%20investigate%20the%20possible%20cause%3F%20The%20error%20information%20is%20as%20follows%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAuthenticating%20S32K3xx%20in%20Password%20Mode.%3C%2FP%3E%3CP%3EConnecting%20to%20debug%20hardware%20...%20ok.%3CBR%20%2F%3ERequesting%20Debug%20Module%20Power%20On%20via%20SWD%20...%20ok.%3CBR%20%2F%3EReading%20SDA%20AP%20ID%20Register%20...%20ok.%3CBR%20%2F%3EReading%2FWriting%20SDA%20AP%20KEYRESP0%20...%20ok.%3CBR%20%2F%3EReading%2FWriting%20SDA%20AP%20KEYRESP1%20...%20ok.%3CBR%20%2F%3EReading%2FWriting%20SDA%20AP%20KEYRESP2%20...%20ok.%3CBR%20%2F%3EReading%2FWriting%20SDA%20AP%20KEYRESP3%20...%20ok.%3CBR%20%2F%3EWriting%20SDA%20AP%20AUTHCTL.HSEAUTHREQ%20...%20ok.%3CBR%20%2F%3EWriting%20SDA%20AP%20DBGENCTRL.GDBGEN%20and%20DBGENCTRL.CDBGEN%20...%20ok.%3CBR%20%2F%3EReading%20SDA%20AP%20ID%20Register%20...%20ERROR%20!!!!!!!!!!!!!!!!!!!!!%20.%20(%200xf0e0d0c%20)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2415026%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20MCU%20secure%20unlock%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2415026%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHave%20you%20ever%20get%20it%20to%20run%3F%20Are%20you%20trying%20to%20unsecure%20previsously%20secured%20device%20or%20it%20is%20somehow%20unexpected%20response%3F%20Do%20you%20have%20mutliple%20boards%20acting%20like%20this%20or%20it%20is%20just%20this%20one%3F%20Please%20provide%20further%20details.%20Thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E