For some reason, I can't find a document where it talks about setting code protect bits depending on whether I'm compiling in debug or release mode. Can someone point me in the right direction, or provide an example? Thanks! Vitaliy -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist