Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: Medic on February 16, 2006, 06:19:26 am

Title: USB Bootloader for LPC2148
Post by: Medic on February 16, 2006, 06:19:26 am
Hi Guys,

Anyone know of any sources of information on having some code that can reflash LPC2148 using USB?

I figure some USB code sits in flash and acts as a gateway for firmware updates. Thought I'd ask before recreating the wheel.

Regards,

Mark.
Title: Re: USB Bootloader for LPC2148
Post by: Rons on February 16, 2006, 09:24:59 am
Mark,
         Talk about timing. I am about to start using this same device. I was
going to use Linux and go that route. When I first started out I used
FlashMagic. I'm not sure yet about whether their ISP firmware support
for USB. But I will find out. I probably will be ordering devices today. I
found a good source for emulation sockets too. Other people I talked to
would have a minimum quantity of 10, but not my latest source. They
accepted an order for 1 socket.

Ron
Title: Re: USB Bootloader for LPC2148
Post by: Andy Ayre on February 16, 2006, 09:34:15 am
Flash Magic doesn't know about anything other than RS232 communications.

Title: Re: USB Bootloader for LPC2148
Post by: Rons on February 16, 2006, 10:06:27 am
Andy,
   I suspected that Mark might be talking about the flash utility that
   Philips provide, a program called "LPC210_ISP.exe". Although I
   just looked at the data sheet for his device. They upped the baud
   rate to 230k for serial ISP. But I see no mention for USB support.
Title: Re: USB Bootloader for LPC2148
Post by: Medic on February 17, 2006, 10:26:35 am
I know that FlashMagic only works over serial comms.

Apparrently HCC are on the verge of releasing a USB boot loader for the LPC2148 chip so it can be done.

Just thought someone might have tried writing a small code stub that uses the IAP functionality to pass updates from USB into the LPC flash.

Thanks anyway.
Title: Re: USB Bootloader for LPC2148
Post by: Je Gold on February 18, 2006, 01:59:09 am
Hi ,

The LPC2148 and other LPC2000 32bit flash ARM7TDMI-S micros come with a default UART serail boot loader (not USB).

So either Philips would have to pre-load a USB boot loader - for default production  OR a bootloader would have to be written and downloaded serially or via JTAG to each LPC2148 purchased.

Some LPC2000 designs have already written a Bootloader that can load / run your code from a flash mem card (interesting).


There is a good forum on the Philips LPC2000 series (including the LPC2148)
at http://groups.yahoo.com/group/lpc2000/


The Flashmagic programming interface is getting quite mature and supported by Philips..... Perhaps a version of Flashmagic can support the LPC2000 series with a little prompting from Philips in the future ;-).

Regards
Joe
Title: Re: USB Bootloader for LPC2148
Post by: Andy Ayre on February 18, 2006, 08:51:09 am
Perhaps. ;)

Title: Re: USB Bootloader for LPC2148
Post by: Rons on February 24, 2006, 08:57:54 am
Medic,
  What does "HHC" stand for?