Author Topic: P89LPC952FA iap programming trouble  (Read 78 times)

progttr

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
P89LPC952FA iap programming trouble
« 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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2124
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89LPC952FA iap programming trouble
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com

progttr

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: P89LPC952FA iap programming trouble
« Reply #2 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?