LPC1225 Recover from CRP1 not possible? (Code Read Protection)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1225 Recover from CRP1 not possible? (Code Read Protection)

1,016件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tbutuza on Sun Aug 21 13:03:52 MST 2011
Hello,

First time to use CRP. No success :-(
I set the device into CPR1. It seems working because no code read is possible.
But I can not reprogram or erase the deveice.
I really set to CPR1 not CRP2 or CRP3.
As desribed in the user manual, CRP1 allows full erase but in practice it doesn't work.
Now my chip is unusble? I really need erase and reprogram it.

Please help me. How to recover from CRP1?
I use a command line tool "lpc21isp" under Linux.
This program can be run in terminal mode and it allows execute ISP commands manually.

I tried with: P 0 19
and after E 0 19

It gives back error code 15. It means (by the user manual) CMD LOCKED.

I really set CPR1.
In the hex file the character sequence "78563412" can be read.
It means 0x12345678 because it is big endian. It proves that I really set CPR1 not something other.

But why unalloved the sector erase? It should be alloved by the documentation.

Did anyone recover an LPC12xx from CRP1 to NO_CRP really?

Thanks in advance,
Tamas Butuza
0 件の賞賛
返信
2 返答(返信)

972件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Mon Aug 22 23:39:08 MST 2011
The LPC1225/301 and LPC1225/321 are supported by FlashMagic.

http://www.flashmagictool.com/download.html&d=FlashMagic.exe
0 件の賞賛
返信

972件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kendwyer on Mon Aug 22 13:22:07 MST 2011
I am not sure if the LPC1200 is supported (yet) by lpc21isp.
Can you try FlashMagic, it has support.
0 件の賞賛
返信