News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Can I read register with code protection block?

Started by Mapo, Dec 09, 2021, 11:22 AM

Previous topic - Next topic

Mapo

Hi all,
I would like to check from firmware if the protection of memory blocks is active, I use pic18F26K22 but I have not found the address of the register for memory protection.
Where can I find it?

trastikata

Quote from: Mapo on Dec 09, 2021, 11:22 AMHi all,
I would like to check from firmware if the protection of memory blocks is active, I use pic18F26K22 but I have not found the address of the register for memory protection.
Where can I find it?

TABLE 24-1: "CONFIGURATION BITS AND DEVICE IDs" from the datasheet.

Mapo

Hi Trastikata,
I solved the problem using the CREAD command
Thanks