Hello, MB Team:
We are developing our a product, The device is Pic32mx270f256B. The project is almost done. But we found our code can't be protected by your software. We read the Pic32MX family reference manual. DEVCFG0 bit 28 = 0 will protect our code. We checked your ref file, it has DEVCFG3, DEVCFG2, DEVCFG1, it doesn't have DEVCFG0.
We also tried set code protect from your software project edit, but "mikroProg Suite For PIC" is still can read the code from our device.
Please help us to solve this problem. Thanks.
Pic32MX270/170F256B can't Protect our code!
Re: Pic32MX270/170F256B can't Protect our code!
Hi,
Which version of the compiler are you using ?
I see DEVCFG0 and Code Protect bit in the Edit Project for the PIC32MX270F256B in the 4.0.0. version.
Regards,
Filip.
Which version of the compiler are you using ?
I see DEVCFG0 and Code Protect bit in the Edit Project for the PIC32MX270F256B in the 4.0.0. version.
Regards,
Filip.
Re: Pic32MX270/170F256B can't Protect our code!
mikroProg software shows all of the right indications, but the end result is that the code ends up readable.
Disclaimer - I have only mikroC compiler current version (as at posting), but problem is the same - no code protection, despite all indications.
OldSpring has it right.
Disclaimer - I have only mikroC compiler current version (as at posting), but problem is the same - no code protection, despite all indications.
OldSpring has it right.
Start every day with a smile...... (get it over with)
Re: Pic32MX270/170F256B can't Protect our code!
Hi, Filip:
We are using MikroBasic Pro for Pic32 Ver 4.0.0. It can't lock our code. Project Edit show DEVCFG0 Code Protect bit = 0, but it is not true. (In your Def file, No DEVCFG0.)
Please check your programmer software again. Thx!
Thank Hexreader for help.
We are using MikroBasic Pro for Pic32 Ver 4.0.0. It can't lock our code. Project Edit show DEVCFG0 Code Protect bit = 0, but it is not true. (In your Def file, No DEVCFG0.)
Please check your programmer software again. Thx!
Thank Hexreader for help.
Re: Pic32MX270/170F256B can't Protect our code!
When I set the Code Protect Bits in Compiler these show correct values under the Configuration words. And when I shift to mikroProg Suit v2.90 this again show correctly "Code Protect Enabled" as I expected. But when I program the chip and read it back it shows "Code Protect Disabled" And all the code is read and verify same. It means mikroProg did not wrote the code protection bits correctly, but its strange that other bits like Clock Settings or PLL etc. are programmed correctly. I have purchased mikroProg just an year ago and I have also updated it to latest firmware v2.11. Can MB team help me why mikroProg does not program the lock bits on PIC32MX270F256B?