Author Topic: FACING REPROGRAMMING OF P89LPC952 IF BOOT SECTION IS OVERWRITE BY ISP MODE  (Read 2763 times)

Darshit Prajapati

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
    • Email
I am facing a problem, mentioned as below.

my controller is p89lpc952 8k flash memory.

if i will select device in keil project then it will support up to 8k memmory coding.
and due to that my .hex size will be reached to 8k flash limit.

then if i will going to programming my device in ISP mode then my boot sector will be overwrite and i cant reprogramming ic again.

here i am selecting ISP protect option in flash magic.

please any one can help.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2167
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
You can't use all the memory in LPC9xx devices that support ISP because the bootloader uses the top of the memory space. Use a device in the family with 16kb of flash if your code is going to be close to 8kb in size.

Always make sure you select the device you are using to ensure the bootloader is protected.

Don't use ALL CAPITALS for anything because it looks like you are shouting at everyone.

Don't create polls that are nonsensical.

Don't post your question more than once, unless you want to be banned from the forum.

Andy
« Last Edit: March 09, 2011, 12:55:02 am by Andy Ayre »
Embedded Systems Academy, Inc.
support at esacademy dot com