Programming P89LPC935

Started by eagle, November 08, 2006, 01:50:33 AM

Previous topic - Next topic

eagle

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

Andy Ayre

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.

Embedded Systems Academy, Inc.
support at esacademy dot com

erikm

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

erik

eagle

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.

Andy Ayre

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.

Embedded Systems Academy, Inc.
support at esacademy dot com