> 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, >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
Reply by tcirobot●May 27, 20092009-05-27
--- 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
Reply by donhamilton2002●May 26, 20092009-05-26
--- 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
Reply by niri...@gmail.com●May 26, 20092009-05-26
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?