Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: Abhay on July 17, 2007, 02:48:50 AM

Title: LPC 2138 + Code Read Protection
Post by: Abhay on July 17, 2007, 02:48:50 AM
Hi!
I have downloaded flashmagic version 3.50.197 from link given by nxp.com.
I have downloaded 128KB hex file in one of my LPC 2138 based application with Code read protection box checked. My application is not working correctly. The same hex file with same utility but CRP not checked works fine.
Will you please tell me the reason and work around for the same?

Abhay
Title: Re: LPC 2138 + Code Read Protection
Post by: Andy Ayre on July 17, 2007, 09:40:59 AM
The code read protection uses four bytes at a specific memory location. If your code also uses that location then it won't work properly. Please refer to the user manual for your device for details.

Andy