File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
targets/TARGET_NXP/TARGET_LPC176X/device Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
+
17
+
18
+ /* Code Read Protection
19
+
20
+ NONE 0xFFFFFFFF - No code protection.
21
+
22
+ CRP1 0x12345678 - Write to RAM command can not access RAM below 0x10000200.
23
+ - Read Memory command: disabled.
24
+ - Copy RAM to Flash command: cannot write to Sector 0.
25
+ - "Go" command: disabled.
26
+ - Erase sector(s) command: can erase any individual sector except
27
+ sector 0 only, or can erase all sectors at once.
28
+ - Compare command: disabled
29
+
30
+ CRP2 0x87654321 - Write to RAM command: disabled.
31
+ - Copy RAM to Flash: disabled.
32
+ - Erase command: only allows erase of all sectors.
33
+
34
+ CRP3 0x43218765 - Access to chip via the SWD pins is disabled. ISP entry
35
+ by pulling PIO0_1 LOW is disabled if a valid user code is
36
+ present in flash sector 0.
37
+ Caution: If CRP3 is selected, no future factory testing can be
38
+ performed on the device.
39
+ */
40
+
16
41
#if !defined(BOOTLOADER_ADDR ) // do not include CRP if there is a bootloader.
17
42
#if defined (__ICCARM__ )
18
43
const long CRP_Key @0x000002FC = 0xFFFFFFFF ;
You can’t perform that action at this time.
0 commit comments