Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] LPC2210 boot configuration question

2005-12-17 by Pieter Verstraelen

The LPC2210 does not have internal flash.  So, the 11 option for the
BOOT 1:0 pins is not a good idea probably.  

I want to boot from an external 16 bit FLASH and have to connect BOOT1
with a 10K resistor to GND. That is clear.

My only doubt is about address line A1.  The description of CTRLP301 on
page 94 of the user manual states that the pin with A1 is in GPIO mode
after reset if BOOT1 is zero during reset.  But I need A1 to fetch code
from the flash...

Regards,
Pieter Verstraelen

> -----Oorspronkelijk bericht-----
> Van: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] Namens
> vaibhav chauhan
> Verzonden: zaterdag 17 december 2005 13:42
> Aan: lpc2000@yahoogroups.com
> Onderwerp: Re: [lpc2000] LPC2210 boot configuration question
> 
> I have not worked with LPC2210/LPC2220 but i have worked with LPC2292
> and readed other controllers for using external memory interface from
> phillips
> 
>         The thing i want to tell u is for
>    BOOT1:0 selects one of the following options:
>  - 00 selects 8-bit memory on CS0 for boot.
>  - 01 selects 16-bit memory on CS0 for boot.
>  - 10 selects 32-bit memory on CS0 for boot.
>  - 11 selects 16-bit memory on CS0 for boot.
>    LAST OPTION IS ONLY TRUE IF UR CONTROLLER HAVE IN BILD FLASH
>  [ Does u rcontroller have ? ]
>   1. Boot 1 and Boot 0 were internally pull up
>  so by default they are in Mode 11 [last one]
>  which use internal FLASH of controller if present
>  while booting up at the time of reset.
>           i.e        BOOT 1:0   --   11
>    In other three mode controller will over look the internal
>  flash.
>   2.      To Boot with an outer 32 bit memory
>         Connect a 10K res. permanently
>  Between BOOT0 and GND,So it make the desired configration
>           i.e        BOOT 1:0   --   10
>   3.      To Boot with an outer 16 bit memory
>         Connect a 10K res. permanently
>  Between BOOT1 and GND,So it make the desired configration
>         i.e        BOOT 1:0   --   01
>   4.      To Boot with an outer 8 bit memory
>         Connect a 10K res. permanently
>  Between BOOT1 and GND + BOOT0 and GND,
>  So it make the desired configration
> 
>  i.e        BOOT 1:0   --   00
>    The choice of 10K is to make a week pull down so that
>  these pins can be used for their respective functionality, otherwise.
> 
>         The main point that u might have over looked is that
>  these conditions are necessary only at the time of reset
>     after that u dont need them.
> 
>  AND u r thinking from a software part of view because u are
>  looking at the internal reg. rather then looking for some schematics
>      If u r looking to design a LPC hardware the best way or the
quickest
>   way is to look for a development board as per ur requirement
>  [quit easy to find] then look for it sch. and study it.
>  Then go for the user manual is u have a dought.
> 
>         NOW i have a question in my mind how will i load the program
the
> external
>  flash ?
>  Any idea other then IAP.
> 
>   tell me if u find the sollution.even a blank mail with "i got
sollution"
> 
>   vaibhav chauhan
>

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.