Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: eagle on November 08, 2006, 01:50:33 AM

Title: Programming P89LPC935
Post by: eagle on November 08, 2006, 01:50:33 AM
Hi,

I work with a P89LPC935 in ISP mode. When I try programming the device with Flash Magic, I don`t know what Freq Osc I must use.

I put 7.373Mhz, but the programming is slow. I put 115200 baud rate.

What can i do so that the programming is fast?


Thanks
Title: Re: Programming P89LPC935
Post by: Andy Ayre on November 08, 2006, 05:44:51 AM
If you use the internal RC oscillator then the frequency is 7.3728MHz.

Using the internal RC oscillator the fastest you will be able to autobaud at is likely 7200 baud.

To go a bit faster:

Go to Options -> Advanced Options
Click on the Communication tab
Check "High Speed Communications" and select 115200 from the drop-down box.

When you connect you will see the new, hopefully higher, baudrate at the top of the Flash Magic window. You probably won't get anything better than 38400 baud.

Title: Re: Programming P89LPC935
Post by: erikm on November 08, 2006, 08:49:12 AM
the fact is that ISP IS slow, live woth it.  If you need speed and volume, use a parallel programmer.  ISP was never intended to be a speed demon.  In industrial environments ISP is not even considered.  The REAL advantage of ISP is 'field upgrades' where speed does not matter (you are only programming one)

Erik

Title: Re: Programming P89LPC935
Post by: eagle on November 13, 2006, 05:06:41 AM
Hi,

When I start the programming, I have a box that says " The programming options you have selected will be modified to avoid programming over the ISP code in the device"

But, i don't know where i must change the option for not eraser the ISP code.
 

I'm lost in this question, i need programm the device, but i don't know how.
Title: Re: Programming P89LPC935
Post by: Andy Ayre on November 13, 2006, 05:42:39 AM
Please start a new topic for new questions.

If you have the Protect ISP option turned on AND you have chosen to erase all flash (for example), then Flash Magic will modify the erase operation to protect the ISP code in the device.

In this situation Flash Magic warns you that it is not going to erase what you requested, so it displays the message you are seeing.