EmbeddedRelated.com
Forums

firmware upgrade using I2C only

Started by niri...@gmail.com May 26, 2009
Hi,
I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c.

Can it be done? Should I use the IAR-EW “intel-extended” output?
If so, can anyone please tell me if there are any specific settings I should take care of, and which address should I start programming from?

Thank you.

An Engineer's Guide to the LPC2100 Series

--- In l..., nirintel@... wrote:
>
> Hi,
> I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c.

When you say, "to a new firmware", do you mean that this lpc chip was already programmed by another means (i.e. jtag) and you wish to update the current firmware to a new firmware ?

When you say "by using only the i2c", do you mean that the lpc is a master (i.e. program received from an external I2C memory) or do you mean that the lpc is a slave, to be programmed by an external I2C master device ?

or do you mean a blank lpc to be programmed by an external I2C master device ?

don

--- In l..., nirintel@... wrote:
>
> Hi,
> I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c.
>
> Can it be done? Should I use the IAR-EW “intel-extended” output?
> If so, can anyone please tell me if there are any specific settings I should take care of, and which address should I start programming from?
>
> Thank you.
>

Sure, it can be done. But you would have to write the code to do it using the IAP (in application) functions provided by the boot loader.

TC

Hi,
>I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c.
>
>Can it be done? Should I use the IAR-EW “intel-extended” output?
>If so, can anyone please tell me if there are any specific settings I should take care of, and which address should I start programming from?
>
>Thank you.
>
>

you will be needing to write a boot loader for it and a mechanism to jump to that boot loader without manually restart.

In that boot loader write I2C code with IAP code for the controller
hi sourab

i am raju nalla ,u r cdac mate,how r u?

On Tue, Jun 9, 2009 at 4:24 PM, wrote:

> Hi,
> >I would like to program the lpc2138 flash (on board) to a new firmware by
> using only the i2c.
> >
> >Can it be done? Should I use the IAR-EW intel-extended output?
> >If so, can anyone please tell me if there are any specific settings I
> should take care of, and which address should I start programming from?
> >
> >Thank you.
> >
> >
> >
> > you will be needing to write a boot loader for it and a mechanism to jump
> to that boot loader without manually restart.
>
> In that boot loader write I2C code with IAP code for the controller
>