Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: progttr on November 30, 2017, 03:20:33 pm

Title: P89LPC952FA iap programming trouble
Post by: progttr on November 30, 2017, 03:20:33 pm
Hello, I'm programming the P89LPC952 with ULINK2 from Keil but I don't able any more to reprogram it. When I tried to download the program with Keil, it has me put error message and since the ULINK2 doesn't found it any more. I was able to program it in ISP with FlashMagic but I noticed something. The last block at the address 0x1C00-0x1FFF is protected what is normal because there is a bootloader, ok but the first block (block 0) is also protected and I can't change it.

My questions are:

- The fact that the ULINK2 does not found the P89LPC952 could come from there?
- Could the bootloader IAP be deleted?
- How to solve the problem?

Thank you in advance.
Title: Re: P89LPC952FA iap programming trouble
Post by: Andy Ayre on December 01, 2017, 12:49:37 am
Sounds like the EDISx security bit is set for block zero. The only way to clear it is in a parallel programmer as far as I know. See the NXP user manual chapter 17.

Andy
Title: Re: P89LPC952FA iap programming trouble
Post by: progttr on December 01, 2017, 07:54:37 am
Thank you for your fast answer. Can I do thant with the ULINK2 or a usb-ttl converter?