Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] LPC2210 boot configuration question

2005-12-17 by vaibhav chauhan

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

elen <pieter@...> wrote:
  I want to use the LPC2210 with an external page mode flash S29GL032.
The LPC2210 has to boot from this device so the value of the BOOT0 and
BOOT1 pins is important (P2.26 and P2.27).  

Page 93 of the user manual (Rev. 01) contains the description for
PINSEL2[5:4].  The table shows me that BOOT1 should be 0 and BOOT1
should be 1 to have access to OE, D15:0 and CS0.  

The problem is the PINSEL2[24] bit (CTRLP301 on page 94):  according to
the explanation for CTRLP301, the I/O pin P3.1 starts as an GPOI pin if
BOOT1 is 0.  P3.1 is also A1 and A1 is needed to fetch from the flash.
So, with BOOT1 set to 0 during power-on, you don't have A1 available.
And without A1 is it hard to read from the 16 bit wide FLASH.

How can I solve this? Or is there a mistake in my interpretation?

The manual also states that with BOOT1:0 set to 11, booting from 16 bit
memory with CS0 is possible (page 84).  But the table on page 93
indicates that with BOOT1:0 set to 11, the pin P1.0 works as GPOI pin
and not as CS0 pin.  That makes it hard to boot with CS0.
There is something here that I don't understand... or there is something
wrong in the manual.

Regards,

Pieter Verstraelen





[Non-text portions of this message have been removed]



  SPONSORED LINKS 
        Microprocessor   Microcontrollers   Pic microcontrollers     8051 microprocessor 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  

  


Send instant messages to your online friends http://in.messenger.yahoo.com 

[Non-text portions of this message have been removed]

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.