Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: FLASH errata (why frequency is needed)

2004-11-17 by Robert Adsett

At 11:28 PM 11/17/04 +0000, you wrote:
>For ISP the PLL is not active after a reset. The baudrate can be
>calculated for a given frequency range. But during runtime,
>reflashing uses IAP (In Application Programming) calls. The PLL could
>be on or off. The timing for Flash programming is critical and
>everybody wants to have a fast programming algorithm. So asking us
>users for the frequency seems quite resonable to do!?

Not only reasonable but necessary (even for ISP).  The micro has no way of 
knowing what the baud rate is (only that it matched it, was that 120bd, 
1200bd, 12000 or something else entirely).  There is no absolute timing 
reference it can use so it must be given one.  It could be given the baud 
rate in the case of ISP but given the inaccuracy of baud rates that's a 
poor second choice to the oscillator frequency.  In any case it must be 
given a number independent of it's auto baud match.

Robert


" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

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.