April 20, 2024, 05:06:38 AM

Code protection on Duinomite

Started by vbdev, April 08, 2013, 10:01:38 AM

Previous topic - Next topic

vbdev

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!


olimex

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 :)

vbdev

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!!!




olimex

Duinomite drive a: is internal flash memory drive
Ctrl-C could be easily disabled in the code - sources are at Github