Programming LPC2292 through UART

Started by Unnati Shah December 6, 2008
Hi,
I want to know the step by step procedure for programming the LPC2292 chip
through the serial port, UART0.

Please tell me how to do that.
Also suggest which programming software is to be used to download the
program on to the on chip flash.
Unnati Shah

__,_._uuuu

An Engineer's Guide to the LPC2100 Series

Hi,

Try searching "Flash Magic" that is what you need.
And make your ISP pin '0' when the chip starts up from reset state (that
means if you have "Load" and "Reset" buttons on board, press them both and
release the "Reset" first).
The ISP pin usually is EINT0 or EINT1 depend on the series. You can check it
in the datasheet.

Best Regards,
Chutiman

On Sat, Dec 6, 2008 at 7:14 PM, Unnati Shah wrote:

> Hi,
> I want to know the step by step procedure for programming the LPC2292 chip
> through the serial port, UART0.
>
> Please tell me how to do that.
> Also suggest which programming software is to be used to download the
> program on to the on chip flash.
>
> Unnati Shah
>
> __,_._uuuu
>
>
>
>
>

Hi,

Thanks for the help.

I have downloaded a Flash magic version 4.35 which included lpc2292. But i
am using a IDE which generates only .elf files, which i can convert to a
flat binaly format. Now i need to convert this flat binart file to Intel hex
format for it to be loaded in Flash Magic.

I also downloaded the bin2hex converter from the Keil webite, but it doesnt
work.
It says cannot open Binary file.

Can u suggest how do i convert this flat binary to hex and/or suggest a
programming tool for lpc2292 which can accept a binary file??

Unnati Shah.
On Sun, Dec 7, 2008 at 12:23 AM, Chutiman Yongprapat <
c...@thaieasyelec.com> wrote:

> Hi,
>
> Try searching "Flash Magic" that is what you need.
> And make your ISP pin '0' when the chip starts up from reset state (that
> means if you have "Load" and "Reset" buttons on board, press them both and
> release the "Reset" first).
> The ISP pin usually is EINT0 or EINT1 depend on the series. You can check
> it
> in the datasheet.
>
> Best Regards,
> Chutiman
> On Sat, Dec 6, 2008 at 7:14 PM, Unnati Shah >
> wrote:
>
> > Hi,
> > I want to know the step by step procedure for programming the LPC2292
> chip
> > through the serial port, UART0.
> >
> > Please tell me how to do that.
> > Also suggest which programming software is to be used to download the
> > program on to the on chip flash.
> >
> > Unnati Shah
> >
> > __,_._uuuu
> >
> >
> >
> >
> >
>
>
>

Hi,
Which IDE you are using? It may has option like "Create HEX file" that you
didn't select.
Best Regards,
Chutiman

On Mon, Dec 8, 2008 at 11:55 AM, Unnati Shah wrote:

> Hi,
>
> Thanks for the help.
>
> I have downloaded a Flash magic version 4.35 which included lpc2292. But i
> am using a IDE which generates only .elf files, which i can convert to a
> flat binaly format. Now i need to convert this flat binart file to Intel
> hex
> format for it to be loaded in Flash Magic.
>
> I also downloaded the bin2hex converter from the Keil webite, but it doesnt
> work.
> It says cannot open Binary file.
>
> Can u suggest how do i convert this flat binary to hex and/or suggest a
> programming tool for lpc2292 which can accept a binary file??
>
> Unnati Shah.
> On Sun, Dec 7, 2008 at 12:23 AM, Chutiman Yongprapat <
> c...@thaieasyelec.com > wrote:
>
> > Hi,
> >
> > Try searching "Flash Magic" that is what you need.
> > And make your ISP pin '0' when the chip starts up from reset state (that
> > means if you have "Load" and "Reset" buttons on board, press them both
> and
> > release the "Reset" first).
> > The ISP pin usually is EINT0 or EINT1 depend on the series. You can check
> > it
> > in the datasheet.
> >
> > Best Regards,
> > Chutiman
> >
> >
> > On Sat, Dec 6, 2008 at 7:14 PM, Unnati Shah
> >
> > wrote:
> >
> > > Hi,
> > > I want to know the step by step procedure for programming the LPC2292
> > chip
> > > through the serial port, UART0.
> > >
> > > Please tell me how to do that.
> > > Also suggest which programming software is to be used to download the
> > > program on to the on chip flash.
> > >
> > > Unnati Shah
> > >
> > > __,_._uuuu
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>
>

> I have downloaded a Flash magic version 4.35 which included lpc2292. But i
> am using a IDE which generates only .elf files, which i can convert to a
> flat binaly format. Now i need to convert this flat binart file to Intel
> hex
> format for it to be loaded in Flash

IDE do not generate any files, its compiler which generate files.
As the output files are .elf, it must be GCC.
I appears that you are using Keil+GCC.
Dump it.
Use WinARM, It's Free. It will solve all your problem like HEX files,
download to target etc.

Warm Regards,

Mukund Deshmukh,
Beta Computronics Pvt Ltd.
10/1 IT Park, Parsodi,
Nagpur -440022 India.
Web site - http://betacomp.com

Meet us at our Stall No M91 Hall No 18 MZ ,
PLASTINDIA 2009 , Feb 4 -9, 2009,
Pragati Maidan, New Delhi, INDIA
Hi,

I am using the Embest IDE for development of my project.
It doesnt have any options of "Create HEX file".
I have the Embest Flash programmer through which i can download code on
onchip flash using the flat binary format, but it uses the Jtag port for it.

Whereas for my production team, i have to provide a tool for downloading the
code through serial port. And all flash programmers are supporting hex
formats only.
I am searching for elf2hex converters also, but not able to find any.
pls help.

On Mon, Dec 8, 2008 at 10:51 AM, Chutiman Yongprapat <
c...@thaieasyelec.com> wrote:

> Hi,
>
> Which IDE you are using? It may has option like "Create HEX file" that you
> didn't select.
>
> Best Regards,
> Chutiman
> On Mon, Dec 8, 2008 at 11:55 AM, Unnati Shah >
> wrote:
>
> > Hi,
> >
> > Thanks for the help.
> >
> > I have downloaded a Flash magic version 4.35 which included lpc2292. But
> i
> > am using a IDE which generates only .elf files, which i can convert to a
> > flat binaly format. Now i need to convert this flat binart file to Intel
> > hex
> > format for it to be loaded in Flash Magic.
> >
> > I also downloaded the bin2hex converter from the Keil webite, but it
> doesnt
> > work.
> > It says cannot open Binary file.
> >
> > Can u suggest how do i convert this flat binary to hex and/or suggest a
> > programming tool for lpc2292 which can accept a binary file??
> >
> > Unnati Shah.
> >
> >
> > On Sun, Dec 7, 2008 at 12:23 AM, Chutiman Yongprapat <
> > c...@thaieasyelec.com > 40thaieasyelec.com>> wrote:
> >
> > > Hi,
> > >
> > > Try searching "Flash Magic" that is what you need.
> > > And make your ISP pin '0' when the chip starts up from reset state
> (that
> > > means if you have "Load" and "Reset" buttons on board, press them both
> > and
> > > release the "Reset" first).
> > > The ISP pin usually is EINT0 or EINT1 depend on the series. You can
> check
> > > it
> > > in the datasheet.
> > >
> > > Best Regards,
> > > Chutiman
> > >
> > >
> > > On Sat, Dec 6, 2008 at 7:14 PM, Unnati Shah
>
> > >
> > > wrote:
> > >
> > > > Hi,
> > > > I want to know the step by step procedure for programming the LPC2292
> > > chip
> > > > through the serial port, UART0.
> > > >
> > > > Please tell me how to do that.
> > > > Also suggest which programming software is to be used to download the
> > > > program on to the on chip flash.
> > > >
> > > > Unnati Shah
> > > >
> > > > __,_._uuuu
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>
>

> -----Original Message-----
> From: l...
> [mailto:l...]On Behalf
> Of Unnati Shah
> Sent: Sunday, December 07, 2008 10:45 PM
> To: l...
> Subject: Re: [lpc2000] Programming LPC2292 through UART
> Hi,
>
> I am using the Embest IDE for development of my project.
> It doesnt have any options of "Create HEX file".
> I have the Embest Flash programmer through which i can
> download code on
> onchip flash using the flat binary format, but it uses the
> Jtag port for it.
>
> Whereas for my production team, i have to provide a tool for
> downloading the
> code through serial port. And all flash programmers are supporting hex
> formats only.
> I am searching for elf2hex converters also, but not able to find any.
> pls help.
>

WinARM, and probably other GCC variants contain the arm-elf-objcopy
utility that converts .elf files to .hex.

Mike
Check the utility called "fromelf.exe", this utility can
convert elf file to many other formats. I know, Keil/ARM
have this in their IDE.

best,
Tom

--- In l..., "Unnati Shah" wrote:
>
> Hi,
>
> Thanks for the help.
>
> I have downloaded a Flash magic version 4.35 which included lpc2292.
But i
> am using a IDE which generates only .elf files, which i can convert to a
> flat binaly format. Now i need to convert this flat binart file to
Intel hex
> format for it to be loaded in Flash Magic.
>
> I also downloaded the bin2hex converter from the Keil webite, but it
doesnt
> work.
> It says cannot open Binary file.
>
> Can u suggest how do i convert this flat binary to hex and/or suggest a
> programming tool for lpc2292 which can accept a binary file??
>
> Unnati Shah.
> On Sun, Dec 7, 2008 at 12:23 AM, Chutiman Yongprapat <
> chutiman@...> wrote:
>
> > Hi,
> >
> > Try searching "Flash Magic" that is what you need.
> > And make your ISP pin '0' when the chip starts up from reset state
(that
> > means if you have "Load" and "Reset" buttons on board, press them
both and
> > release the "Reset" first).
> > The ISP pin usually is EINT0 or EINT1 depend on the series. You
can check
> > it
> > in the datasheet.
> >
> > Best Regards,
> > Chutiman
> >
> >
> > On Sat, Dec 6, 2008 at 7:14 PM, Unnati Shah
>
> > wrote:
> >
> > > Hi,
> > > I want to know the step by step procedure for programming the
LPC2292
> > chip
> > > through the serial port, UART0.
> > >
> > > Please tell me how to do that.
> > > Also suggest which programming software is to be used to
download the
> > > program on to the on chip flash.
> > >
> > > Unnati Shah
> > >
> > > __,_._uuuu
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>