Yahoo Groups archive

Lpc2000

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

Thread

Re: Help, clarify the boot sequence and MEMMAP

Re: Help, clarify the boot sequence and MEMMAP

2004-07-02 by jpmarm2004

Hi:
Since I do not have any special software ( I work from Linux and GCC
and Olimex board ) from board manufacturers, I am unable to understand
the mystery of boot process and how it changes the execution from
Flash to SRAM with help of MEMMAP:
1. If initially MEMMAP bits are "00", and Vectors are mapped from boot
block, how does (during booting) the boot software read the flash
memory  to undersatnd if there is a valid code there? Does the boot up
software switch MEMMAP to "01" so that it could access the flash rom?
2. The Philips AN10254 note shows that we can execute the program from
SRAM by giving MEMAP = 0x2; instruction in the main() routine.
This code must have been executed from the flash only? If so, should
the Flash rom and SRAM have the same image ? What is the state of the
PC before, during and after the execution of MEMAP = 0x2; Seems like a
"hyper jump" from flash space to SRAM space. What happens to the
pipeline at this time?

Appreciate any clarification from the group.
Thanks
- Mathew

My First LPC design...

2004-07-02 by Lasse Madsen

Hi all.

I have been monitoring this group for about half a year now waiting for the
"right" time to start an LPC project, that time is now! I've made a simple
datalogger with an SD card,GPS and GSM modem in a similar design I currently
use with an atmel avr, I would appriciate if someone would take a breif look
at my schematic and see if I have made any obvious mistakes with the LPC and
its bootloader select pin etc.

Diagram:
http://www.electro-logic.com/diagram.pdf

At the same time I would like to ask if anyone has worked with the Keil
uVision compiler, as I will probertly be using
this compiler or the ARM ADS depending on which is best and easiest to use,
any comments ?

Best regards and many thanks for having me in this great group !

Lasse Madsen

Re: [lpc2000] My First LPC design...

2004-07-02 by Taner Mutlu

welcome to ARM world!!
  I have made the same project-> GPS -> however I
would recommend you to use GPRS modem instead of
GSM(of course if u do it for commercial manner).

 I use the KEIL IDE and in KEIL u can select the ADS
compiler as an option. however I prefer the GNU
compiler to ADS compiler.

--- Lasse Madsen <lm@...> wrote:
> Hi all.
> 
> I have been monitoring this group for about half a
> year now waiting for the
> "right" time to start an LPC project, that time is
> now! I've made a simple
> datalogger with an SD card,GPS and GSM modem in a
> similar design I currently
> use with an atmel avr, I would appriciate if someone
> would take a breif look
> at my schematic and see if I have made any obvious
> mistakes with the LPC and
> its bootloader select pin etc.
> 
> Diagram:
> http://www.electro-logic.com/diagram.pdf
> 
> At the same time I would like to ask if anyone has
> worked with the Keil
> uVision compiler, as I will probertly be using
> this compiler or the ARM ADS depending on which is
> best and easiest to use,
> any comments ?
> 
> Best regards and many thanks for having me in this
> great group !
> 
> Lasse Madsen
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> 
> Make a clean sweep of pop-up ads. Yahoo! Companion
> Toolbar.
> Now with Pop-Up Blocker. Get it for free!
>
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dN_tlB/TM
>
--------------------------------------------------------------------~->
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     lpc2000-unsubscribe@yahoogroups.com
> 
>  
> 
> 


=====
Taner Mutlu 
Elektronik M\ufffdh.
GLOBAL Bilgisayar ve Kontrol Sistemleri
taner@...


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

SV: [lpc2000] My First LPC design...

2004-07-02 by Lasse Madsen

Hi Taner.

Thanks for the advice, the modem is already GPRS enabled and i was hoping to
find an RTOS with a PPP TCP/IP
protocol stack ( I have written my own but its not at all what I would like
it to be ! )


I was told that there where problems with SD CARD's using the hardware SPI
port !?!?!?!?
What is this all about and did someone find a solution ?

Best regards
Lasse Madsen

-----Oprindelig meddelelse-----
Fra: Taner Mutlu [mailto:tanermutlunun@...]
Sendt: 2. juli 2004 11:34
Til: lpc2000@yahoogroups.com
Emne: Re: [lpc2000] My First LPC design...


welcome to ARM world!!
  I have made the same project-> GPS -> however I
would recommend you to use GPRS modem instead of
GSM(of course if u do it for commercial manner).

 I use the KEIL IDE and in KEIL u can select the ADS
compiler as an option. however I prefer the GNU
compiler to ADS compiler.

--- Lasse Madsen <lm@...> wrote:
> Hi all.
>
> I have been monitoring this group for about half a
> year now waiting for the
> "right" time to start an LPC project, that time is
> now! I've made a simple
> datalogger with an SD card,GPS and GSM modem in a
> similar design I currently
> use with an atmel avr, I would appriciate if someone
> would take a breif look
> at my schematic and see if I have made any obvious
> mistakes with the LPC and
> its bootloader select pin etc.
>
> Diagram:
> http://www.electro-logic.com/diagram.pdf
>
> At the same time I would like to ask if anyone has
> worked with the Keil
> uVision compiler, as I will probertly be using
> this compiler or the ARM ADS depending on which is
> best and easiest to use,
> any comments ?
>
> Best regards and many thanks for having me in this
> great group !
>
> Lasse Madsen
>
>
>
> ------------------------ Yahoo! Groups Sponsor
>
>
>
> Yahoo! Groups Links
>
>
>     lpc2000-unsubscribe@yahoogroups.com
>
>
>
>


=====
Taner Mutlu
Elektronik M|h.
GLOBAL Bilgisayar ve Kontrol Sistemleri
taner@...




__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail




Yahoo! Groups Links

Re: SV: [lpc2000] My First LPC design...

2004-07-02 by Taner Mutlu

in the following address I think u can find some
tcp/ip stacks and links but I think u will need to
port to ARM

I havent tried them.

 http://www.unusualresearch.com/tinytcp/tinytcp.htm

 I havent used SD Flash Cards sorry I cant help u
about that.(but I will have to anyway)


--- Lasse Madsen <lm@...> wrote:
> Hi Taner.
> 
> Thanks for the advice, the modem is already GPRS
> enabled and i was hoping to
> find an RTOS with a PPP TCP/IP
> protocol stack ( I have written my own but its not
> at all what I would like
> it to be ! )
> 
> 
> I was told that there where problems with SD CARD's
> using the hardware SPI
> port !?!?!?!?
> What is this all about and did someone find a
> solution ?
> 
> Best regards
> Lasse Madsen
> 
> -----Oprindelig meddelelse-----
> Fra: Taner Mutlu [mailto:tanermutlunun@...]
> Sendt: 2. juli 2004 11:34
> Til: lpc2000@yahoogroups.com
> Emne: Re: [lpc2000] My First LPC design...
> 
> 
> welcome to ARM world!!
>   I have made the same project-> GPS -> however I
> would recommend you to use GPRS modem instead of
> GSM(of course if u do it for commercial manner).
> 
>  I use the KEIL IDE and in KEIL u can select the ADS
> compiler as an option. however I prefer the GNU
> compiler to ADS compiler.
> 
> --- Lasse Madsen <lm@...> wrote:
> > Hi all.
> >
> > I have been monitoring this group for about half a
> > year now waiting for the
> > "right" time to start an LPC project, that time is
> > now! I've made a simple
> > datalogger with an SD card,GPS and GSM modem in a
> > similar design I currently
> > use with an atmel avr, I would appriciate if
> someone
> > would take a breif look
> > at my schematic and see if I have made any obvious
> > mistakes with the LPC and
> > its bootloader select pin etc.
> >
> > Diagram:
> > http://www.electro-logic.com/diagram.pdf
> >
> > At the same time I would like to ask if anyone has
> > worked with the Keil
> > uVision compiler, as I will probertly be using
> > this compiler or the ARM ADS depending on which is
> > best and easiest to use,
> > any comments ?
> >
> > Best regards and many thanks for having me in this
> > great group !
> >
> > Lasse Madsen
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >     lpc2000-unsubscribe@yahoogroups.com
> >
> >
> >
> >
> 
> 
> =====
> Taner Mutlu
> Elektronik M|h.
> GLOBAL Bilgisayar ve Kontrol Sistemleri
> taner@...
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> 
> Yahoo! Domains - Claim yours for only $14.70
>
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/dN_tlB/TM
>
--------------------------------------------------------------------~->
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     lpc2000-unsubscribe@yahoogroups.com
> 
>  
> 
> 


=====
Taner Mutlu 
Elektronik M\ufffdh.
GLOBAL Bilgisayar ve Kontrol Sistemleri
taner@...


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

Re: My First LPC design...

2004-07-02 by haack0815

--- In lpc2000@yahoogroups.com, "Lasse Madsen" <lm@h...> wrote:
> Hi all.
> 
> I have been monitoring this group for about half a year now waiting
for the
> "right" time to start an LPC project, that time is now! I've made a
simple
> datalogger with an SD card,GPS and GSM modem in a similar design I
currently
> use with an atmel avr, I would appriciate if someone would take a
breif look
> at my schematic and see if I have made any obvious mistakes with the
LPC and
> its bootloader select pin etc.
> 
> Diagram:
> http://www.electro-logic.com/diagram.pdf
> 
> At the same time I would like to ask if anyone has worked with the Keil
> uVision compiler, as I will probertly be using
> this compiler or the ARM ADS depending on which is best and easiest
to use,
> any comments ?
> 
> Best regards and many thanks for having me in this great group !
> 
> Lasse Madsen


Hi Lasse,

take a closer look at the SPI Interface to the Memory Card.
If the LPC is working as a SPI Master you must set a 1 to the SSEL input.
Also the CS at the SD/MMC is an input (active low).

Andreas

Re: [lpc2000] My First LPC design...

2004-07-02 by Robert Adsett

At 09:21 AM 7/2/04 +0200, you wrote:
>"right" time to start an LPC project, that time is now! I've made a simple
>datalogger with an SD card,GPS and GSM modem in a similar design I currently
>use with an atmel avr, I would appriciate if someone would take a breif look
>at my schematic and see if I have made any obvious mistakes with the LPC and
>its bootloader select pin etc.

A couple of suggestions.

-  Add some sort of power monitor/power on reset chip.  For an evaluation 
board not necessary.
- Add on a standard ISP header 
http://www.open-research.org.uk/ARMuC/index.cgi?Standard_ISP_Header  for 
serial port connection and programming.

One question.  Are you sure that there is no condition under which Data 
Carrier from U4 will not be high after a reset? IF it is ever low or 
floating after a reset you will run into problems.

On a related note.  I believe the LPC starts with its pins as inputs.  That 
means that any you are using as outputs will float during the period from 
reset until initialization.  I noticed couple of lines being used as 
outputs that appeared not to have the appropriate pull-up or pull-down 
resistors.

Robert

Re: SV: [lpc2000] My First LPC design...

2004-07-02 by jrcmx1234

Greetings,

CMX offers an RTOS and a TCP/IP stack with PPP, AT Modem commands, 
etc., for the LPC platform.  The software supports the ARM, IAR, or 
KEIL compilers for these processors.  The url is www.cmx.com

Best Regards,

JR Rodrigues
CMX Systems, Inc.

--- In lpc2000@yahoogroups.com, "Lasse Madsen" <lm@h...> wrote:
> Hi Taner.
> 
> Thanks for the advice, the modem is already GPRS enabled and i was 
hoping to
> find an RTOS with a PPP TCP/IP
> protocol stack ( I have written my own but its not at all what I 
would like
> it to be ! )
> 
> 
> I was told that there where problems with SD CARD's using the 
hardware SPI
Show quoted textHide quoted text
> port !?!?!?!?
> What is this all about and did someone find a solution ?
> 
> Best regards
> Lasse Madsen
> 
> -----Oprindelig meddelelse-----
> Fra: Taner Mutlu [mailto:tanermutlunun@y...]
> Sendt: 2. juli 2004 11:34
> Til: lpc2000@yahoogroups.com
> Emne: Re: [lpc2000] My First LPC design...
> 
> 
> welcome to ARM world!!
>   I have made the same project-> GPS -> however I
> would recommend you to use GPRS modem instead of
> GSM(of course if u do it for commercial manner).
> 
>  I use the KEIL IDE and in KEIL u can select the ADS
> compiler as an option. however I prefer the GNU
> compiler to ADS compiler.
> 
> --- Lasse Madsen <lm@h...> wrote:
> > Hi all.
> >
> > I have been monitoring this group for about half a
> > year now waiting for the
> > "right" time to start an LPC project, that time is
> > now! I've made a simple
> > datalogger with an SD card,GPS and GSM modem in a
> > similar design I currently
> > use with an atmel avr, I would appriciate if someone
> > would take a breif look
> > at my schematic and see if I have made any obvious
> > mistakes with the LPC and
> > its bootloader select pin etc.
> >
> > Diagram:
> > http://www.electro-logic.com/diagram.pdf
> >
> > At the same time I would like to ask if anyone has
> > worked with the Keil
> > uVision compiler, as I will probertly be using
> > this compiler or the ARM ADS depending on which is
> > best and easiest to use,
> > any comments ?
> >
> > Best regards and many thanks for having me in this
> > great group !
> >
> > Lasse Madsen
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >     lpc2000-unsubscribe@yahoogroups.com
> >
> >
> >
> >
> 
> 
> =====
> Taner Mutlu
> Elektronik M|h.
> GLOBAL Bilgisayar ve Kontrol Sistemleri
> taner@g...
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> 
> 
> 
> 
> Yahoo! Groups Links

Re: SV: [lpc2000] My First LPC design...

2004-07-03 by Michael Anburaj

Hi Lasse,

If you are interested in a Free, yet reliable RTOS
check ucos-ii.com & my port for ARM7s/9s is free & is
up in the following link, it also includes BSP for LPC
(RTOS+BSP for LPC takes only 4KB of code space).

http://geocities.com/michaelanburaj/uCOS/index.html

You can run LwIP TCP/IP stack on top of uCOS-II & I
have port for this also at the same link.

As far as tool chains: ADS is by far the BEST (it has
to be). GCC is quiet good... I have done lots of
porting work ADS->GCC & worked on very complex huge
images.. with all the experience I say this. I have
not idea about KEIL or other ARM tools. 

Cheers & Good-luck,
-Mike.

--- jrcmx1234 <jr@...> wrote:
> Greetings,
> 
> CMX offers an RTOS and a TCP/IP stack with PPP, AT
> Modem commands, 
> etc., for the LPC platform.  The software supports
> the ARM, IAR, or 
> KEIL compilers for these processors.  The url is
> www.cmx.com
> 
> Best Regards,
> 
> JR Rodrigues
> CMX Systems, Inc.
> 
> --- In lpc2000@yahoogroups.com, "Lasse Madsen"
> <lm@h...> wrote:
> > Hi Taner.
> > 
> > Thanks for the advice, the modem is already GPRS
> enabled and i was 
> hoping to
> > find an RTOS with a PPP TCP/IP
> > protocol stack ( I have written my own but its not
> at all what I 
> would like
> > it to be ! )
> > 
> > 
> > I was told that there where problems with SD
> CARD's using the 
> hardware SPI
> > port !?!?!?!?
> > What is this all about and did someone find a
> solution ?
> > 
> > Best regards
> > Lasse Madsen
> > 
> > -----Oprindelig meddelelse-----
> > Fra: Taner Mutlu [mailto:tanermutlunun@y...]
> > Sendt: 2. juli 2004 11:34
> > Til: lpc2000@yahoogroups.com
> > Emne: Re: [lpc2000] My First LPC design...
> > 
> > 
> > welcome to ARM world!!
> >   I have made the same project-> GPS -> however I
> > would recommend you to use GPRS modem instead of
> > GSM(of course if u do it for commercial manner).
> > 
> >  I use the KEIL IDE and in KEIL u can select the
> ADS
> > compiler as an option. however I prefer the GNU
> > compiler to ADS compiler.
> > 
> > --- Lasse Madsen <lm@h...> wrote:
> > > Hi all.
> > >
> > > I have been monitoring this group for about half
> a
> > > year now waiting for the
> > > "right" time to start an LPC project, that time
> is
> > > now! I've made a simple
> > > datalogger with an SD card,GPS and GSM modem in
> a
> > > similar design I currently
> > > use with an atmel avr, I would appriciate if
> someone
> > > would take a breif look
> > > at my schematic and see if I have made any
> obvious
> > > mistakes with the LPC and
> > > its bootloader select pin etc.
> > >
> > > Diagram:
> > > http://www.electro-logic.com/diagram.pdf
> > >
> > > At the same time I would like to ask if anyone
> has
> > > worked with the Keil
> > > uVision compiler, as I will probertly be using
> > > this compiler or the ARM ADS depending on which
> is
> > > best and easiest to use,
> > > any comments ?
> > >
> > > Best regards and many thanks for having me in
> this
> > > great group !
> > >
> > > Lasse Madsen
> > >
> > >
> > >
> > > ------------------------ Yahoo! Groups Sponsor
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >     lpc2000-unsubscribe@yahoogroups.com
> > >
> > >
> > >
> > >
> > 
> > 
> > =====
> > Taner Mutlu
> > Elektronik M|h.
> > GLOBAL Bilgisayar ve Kontrol Sistemleri
> > taner@g...
> > 
> > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail
> > 
> > 
> > 
> > 
> > Yahoo! Groups Links
> 
> 




		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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.