Flash Magic Forum

Archive => Old Topics => Topic started by: Jeffrey Chang on October 27, 2003, 05:22:54 PM

Title: How to enable BREAK DETECT method using LPC932 (C version) ?
Post by: Jeffrey Chang on October 27, 2003, 05:22:54 PM
According to page 3 of Flash Magic Application Note 3, we should
send a Break Condition using STARTBOOTROM (BREAK) directive
instead of HARDWARE(KEILMCB900). But I can not find the directive
in uVision 2 v2.39 (Keil C v7.07) environment. How to enable the directive ?

By the way, MCB900 Reference PCB schematic contains
a PROG jumper with P2.4. What's the purpose of RPOG/P2.4 ?
I need it for LPC932 (C version) ?

I used FlashMagic v1.83 and LPC932 internal RC 7.373 MHz
for Break Detect mode ISP.
Title: Re: How to enable BREAK DETECT method using LPC932 (C version) ?
Post by: Andy Ayre on October 28, 2003, 07:07:10 AM
The directive is a Flash Magic directive, not a Keil directive. So, if you have set up Flash Magic to run after building, or added it to the tools menu, then on the command line for Flash Magic you add the STARTBOOTROM directive.

Title: Re: How to enable BREAK DETECT method using LPC932 (C version) ?
Post by: Andy Ayre on October 28, 2003, 07:08:11 AM
The Prog jumper was for an early version of the LPC932. It is not used for revision C or later of the LPC932 and should be left open.

Title: Re: How to enable BREAK DETECT method using LPC932 (C version) ?
Post by: Jeffrey Chang on October 31, 2003, 08:35:24 PM
To whom may concern,
I use FlashMagic under Windows environment,
not one the command line mode.
Could you tell me how to enable STARTBOOTROM (BREAK) directive
in FlashMagic control panels ?

By the way, what is the limited baud rate of ISP auto detection ?
19200 or more ?

Can the LPC922/921 support the Break Detect method of ISP ?
I am planning to use LPC922 instead of LPC932 since it is too
expensive to me.

According to page 36 of LPC922 data sheet (07 October 2003),
its internal RC oscillator frequency is 7.3728 MHz (+/- 1% at
25 degree). Is it true ?
Title: Re: How to enable BREAK DETECT method using LPC932 (C version) ?
Post by: Andy Ayre on November 03, 2003, 07:43:40 AM
Go to the ISP menu. Choose Start BootROM. Select the Send Break Condition option. Click on OK.

The baud rate is limited by the clocks/cycle and oscillator speed. For example, when using the LPC932 on-chip oscillator, the max autobaud baud rate is 9600.

The LPC92x supports break detect. See the current datasheet, section 8.15.1 Reset Vector.

I don't know about the oscillator tolerence for the LPC92x.