Updating firmware via USB DFU

Suggestions, Problems, Availability, etc. Everything is up for discussion.
User avatar
JonW
Site Admin
Posts: 1699
Joined: Sun Jul 18, 2010 7:51 am
Bot?: No
Location: Huntington Beach, CA
Contact:

Re: Updating firmware via USB DFU

Post by JonW » Sat Jun 15, 2019 2:57 pm

Can you try using a different computer to load the drivers? The new firmware will fix the sporadic lockup issue.

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Wed Jul 03, 2019 7:47 pm

I have the following issue:

$ dfu-util -D bcs482.dfu
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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/

Match vendor ID from file: 1cbe
Match product ID from file: 022f
dfu-util: No DFU capable USB device available

BCS is connected via USB cable.

How to solve this issue?

Thanks!

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Wed Jul 03, 2019 8:06 pm

After rebooting BCS:

$ dfu-util -D bcs482.dfu
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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/

Match vendor ID from file: 1cbe
Match product ID from file: 022f
Opening DFU capable USB device...
ID 1cbe:00ff
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: dfu-util: error get_status

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Wed Jul 03, 2019 8:22 pm

Any suggestions ?

Thanks.

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Thu Jul 04, 2019 7:43 pm

used different cable and computer
Same result again:

$ dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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/

Found Runtime: [1cbe:022f] ver=0100, devnum=10, cfg=1, intf=2, path="20-4", alt=0, name="UNKNOWN", serial="12345678"



$ dfu-util -D bcs482.dfu
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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/

Match vendor ID from file: 1cbe
Match product ID from file: 022f
Opening DFU capable USB device...
ID 1cbe:022f
Run-time device DFU version 0110
Claiming USB DFU Runtime Interface...
Determining device status: Device does not implement get_status, assuming appIDLE
Device really in Runtime Mode, send DFU detach request...
dfu-util: error detaching
Device will detach and reattach...
Opening DFU USB Device...
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: dfu-util: error get_status



No luck.

What can I do?

Thanks!

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Thu Jul 04, 2019 7:44 pm

back panel has been removed too...

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Thu Jul 04, 2019 7:45 pm

Any idea?

brahn
Posts: 543
Joined: Thu Dec 13, 2012 11:01 am
Bot?: No

Re: Updating firmware via USB DFU

Post by brahn » Fri Jul 05, 2019 10:23 am

I believe you're running into an issue we had with the original TI bootloader code on newer MacOS versions. Can you confirm that you're on a Mac?

There's a couple ways to get through this. I updated the bootloader to fix the issue, but the bootloader on the BCS can only be flashed via JTAG which would mean sending it to Brewer's Hardware to get updated (they could do the firmware too). Another option is to use a windows or linux pc to do the flash if you have access to one of those.

This one had me stumped for quite a while when we initially discovered it since I use a Mac for development and this wasn't an issue until after an OS upgrade.

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Tue Jul 16, 2019 8:15 pm

brahn wrote:
Fri Jul 05, 2019 10:23 am
I believe you're running into an issue we had with the original TI bootloader code on newer MacOS versions. Can you confirm that you're on a Mac?

There's a couple ways to get through this. I updated the bootloader to fix the issue, but the bootloader on the BCS can only be flashed via JTAG which would mean sending it to Brewer's Hardware to get updated (they could do the firmware too). Another option is to use a windows or linux pc to do the flash if you have access to one of those.

This one had me stumped for quite a while when we initially discovered it since I use a Mac for development and this wasn't an issue until after an OS upgrade.
Hi,

I've tried both mac and PC this time.

This time I've used PC, driver was flashed via JTAG, however I've got the following issue again:

dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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/


Found Runtime: [1cbe:022f] ver=0100, devnum=13, cfg=1, intf=2, path="1-2", alt=0, name="UNKNOWN", serial="12345678"

Cannot open DFU device 1cbe:022f

Return Code: 0
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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/


Found Runtime: [1cbe:022f] ver=0100, devnum=13, cfg=1, intf=2, path="1-2", alt=0, name="UNKNOWN", serial="
12345678"
Cannot open DFU device 1cbe:022f

Return Code: 0
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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/


Match vendor ID from file: 1cbe
Match product ID from file: 022f

Opening DFU capable USB device...
ID 1cbe:022f
Run-time device DFU version 0110
Claiming USB DFU Runtime Interface...
Determining dev
ice status: Device does not implement get_status, assuming appIDLE
Device really in Runtime Mode, send DFU detach request...
Device will detach and reattach...

Cannot open DFU device 1cbe:022f
error detaching
Cannot open DFU device 1cbe:00ff
Lost device after RESET?

Return Code: 74
Attachments
bcs-error.png
bcs-error.png (25.08 KiB) Viewed 442 times

vv2080
Posts: 25
Joined: Thu Mar 15, 2018 1:02 pm
Bot?: No

Re: Updating firmware via USB DFU

Post by vv2080 » Wed Jul 17, 2019 9:08 pm

Hi,

Any updates?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests