LPC3131 DFU mode not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC3131 DFU mode not working

1,231 Views
KM_1688
Contributor I

After set GP0-3, the devce enter DFU mode(got a usb device, vid/pid = 0471/df55)

With 'dfu-util -D /path/to/rom' command, it works fine but not as expected.

As states in user manual Fig18 USB DFU boot mode, if a valid image it received, it will disconnect USB and run the code(no toggle is observed on GPIO2, so I assume it is valid).

But my code seems not running.

With argument -R for dfu-util still not working, and output shows it can't detach(The Device Firmware Update Functioal Descriptor shows CanDowload only in bmAttribute, so it is as expected)

With arguement -a 0 or 1 for dfu-util also not working, and I do not understand the meaning(DFU-UTIL (sourceforge.net))

The code is generated with 'lpc313xImgCreator -pd' which has no prblem

How can I program flash or run code directly on RAM in DFU mode?

0 Kudos
Reply
3 Replies

1,198 Views
KM_1688
Contributor I

Yes, work with normal mode.

0 Kudos
Reply

1,182 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Can you read the flash, compare value with your image.

0 Kudos
Reply

1,202 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Have you test your image without DFU mode, just download it with normal mode, does it can work well?

 

BR

Alice

0 Kudos
Reply