Author Topic: Programming P89LPC935  (Read 3403 times)

eagle

  • Jr. Member
  • **
  • Posts: 16
    • View Profile
Programming P89LPC935
« 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Programming P89LPC935
« Reply #1 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.

Embedded Systems Academy, Inc.
support at esacademy dot com

erikm

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: Programming P89LPC935
« Reply #2 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

erik

eagle

  • Jr. Member
  • **
  • Posts: 16
    • View Profile
Re: Programming P89LPC935
« Reply #3 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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Programming P89LPC935
« Reply #4 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.

Embedded Systems Academy, Inc.
support at esacademy dot com