Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Product List
disabling jtag
The protection on the LPC2000 device consists of disabling the JTAG interface, which is the only way that you have to read out code from the device. This happens first, at power up, by modifying the PINSEL register, regardless of whether you have protection on or not. Then, the Boot loader has time to go in and check to see whether protection is supposed to be enabled. It enables the JTAG interface if the protection pattern is not found in the corresponding memory location. To protect the code, it is necessary to program a specific value into sector zero at the top of the interrupt vector. This allows room for the FIQ exception handler before you get to the address space for the application code.
PTM Published on: 2011-11-02