[solved] LPCXpresso Bootloader Problem

Hi *

Got a problem with installing the MIOS32 Bootloader.

I’m not sure if there is a USB problem.

I changed the USB cable. No difference.

I changed the XP Workstation - same result.

Found this:

http://support.code-red-tech.com/CodeRedWiki/LPCLinkDiagnostics

Here is the dfuapp.log output:

*****************************************************

***DFU LOG FILE***

 Creation Time : dfuapp.log

*****************************************************



Open Device

Get Device Descriptor successful

Get Configuration Descriptor successful

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is operating in the DFU mode and is waiting for requests.


 Device Descriptor 

bLength: 0x12 

bDescriptorType: 0x01 

bcdUSB: 0x0200 

bDeviceClass: 0x00 

bDeviceSubClass: 0x00 

bDeviceProtocol: 0x00 

bMaxPacketSize0: 0x40 

idVendor: 0x0471 

idProduct: 0xdf55 

bcdDevice: 0x0001 

iManufacturer: 0x00 

iProduct: 0x00 

iSerialNumber: 0x00 

bNumConfigurations: 0x01 




DFU Get State successful

---> DFUState: Device is operating in the DFU mode and is waiting for requests.

Download Block Nb 0 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 1 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 2 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 3 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 4 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 5 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 6 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 7 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 8 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 9 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 10 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 11 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 12 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 13 (2048 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 14 (1544 Bytes)

DFU Get State successful

---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.

Download Block Nb 15 (0 Bytes)

DFU Get State successful

---> DFUState: Device has received the final block of firmware from the host and is waiting for receipt of DFU_GETSTATUS to begin the Manifestation phase; or device has completed the Manifestation phase and is waiting for receipt of DFU_GETSTATUS. (Devices that can enter this state after the Manifestation phase set bmAttributes bit bitManifestationTolerant to 1.)

DFU Get Status successful

---> DFUStatus: No error condition present.

---> DFUState: Device has programmed its memories and is waiting for a USB reset or a power on reset. (Devices that must enter this state clear bitManifestationTolerant to 0.)

Device Reset after Download successful


 ***END OF FILE***

Any Ideas?

  • Contemplating Lemonhorse

Annotation: LED2 is always blinking - and it’s my first LPCXpresso :wink:

Are you using the lpc expresso software from the guys that make the chip?

cheers

Paul

I do use LPCXpresso 4.2.3.201205301041 (Code Red Technologies)

Did you already plug the LPCXPRESSO into the MBHP_CORE_LPC17 module?

This isn’t required and can cause such issues if you don’t follow my guide 100%

Most simple way: unplug the module, it will (resp. should) be powered via the LPC-Link USB port anyhow during programming.

Best Regards, Thorsten.

Did you already plug the LPCXPRESSO into the MBHP_CORE_LPC17 module?

Ahoi TK!

No, I only used the plain LCPXpresso board and followed Your guide [installing the MIOS32 Bootloader @ http://ucapps.de/mbhp_core_lpc17.html ].

Very strange… do you have access to another computer?

Best Regards, Thorsten.

do you have access to another computer?

Yes, will try it on another Computer.

If it fails again, I will send the LPCXpresso board to someone who was already successful.

So I can exclude HW problems. I will post the results here.

Solved the Problem.

Solution:

VMware Player (4.0.4), Suse Linux 12.1 (32bit, with KDE) and LPCXpresso v4.2.3

It worked on the same (!) Host Computer (XP SP3 32bit).

:slight_smile:

Now the LPCXpresso LED2 is blinking 3 times (the last state = on).