Trying to update Sofar Spotter and Dev Kit and having trouble

It’s doing well so far up to this point

I would recommend cd-ing to that directory and then running the following command:

$ dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D bridge_release-v0.13.9.elf.unified.bin

clarakerr@mac bridge_release-v0.13.9 % dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D bridge_release-v0.13.9.elf.unified.bin

dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

Copyright 2010-2021 Tormod Volden and Stefan Schmidt

This program is Free Software and has ABSOLUTELY NO WARRANTY

Please report bugs to dfu-util / Tickets

dfu-util: Warning: Invalid DFU suffix signature

dfu-util: A valid DFU suffix will be required in a future dfu-util release

dfu-util: Failed to retrieve language identifiers

dfu-util: Failed to retrieve language identifiers

Opening DFU capable USB device…

Device ID 0483:df11

Device DFU version 011a

Claiming USB DFU Interface…

Setting Alternate Interface #0

dfu-util: Cannot set alternate interface: LIBUSB_ERROR_OTHER

clarakerr@mac bridge_release-v0.13.9 %

should I do the $ make dfu_flash now? Or is this result unexpected?

The make dfu_flash command will not work in this instance.

I am trying to determine what the error might be.
When you run ls in your current directory are you able to see the file:
bridge_release-v0.13.9.elf.unified.bin?

yes!

Can you try installing libusb on your mac and trying again?

brew install libusb

Let me know if that works!

this is what showed up after the command finished running

Which command do you want me to try again? $ ls still shows all the same files

Sorry! Retry again maybe with this command:

dfu-util -a 0 -s 0x8000000:leave -D ./bridge_release-v0.13.9.elf.unified.bin

It’s still giving the same error.

Can you try unplugging the bridge (from your PC) re-plugging it back in and invoking that command again dfu-util -a 0 -s 0x8000000:leave -D ./bridge_release-v0.13.9.elf.unified.bin?

The promising thing is that the bridge was recognized in bootloader mode when you ran:

I imagine that the USB port is still occupied by another process. Unplugging and re-plugging it back in might help clear whatever else might be holding onto the device.

I restarted my computer and tried several times but I think I got it, what should I do from here?

@matt001k

clarakerr@mac bridge_release-v0.13.9 % dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D bridge_release-v0.13.9.elf.unified.bin

dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

Copyright 2010-2021 Tormod Volden and Stefan Schmidt

This program is Free Software and has ABSOLUTELY NO WARRANTY

Please report bugs to dfu-util / Tickets

dfu-util: Warning: Invalid DFU suffix signature

dfu-util: A valid DFU suffix will be required in a future dfu-util release

Opening DFU capable USB device…

Device ID 0483:df11

Device DFU version 011a

Claiming USB DFU Interface…

Setting Alternate Interface #0

Determining device status…

DFU state(2) = dfuIDLE, status(0) = No error condition is present

DFU mode device DFU version 011a

Device returned transfer size 1024

DfuSe interface name: "Internal Flash "

Downloading element to address = 0x08000000, size = 351652

Erase [=========================] 100% 351652 bytes

Erase done.

Download [=========================] 100% 351652 bytes

Download done.

File downloaded successfully

Submitting leave request…

dfu-util: Error during download get_status

clarakerr@mac bridge_release-v0.13.9 %

This is what the spotter terminal looks like now too by the way.

The output looks good! The bridge is communicating as expected.
Let me take a look back at the previous posts and I will get back to you on next steps.

@clarak are you now looking to update your dev kit as a next step?

Yes, I think so. Right now this is what shows up in the Dev Kit serial when I send $ info

And I tried the print command and it looks like the two are communicating fine. But I want to make sure all the update versions are compatible. At the top of the thread, it seems like Zach said something about there is the Dev Kit mote, then the Bridge, then the Spotter main deck. Do all of these look compatible?