Author Topic: LPC 2138 + Code Read Protection  (Read 5864 times)

Abhay

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
LPC 2138 + Code Read Protection
« 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC 2138 + Code Read Protection
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com