EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Tutorial for beginner

Started by ferrara2020 October 12, 2012
Hi All,

I have an ARM7 model LPC2368.

I have installed Keil uVision4 with gcc compiler.

I need tutorial or book for start to programming.

Moreover, I have a short question: Exist a linux embedded version for this processor??

Thanks in advance for replay.

Cris

An Engineer's Guide to the LPC2100 Series

Hi,

http://www.embedded.com/design/mcus-processors-and-socs/4007119/Building-Bare-Metal-ARM-Systems-with-GNU-Part-1--Getting-Started

http://www.bravegnu.org/gnu-eprog/index.html

Regards,
Kuba

2012/10/12 ferrara2020

> **
> Hi All,
>
> I have an ARM7 model LPC2368.
>
> I have installed Keil uVision4 with gcc compiler.
>
> I need tutorial or book for start to programming.
>
> Moreover, I have a short question: Exist a linux embedded version for this
> processor??
>
> Thanks in advance for replay.
>
> Cris
>
>
>


On 12/10/2012 10:09, ferrara2020 wrote:
>
>
> Hi All,
>
> I have an ARM7 model LPC2368.
>
> I have installed Keil uVision4 with gcc compiler.
>
> I need tutorial or book for start to programming.
>
> Moreover, I have a short question: Exist a linux embedded version for
> this processor??
>
> Thanks in advance for replay.
>

Your question is too open to be able to answer. For example:

Are you looking for instruction on writing C code?
Are you looking for instruction on the Keil tools?
Are you looking for instruction on interfacing the peripherals?
Etc.

In all cases, Google and some books will help you.

With regards to Linux. No, Linux will not run on the microcontroller.
Linux requires an MMU, which is not present, and lots and lots of RAM.
Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for microcontrollers. More than 7000 downloads per month.

+ http://www.FreeRTOS.org/trace
15 interconnected trace views. An indispensable productivity tool.


> Etc.
>
> In all cases, Google and some books will help you.
>
> With regards to Linux. No, Linux will not run on the microcontroller.
> Linux requires an MMU, which is not present, and lots and lots of RAM.
> Regards,
> Richard.
>


Not quite true, unless you use ucLinux.

But far more important is the memory requirements for GNU/Linux : which
is way out of reach for the LPC2368. Unless you have a very smart way to
cram everything inside the LPC2368 ...

Br,

Armand

Thanks for replay.

I want develop a C application that:
1) read CAN Bus msg
2) log CAN msg
3) read GPS position
4) send CANMsg and GPS position via GPRS (TCP socket connection)
5) receive command to send over CANBus
6) blinking led

Now I am a board with an example,but I am need to understood how to start to configuring correctly HW/Peripherals,using Keil instruction if it is possible.

I hope is clear my explanation.

Thanks,
Cris

--- In l..., FreeRTOS Info wrote:
> On 12/10/2012 10:09, ferrara2020 wrote:
> >
> >
> > Hi All,
> >
> > I have an ARM7 model LPC2368.
> >
> > I have installed Keil uVision4 with gcc compiler.
> >
> > I need tutorial or book for start to programming.
> >
> > Moreover, I have a short question: Exist a linux embedded version for
> > this processor??
> >
> > Thanks in advance for replay.
> > Your question is too open to be able to answer. For example:
>
> Are you looking for instruction on writing C code?
> Are you looking for instruction on the Keil tools?
> Are you looking for instruction on interfacing the peripherals?
> Etc.
>
> In all cases, Google and some books will help you.
>
> With regards to Linux. No, Linux will not run on the microcontroller.
> Linux requires an MMU, which is not present, and lots and lots of RAM.
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> Designed for microcontrollers. More than 7000 downloads per month.
>
> + http://www.FreeRTOS.org/trace
> 15 interconnected trace views. An indispensable productivity tool.
>

Ok, I thake into account this HW features for the future.

Now start to programming FW and understood HW settings.

Thanks,
Cris

--- In l..., wrote:
>
>
> > Etc.
> >
> > In all cases, Google and some books will help you.
> >
> > With regards to Linux. No, Linux will not run on the microcontroller.
> > Linux requires an MMU, which is not present, and lots and lots of RAM.
> >
> >
> > Regards,
> > Richard.
> >
> Not quite true, unless you use ucLinux.
>
> But far more important is the memory requirements for GNU/Linux : which
> is way out of reach for the LPC2368. Unless you have a very smart way to
> cram everything inside the LPC2368 ...
>
> Br,
>
> Armand
>

It seems good tutorial, but unfortunately some link not work (I refear to C/c++ tutorial). Now I try to navigate into site for find some articles.

Thanks,
cris

--- In l..., Kuba Dorzak wrote:
>
> Hi,
>
> http://www.embedded.com/design/mcus-processors-and-socs/4007119/Building-Bare-Metal-ARM-Systems-with-GNU-Part-1--Getting-Started
>
> http://www.bravegnu.org/gnu-eprog/index.html
>
> Regards,
> Kuba
>
> 2012/10/12 ferrara2020 > **
> >
> >
> > Hi All,
> >
> > I have an ARM7 model LPC2368.
> >
> > I have installed Keil uVision4 with gcc compiler.
> >
> > I need tutorial or book for start to programming.
> >
> > Moreover, I have a short question: Exist a linux embedded version for this
> > processor??
> >
> > Thanks in advance for replay.
> >
> > Cris
> >
> >
> >
>
>

Il 12/10/2012 11:09, ferrara2020 ha scritto:
>
>
> Hi All,
>
> I have an ARM7 model LPC2368.
>
Do you have just the microcontroller or a development board?
> I have installed Keil uVision4 with gcc compiler.
>
> I need tutorial or book for start to programming.
>
What do you need C/C++ training? Embedded programming training? Embedded
design training? LPC23xx training?
Just to start you should visit and meet some experts and NXP engineers
at www.lpcware.com that is supported by NXP/USA engineers and you will
find a lot of updated documentation, examples, reference and ready to
use libraries and pieces of code.
You should say what means "beginner" in your contest, are you a student
or an engineer working for a company? (I and the group will help you in
both cases it is only to understand how we can help you better).
> Moreover, I have a short question: Exist a linux embedded version for
> this processor??
>
You should find a uCLinux version or you should port it to LPC2368. I
know there is a port for LPC24xx family and the web page is:
http://www.lpclinux.com/LPC2000/WebHome
> Thanks in advance for replay.
>
I read also the next posts from you and I honestly think that there is
no need to use Linux or ucLinux for your application that is very
simple; you should start with a simple round robin loop but if your
requirements are that you must use a RTOS I should use FreeRTOS that is
very well supported and more simple to implement.
> Cris
>
I suppose you should be Italian anyway the official group language is
English, if you need some support in Italian you should write me privately.
Regards,
Massimo
>



Il 12/10/2012 11:09, ferrara2020 ha scritto:
>
>
> Hi All,
>
> I have an ARM7 model LPC2368.
>
Do you have just the microcontroller or a development board?
> I have installed Keil uVision4 with gcc compiler.
>
> I need tutorial or book for start to programming.
>
What do you need C/C++ training? Embedded programming training? Embedded
design training? LPC23xx training?
Just to start you should visit and meet some experts and NXP engineers
at www.lpcware.com that is supported by NXP/USA engineers and you will
find a lot of updated documentation, examples, reference and ready to
use libraries and pieces of code.
You should say what means "beginner" in your contest, are you a student
or an engineer working for a company? (I and the group will he
> Moreover, I have a short question: Exist a linux embedded version for
> this processor??
>
You should find a uCLinux version or you should port it to LPC2368. I
know there is a port for LPC24xx family and the web page is:
http://www.lpclinux.com/LPC2000/WebHome
> Thanks in advance for replay.
>
I read also the next posts from you and I honestly think that there is
no need to use Linux or ucLinux for your application that is very
simple; you should start with a simple round robin loop but if your
requirements are that you must use a RTOS I should use FreeRTOS that is
very well supported and more simple to implement.
> Cris
>
I suppose you should be Italian anyway the official group language is
English, if you need some support in Italian you should write me privately.
Regards,
Massimo
>



Configuring the peripherals is a real challenge for a beginner.
Why not begin with a Mbed? A lot of support is available.
Robert
On 10/12/2012 12:14 PM, ferrara2020 wrote:
>
> Thanks for replay.
>
> I want develop a C application that:
> 1) read CAN Bus msg
> 2) log CAN msg
> 3) read GPS position
> 4) send CANMsg and GPS position via GPRS (TCP socket connection)
> 5) receive command to send over CANBus
> 6) blinking led
>
> Now I am a board with an example,but I am need to understood how to
> start to configuring correctly HW/Peripherals,using Keil instruction
> if it is possible.
>
> I hope is clear my explanation.
>
> Thanks,
> Cris
>
> --- In l... ,
> FreeRTOS Info wrote:
> >
> >
> > On 12/10/2012 10:09, ferrara2020 wrote:
> > >
> > >
> > > Hi All,
> > >
> > > I have an ARM7 model LPC2368.
> > >
> > > I have installed Keil uVision4 with gcc compiler.
> > >
> > > I need tutorial or book for start to programming.
> > >
> > > Moreover, I have a short question: Exist a linux embedded version for
> > > this processor??
> > >
> > > Thanks in advance for replay.
> > >
> >
> > Your question is too open to be able to answer. For example:
> >
> > Are you looking for instruction on writing C code?
> > Are you looking for instruction on the Keil tools?
> > Are you looking for instruction on interfacing the peripherals?
> > Etc.
> >
> > In all cases, Google and some books will help you.
> >
> > With regards to Linux. No, Linux will not run on the microcontroller.
> > Linux requires an MMU, which is not present, and lots and lots of RAM.
> >
> >
> > Regards,
> > Richard.
> >
> > + http://www.FreeRTOS.org
> > Designed for microcontrollers. More than 7000 downloads per month.
> >
> > + http://www.FreeRTOS.org/trace
> > 15 interconnected trace views. An indispensable productivity tool.
> >




Memfault Beyond the Launch