DSPRelated.com
Forums

Security Option on 'C5402

Started by Jean Viljoen September 2, 2002
dear group

I am developing a standalone application with a 'C5402 DSP and a Flash memory
module. How can I protect my code and inhibit other parties from extracting the
code from the DSP or flash module?

The section on Security Options in the Official Data Sheet of the C54x devices
is very vague on this subject.

Rgds

Jean Viljoen
Development Engineer

Azoteq (Pty) Ltd
Tel: +27 21 863 0033
Fax: +27 21 863 1512





Hello Jean,

This is an active discussion topic. There are some good threads on this on
comp.dsp newsgorup <
http://groups.google.com/groups?hl=en&lr=&ie=ISO-8859-1&q=Code+security+group%3A\
comp.dsp
>. Look at search result no. 3.

IMHO, there is no perfect method to do this. Your method is only secure if the
person trying to hack your code doesnot know about it.

Best Regards,
Sachin Gupta
--
Sr Software Engineer-DSP
Hughes Software Systems

Jean Viljoen <> on 09/02/2002 04:07:29 PM

To: "'C54x DSP Discussion Group'" <>
cc: (bcc: Sachin Gupta/HSS)

Subject: [c54x] Security Option on 'C5402

dear group

I am developing a standalone application with a 'C5402 DSP and a Flash memory
module. How can I protect my code and inhibit other parties from extracting the
code from the DSP or flash module?

The section on Security Options in the Official Data Sheet of the C54x devices
is very vague on this subject.

Rgds

Jean Viljoen
Development Engineer

Azoteq (Pty) Ltd
Tel: +27 21 863 0033
Fax: +27 21 863 1512



Hello Jean.

Usually, I'm in favor of open source and information sharing, but I
do realize that our employers may not agree...

Anyhow, just for my own curiosity: Is there any way to stop JTAG
debugging on a 54x's? Because if that is impossible, then any user of
the system can see anything that the DSP sees. That means no security
at all, if the user has access to the DSP's pins.

Anyhow, in my opinion, the only way to protect your code reasonably
is to use Epoxy or some other glue/plastic material. Simply make sure
that the only way to reach the electronics is to break it into small
pieces. Think chemical and mechanical.

And be careful with the wires you let out to the open air. If I'm not
wrong, McBSP lines can be used to boot up the processor, and if
someone manages to boot your processor up with his or her own
software, the game is over.

I don't say that this is 100% protection, but at least it eliminates
the possibility of some wizkid doing the job.

Eli