imxrt1064 DFU examples - do they work?

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

imxrt1064 DFU examples - do they work?

Jump to solution
2,598 Views
tamir_michael
Contributor IV

Hello,

I have tried all the DFU samples for imxrt1064 (evkmimxrt1064_dev_dfu....bm, freertos) but the MCU does not provide its memory layout to the host - at least, that is what dfu-util reports:

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2019 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1fc9:00a1
Run-time device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0101
Device returned transfer size 512
dfu-util: Could not read name, sscanf returned 0
dfu-util: Failed to parse memory layout

But the DFU device is indeed detected:

Found DFU: [1fc9:00a1] ver=0101, devnum=16, cfg=1, intf=0, path="1-4", alt=0, name="DFU DEVICE", serial="UNKNOWN"

by "dfu-util -l".

Any comment will be greatly appreciated!

Labels (1)
Tags (2)
0 Kudos
1 Solution
2,393 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I use dfu-util-0.9-win64.zip. Can you try it?

regards,

Jing

View solution in original post

0 Kudos
8 Replies
2,393 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi Tamir,

I tested this example on myRT1064-evb board. It works find.

pastedImage_1.png

Did you change anything in example source code?

Regards,

Jing

0 Kudos
2,393 Views
tamir_michael
Contributor IV

Hi and thanks for your reply,

Absolutely not. I use SDK v2.6.1 - maybe that's related to what's happening...?

I do use a more recent version of dfu-util, though (see above).

0 Kudos
2,393 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

The most update version is 2.7.  You can take a try. But all the example has bee testes well. I thinks that's may not the problem.

There is many other USB example. You can try other example to see if there is other problem on board.

Regards,

Jing

0 Kudos
2,393 Views
tamir_michael
Contributor IV

When I execute "dfu-util --version", I see:

dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2019 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Could you update your tool and test again?

I cannot update my SDK - see this thread...

https://community.nxp.com/message/1255484?commentID=1255484&et=watches.email.thread#comment-1255484

0 Kudos
2,393 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I checked SDK2.6. It also can work. Are you sure there is no hardware problem?

Regards,

Jing

0 Kudos
2,393 Views
tamir_michael
Contributor IV

Absolutely. I was wondering if it still works with the latest dfu-utils...

0 Kudos
2,394 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I use dfu-util-0.9-win64.zip. Can you try it?

regards,

Jing

0 Kudos
2,393 Views
tamir_michael
Contributor IV

Hi,

I don't know what happened, but it seems to work now. Maybe I changed something unwittingly...

sudo dfu-util -d 1fc9:001a -D startup_mimxrt1064.c
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2019 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1fc9:00a1
Run-time device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0101
Device returned transfer size 512
Copying data from PC to DFU device
Download [=========================] 100% 52924 bytes
Download done.
state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!

0 Kudos