How to enable BREAK DETECT method using LPC932 (C version) ?

Started by Jeffrey Chang, October 27, 2003, 05:22:54 PM

Previous topic - Next topic

Jeffrey Chang

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.

Andy Ayre

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.

Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

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.

Embedded Systems Academy, Inc.
support at esacademy dot com

Jeffrey Chang

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 ?

Andy Ayre

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.

Embedded Systems Academy, Inc.
support at esacademy dot com