Flash Magic Forum
September 09, 2010, 01:19:45 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Flash Magic Forum
>
In-System Programming Support
>
LPC2xxx
>
Code Read Protection for LPC2368
Pages: [
1
]
« previous
next »
Print
Author
Topic: Code Read Protection for LPC2368 (Read 619 times)
yuligar
Newbie
Posts: 4
Code Read Protection for LPC2368
«
on:
June 16, 2010, 02:01:27 PM »
Hello
I'm trying to set read protection code in LPC2368
I have read the post regarding that read code protections uses four bytes at a specific memory location
But I can't change the .hex file, Still how can I enable read code protection?
I'm looking for version for old command HEXFILE(CODEREADPROTECTION)
Thanks in advance
Logged
Andy Ayre
ESAcademy Staff
Sr. Member
Posts: 1629
Re: Code Read Protection for LPC2368
«
Reply #1 on:
June 16, 2010, 05:04:59 PM »
Assuming the hex file doesn't use those locations, you can patch it by adding a single record to the end to set the CRP to the value you want. Or, you could write a Just-in-Time module to generate the record automatically every time the hex file is programmed.
Andy
Logged
Embedded Systems Academy, Inc.
support at esacademy dot com
yuligar
Newbie
Posts: 4
Re: Code Read Protection for LPC2368
«
Reply #2 on:
June 17, 2010, 09:21:47 AM »
Hello
Sorry I didn't quite get it
What command should I use in (command line) to set read code protection?
I can't add/touch the .hex file
Thanks
Logged
Andy Ayre
ESAcademy Staff
Sr. Member
Posts: 1629
Re: Code Read Protection for LPC2368
«
Reply #3 on:
June 17, 2010, 05:12:34 PM »
I've given you two options. The third - which is the easiest of course - is to go back to the software engineer and have them add the CRP value in to the project. It's a trivial change that will take less than one minute to do.
Andy
«
Last Edit: June 17, 2010, 05:14:27 PM by Andy Ayre
»
Logged
Embedded Systems Academy, Inc.
support at esacademy dot com
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
In-System Programming Support
-----------------------------
=> P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x
=> P89V51Rx2/P89LV51Rx2
=> LPC9xx/LPC9xxx
=> LPC1xxx
=> LPC2xxx
=> PXA-Gx9
=> General
-----------------------------
General
-----------------------------
=> General Discussion
=> Feature Requests
=> Off-Topic
-----------------------------
Unsorted Topics
-----------------------------
=> Old Topics
Loading...