Jump to content


Photo
- - - - -

[solved] LPCXpresso Bootloader Problem


  • Please log in to reply
8 replies to this topic

#1 lemonhorse

lemonhorse

    MIDIbox Tweaker

  • Programmer
  • PipPipPip
  • 302 posts
  • LocationKiel (Northern Germany)

Posted 17 July 2012 - 20:08

Hi *

Got a problem with installing the MIOS32 Bootloader.

Posted Image

Posted Image

Posted Image

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-...LinkDiagnostics

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 ;-)

Edited by lemonhorse, 23 July 2012 - 12:50.


#2 taximan

taximan

    MIDIbox Addict

  • Members
  • PipPip
  • 196 posts
  • LocationSheffield UK

Posted 18 July 2012 - 17:37

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

cheers
Paul

#3 lemonhorse

lemonhorse

    MIDIbox Tweaker

  • Programmer
  • PipPipPip
  • 302 posts
  • LocationKiel (Northern Germany)

Posted 18 July 2012 - 20:33

I do use LPCXpresso 4.2.3.201205301041 (Code Red Technologies)

#4 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,439 posts
  • LocationGermany

Posted 18 July 2012 - 21:12

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.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#5 lemonhorse

lemonhorse

    MIDIbox Tweaker

  • Programmer
  • PipPipPip
  • 302 posts
  • LocationKiel (Northern Germany)

Posted 19 July 2012 - 07:45

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 ].

Edited by lemonhorse, 19 July 2012 - 07:49.


#6 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,439 posts
  • LocationGermany

Posted 22 July 2012 - 18:48

Very strange... do you have access to another computer?

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#7 lemonhorse

lemonhorse

    MIDIbox Tweaker

  • Programmer
  • PipPipPip
  • 302 posts
  • LocationKiel (Northern Germany)

Posted 22 July 2012 - 19:26

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.

#8 lemonhorse

lemonhorse

    MIDIbox Tweaker

  • Programmer
  • PipPipPip
  • 302 posts
  • LocationKiel (Northern Germany)

Posted 23 July 2012 - 12:28

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).

:)

#9 lemonhorse

lemonhorse

    MIDIbox Tweaker

  • Programmer
  • PipPipPip
  • 302 posts
  • LocationKiel (Northern Germany)

Posted 23 July 2012 - 12:45

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

Edited by lemonhorse, 23 July 2012 - 12:47.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users