Acidmods
AcidMods Resources ----- ( These are helpful tools for modding ) => Open Source Code & AcidMods Free Code => Topic started by: Ben. on May 02, 2009, 06:20:41 AM
-
Right the first question is;
Do you guys use any program to right the codes, or just write it straight to hex format or whatever..?
And
How would you protect your code on a chip, so it couldn't be read, and copyed by someone who has the chip with the code on..?
Thanks :tup:
-
Anyone... ?
-
Like i said in the other post, Learn a language. No you dont write straight to .hex format... You start with a much more complex code in a .asm file and you Build/compile them into a HEX code so you can send it to the PIC.
For protecting the code, you would write-
__CONFIG _FCMEN_OFF & _IESO_OFF & _CP_OFF & _CPD_OFF & _BOD_OFF & _MCLRE_OFF & _WDT_OFF & _PWRTE_ON & _INTOSCIO
Near the start of the Code your writing.
That bit _CP_OFF means- Code protection off
Put _CP_ON and it will be one and you cant have your programmer "read" whats written on the PIC.
Also Hazer has written some nice stuff here: http://web.tampabay.rr.com/hazer/ (http://web.tampabay.rr.com/hazer/)
-
Yer thats cool..
Thanks Jumbo.. :)