P89LPC952FA iap programming trouble

Started by progttr, November 30, 2017, 03:20:33 PM

Previous topic - Next topic


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.

Andy Ayre

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.

Embedded Systems Academy, Inc.
support at esacademy dot com


Thank you for your fast answer. Can I do thant with the ULINK2 or a usb-ttl converter?