Yahoo Groups archive

Lpc2000

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

Thread

In progress: IAP from external miniSD card and/or USB

In progress: IAP from external miniSD card and/or USB

2005-02-04 by smt5211

Hi,

Does anyone have sample source code for a bootloader, for the LPC2106?
We wish to upgrade an application. We can't use RS232, so we have to
write our own.

We are doing IAP from an external miniSD flash memory card. Later on,
we are going to do IAP via USB, with a cache in internal or external
memory to preserve the applications integrity, even if power is lost
during a bootload.

I have already written a number of bootloaders, for the Microchip
PIC16F87x, PIC18Fx52, and Atmel ATmega8/32/64/128, but dont want to
reinvent the wheel.

Best regards,
Shane (BEng. Elec. Hons.)

Re: In progress: IAP from external miniSD card and/or USB

2005-02-04 by dsidlauskas1

Shane,

I contacted Philips recently regarding the code for their boot loader
and was told that it was proprietary and would not be made public. I
can't imagine why that is because it would be a real help to some of us.

Would it be possible to get code for your your miniSD driver? That
would make a great contribution to this groups file section.

Best Regards,

Dave Sidlauskas


--- In lpc2000@yahoogroups.com, "smt5211" <from-yahoo@d...> wrote:
Show quoted textHide quoted text
> 
> Hi,
> 
> Does anyone have sample source code for a bootloader, for the LPC2106?
> We wish to upgrade an application. We can't use RS232, so we have to
> write our own.
> 
> We are doing IAP from an external miniSD flash memory card. Later on,
> we are going to do IAP via USB, with a cache in internal or external
> memory to preserve the applications integrity, even if power is lost
> during a bootload.
> 
> I have already written a number of bootloaders, for the Microchip
> PIC16F87x, PIC18Fx52, and Atmel ATmega8/32/64/128, but dont want to
> reinvent the wheel.
> 
> Best regards,
> Shane (BEng. Elec. Hons.)

Re: In progress: IAP from external miniSD card and/or USB

2005-02-04 by Gus

Hi,

We have made a nice boot loader for LPC chips. It also supports 
encryption and it loads the binary file directly from the card. The 
file is saved as FAT file using any PC.

Check it out (read the boot loader section in the manual)

http://www.ghielectronics.com/ALFAT.htm

Thanks,

Gus

--- In lpc2000@yahoogroups.com, "smt5211" <from-yahoo@d...> wrote:
> 
> Hi,
> 
> Does anyone have sample source code for a bootloader, for the 
LPC2106?
> We wish to upgrade an application. We can't use RS232, so we have 
to
> write our own.
> 
> We are doing IAP from an external miniSD flash memory card. Later 
on,
> we are going to do IAP via USB, with a cache in internal or 
external
> memory to preserve the applications integrity, even if power is 
lost
Show quoted textHide quoted text
> during a bootload.
> 
> I have already written a number of bootloaders, for the Microchip
> PIC16F87x, PIC18Fx52, and Atmel ATmega8/32/64/128, but dont want to
> reinvent the wheel.
> 
> Best regards,
> Shane (BEng. Elec. Hons.)

Re: In progress: IAP from external miniSD card and/or USB

2005-02-05 by smt5211

Hi,

We are currently about 3 weeks away from releasing our own open-source
miniSD based flash bootloader for the LPC210x. We'll upload this into
the files section of this group. I can't make any firm promises, as we
may yet decide to licence a 3rd party bootloader instead of releasing
our own open source one. We dont want to reinvent the wheel.

As an aside, the Ashling tools provides the C source code for a
LPC21xx based RAM bootloader via JTAG. There is also an open source
miniSD driver with FAT16 support at
http://www.egr.msu.edu/classes/ece480/goodman/fall/group05/work/index.html
, and open source FAT12/16/32 support in eCos (www.ecoscentric.com).

Shane.

--- In lpc2000@yahoogroups.com, "dsidlauskas1" <dsidlauskas@w...> wrote:
Show quoted textHide quoted text
> 
> Shane,
> 
> I contacted Philips recently regarding the code for their boot loader
> and was told that it was proprietary and would not be made public. I
> can't imagine why that is because it would be a real help to some of us.
> 
> Would it be possible to get code for your your miniSD driver? That
> would make a great contribution to this groups file section.
> 
> Best Regards,
> 
> Dave Sidlauskas
> 
> 
> --- In lpc2000@yahoogroups.com, "smt5211" <from-yahoo@d...> wrote:
> > 
> > Hi,
> > 
> > Does anyone have sample source code for a bootloader, for the LPC2106?
> > We wish to upgrade an application. We can't use RS232, so we have to
> > write our own.
> > 
> > We are doing IAP from an external miniSD flash memory card. Later on,
> > we are going to do IAP via USB, with a cache in internal or external
> > memory to preserve the applications integrity, even if power is lost
> > during a bootload.
> > 
> > I have already written a number of bootloaders, for the Microchip
> > PIC16F87x, PIC18Fx52, and Atmel ATmega8/32/64/128, but dont want to
> > reinvent the wheel.
> > 
> > Best regards,
> > Shane (BEng. Elec. Hons.)

Re: In progress: IAP from external miniSD card and/or USB

2005-02-05 by acetoel

Great! It's a very nice idea... I'd love to see that code, and try to
port it to Atmel Dataflash... They are cheaper than a miniSD, a
2MBytes version is enought to archive several codes, and then select
which one you want to program, it's fast...
Congratulations... great project!
Kimi

--- In lpc2000@yahoogroups.com, "smt5211" <from-yahoo@d...> wrote:
> 
> Hi,
> 
> We are currently about 3 weeks away from releasing our own open-source
> miniSD based flash bootloader for the LPC210x. We'll upload this into
> the files section of this group. I can't make any firm promises, as we
> may yet decide to licence a 3rd party bootloader instead of releasing
> our own open source one. We dont want to reinvent the wheel.
> 
> As an aside, the Ashling tools provides the C source code for a
> LPC21xx based RAM bootloader via JTAG. There is also an open source
> miniSD driver with FAT16 support at
>
http://www.egr.msu.edu/classes/ece480/goodman/fall/group05/work/index.html
> , and open source FAT12/16/32 support in eCos (www.ecoscentric.com).
> 
> Shane.
> 
> --- In lpc2000@yahoogroups.com, "dsidlauskas1" <dsidlauskas@w...> wrote:
> > 
> > Shane,
> > 
> > I contacted Philips recently regarding the code for their boot loader
> > and was told that it was proprietary and would not be made public. I
> > can't imagine why that is because it would be a real help to some
of us.
> > 
> > Would it be possible to get code for your your miniSD driver? That
> > would make a great contribution to this groups file section.
> > 
> > Best Regards,
> > 
> > Dave Sidlauskas
> > 
> > 
> > --- In lpc2000@yahoogroups.com, "smt5211" <from-yahoo@d...> wrote:
> > > 
> > > Hi,
> > > 
> > > Does anyone have sample source code for a bootloader, for the
LPC2106?
> > > We wish to upgrade an application. We can't use RS232, so we have to
> > > write our own.
> > > 
> > > We are doing IAP from an external miniSD flash memory card.
Later on,
Show quoted textHide quoted text
> > > we are going to do IAP via USB, with a cache in internal or external
> > > memory to preserve the applications integrity, even if power is lost
> > > during a bootload.
> > > 
> > > I have already written a number of bootloaders, for the Microchip
> > > PIC16F87x, PIC18Fx52, and Atmel ATmega8/32/64/128, but dont want to
> > > reinvent the wheel.
> > > 
> > > Best regards,
> > > Shane (BEng. Elec. Hons.)

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.