Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: Darshit Prajapati on March 08, 2011, 04:02:15 AM

Poll
Question: PROGRAMMING OF P89LPC952 IC
Option 1: HOW TO PROTECT IC IN ISP MODE votes: 0
Option 2: WHAT WE HAVE TO DO WHEN CODE SIZE EXCEDDED BY SIZE votes: 1
Title: FACING REPROGRAMMING OF P89LPC952 IF BOOT SECTION IS OVERWRITE BY ISP MODE
Post by: Darshit Prajapati on March 08, 2011, 04:02:15 AM
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.
Title: Re: FACING REPROGRAMMING OF P89LPC952 IF BOOT SECTION IS OVERWRITE BY ISP MODE
Post by: Andy Ayre on March 09, 2011, 12:53:07 AM
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