Embedded Code Protection

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

Embedded Code Protection

916 Views
D_D97
Contributor II

Hello world, 

I am using Design Studio to develop a project on S32k144 microcontroller.

I upload the c code written in the IDE to the microcontroller using the Debug option "project_name_debug_flash_pemicro".
After disconnecting the programmer, resetting the board (or microcontroller) the code starts running.
My question is, is there any chance that anyone who have the microcontroller could extract the c code I uploaded ? or anything related to the code i have uploaded or it is encrypted ? thank you a lot,

Dema

 

#s32k144 #security 

0 Kudos
Reply
3 Replies

892 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @D_D97,

If JTAG/SWD interface is not protected, any user may be able to read out the memory, such as connecting to the MCU or reading the binary, but most likely not the source code, please refer to the following community posts: 
 
The JTAG/SWD interface can be password protected, please refer to this document: [S32K3] Restrict the debug access with a password when HSE is not used.
 
Best regards,
Julián
0 Kudos
Reply

875 Views
D_D97
Contributor II
I'm using OpenSDA interface, is it secure ? 
0 Kudos
Reply

858 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @D_D97,

If not enabled, the OpenSDA interface is not secured. Again, you can secure the debug port with password by following the instructions in this community post: [S32K3] Restrict the debug access with a password when HSE is not used.

Best regards,
Julián

0 Kudos
Reply