Olimex Support Forum

DUINO => DUINOMITE => Topic started by: vbdev on April 08, 2013, 10:01:38 AM

Title: Code protection on Duinomite
Post by: vbdev on April 08, 2013, 10:01:38 AM
Hello everybody,

This is my first post on this forum. I have not yet bought the duinomite board, but it seems very impressive! Just clearing some doubts prior to buying it.

I am planning to develop some commercial applications using it. My query is that, is it possible to protect the code on the SD card?

Thanks!

Title: Re: Code protection on Duinomite
Post by: olimex on April 08, 2013, 04:40:52 PM
no, you can't but you can disable Ctrl-C code run break and to make autoexec in PIC flash which to start after power up
be careful as if you do something wrong will have to re-program your PIC :)
Title: Re: Code protection on Duinomite
Post by: vbdev on April 08, 2013, 05:26:38 PM
Thanks, disabling Ctrl-C is nice as it will not expose the internals but the user can still pull out the SD card & copy it.

Can you explain how to add the autoexec.bas to the PIC flash & what precautions are to be taken. Will it be easy for a newbie like me?

Not urgent, but can you describe the code to disable crrl-c in basic language.

Thanks!!!



Title: Re: Code protection on Duinomite
Post by: olimex on April 08, 2013, 06:20:57 PM
Duinomite drive a: is internal flash memory drive
Ctrl-C could be easily disabled in the code - sources are at Github
Title: Re: Code protection on Duinomite
Post by: vbdev on April 08, 2013, 06:52:29 PM
Thanks!!!