Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Can I use IAP routines with PLL multiplier other than 1x.

2005-08-27 by lpc2100_fan

Hello when you boot you can not run ISP from 60 MHz because the
autobauding would not work.  If you call IAP routines within you
program to change Flash contents, it is no problem to run as fast as
you want, but please use the frequency you are running at (e.g. 60
MHz) for the call. The actual f is needed to perform programming
correctly.  If you call IAP and tell the routine you are running at 10
MHz while in reality you are running at 60 MHz, it might program
sometimes but it is totally unreliable because it tries to program 6
times faster. 

hth, Bob

--- In lpc2000@yahoogroups.com, "lhaddix" <lhaddix@i...> wrote:
> Hi,
> Does anyone know if you can use the IAP routines
> on an LPC2138 to write the flash while running
> at crystal x6. I saw a note somewhere that said
> you had to drop the clock multiplier to 1x to use
> the IAP, but only prior to a certain version.
> 
> Has anyone tried this?
> 
> The Phillips boot loader gives evidence that you
> must run at 1x because it can't go past 19200 baud
> with 11.0592mhz. However the IAP routines may not
> care what the multiplier is and it's just how the
> bootloader sets up the PLL.
> 
> Landrum

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.