Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | LPC2888 DFU-Flash Question

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

LPC2888 DFU-Flash Question - thonguyen02 - Jun 5 20:42:58 2008

I use Keil and got the Keil's USB mass storage running.
I flash the code through Ulink Jtag and now I want to update the
software through the usb. NXP has DFU-Flash tool to download the
software to flash through usb.
So does anyone know how I can do like that without using DFU-Flash?

I know that I should erase the flash marker 0xAA55AA55 at 0x104FF800
to make the device work as nxp usb, and I need to write a driver as
DFU-Flash to download file, but I don't know how to begin.

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: LPC2888 DFU-Flash Question - thonguyen02 - Jun 5 20:52:54 2008

I want to do is:
my software has a version number, so I will write a command through
usb endpoint to check that number. If it's older than my new one, then
I will erase the flash marker 0xAA55AA55 then begin download the new
version software and reset.
------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: LPC2888 DFU-Flash Question - Michael Anton - Jun 5 21:31:31 2008



> -----Original Message-----
> From: l...@yahoogroups.com
> [mailto:l...@yahoogroups.com]On Behalf
> Of thonguyen02
> Sent: Thursday, June 05, 2008 6:43 PM
> To: l...@yahoogroups.com
> Subject: [lpc2000] LPC2888 DFU-Flash Question
> I use Keil and got the Keil's USB mass storage running.
> I flash the code through Ulink Jtag and now I want to update the
> software through the usb. NXP has DFU-Flash tool to download the
> software to flash through usb.
> So does anyone know how I can do like that without using DFU-Flash?
>
> I know that I should erase the flash marker 0xAA55AA55 at 0x104FF800
> to make the device work as nxp usb, and I need to write a driver as
> DFU-Flash to download file, but I don't know how to begin.
>
This might be a starting point for you:
http://www.tnkernel.com/usb_fw_upgrader.html
It's for the LPC214x series, but it might give you some hints.

Mike

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2888 DFU-Flash Question - thonguyen02 - Jul 25 18:38:12 2008

I found a DFU-Flash tool work on linux as the same way of NXP
DFU-Flash on window at http://wiki.openmoko.org/wiki/Dfu-util
just set the transfer size at 2048 and it will download to flash.

--- In l...@yahoogroups.com, "Michael Anton" wrote:
>
> > -----Original Message-----
> > From: l...@yahoogroups.com
> > [mailto:l...@yahoogroups.com]On Behalf
> > Of thonguyen02
> > Sent: Thursday, June 05, 2008 6:43 PM
> > To: l...@yahoogroups.com
> > Subject: [lpc2000] LPC2888 DFU-Flash Question
> >
> >
> > I use Keil and got the Keil's USB mass storage running.
> > I flash the code through Ulink Jtag and now I want to update the
> > software through the usb. NXP has DFU-Flash tool to download the
> > software to flash through usb.
> > So does anyone know how I can do like that without using DFU-Flash?
> >
> > I know that I should erase the flash marker 0xAA55AA55 at 0x104FF800
> > to make the device work as nxp usb, and I need to write a driver as
> > DFU-Flash to download file, but I don't know how to begin.
> >
> This might be a starting point for you:
> http://www.tnkernel.com/usb_fw_upgrader.html
> It's for the LPC214x series, but it might give you some hints.
>
> Mike
>

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )