Author Topic: USB Bootloader for LPC2148  (Read 15815 times)

Medic

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
USB Bootloader for LPC2148
« 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.

Rons

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: USB Bootloader for LPC2148
« Reply #1 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: USB Bootloader for LPC2148
« Reply #2 on: February 16, 2006, 09:34:15 am »
Flash Magic doesn't know about anything other than RS232 communications.

Embedded Systems Academy, Inc.
support at esacademy dot com

Rons

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: USB Bootloader for LPC2148
« Reply #3 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.

Medic

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: USB Bootloader for LPC2148
« Reply #4 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.

Je Gold

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: USB Bootloader for LPC2148
« Reply #5 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: USB Bootloader for LPC2148
« Reply #6 on: February 18, 2006, 08:51:09 am »
Perhaps. ;)

Embedded Systems Academy, Inc.
support at esacademy dot com

Rons

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: USB Bootloader for LPC2148
« Reply #7 on: February 24, 2006, 08:57:54 am »
Medic,
  What does "HHC" stand for?