Problem on updating Expansion board V3.1



  • Hello All,

    I am new to this community and also with Pycom. I'm trying to set up my loppy4 with expansion board 3.1 and followed the instruction. I already downloaded the latest firmware dfuc file (expansion31_0.0.11.dfu). I downloaded Macport and excode also. When I try to run sudo dfu-util -D expansion31_0.0.11.dfu within 7sec after press S1 and plug usb...it results in below...

    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: 04d8
    Match product ID from file: ef99
    Opening DFU capable USB device...
    ID 04d8:ef99
    Run-time device DFU version 0100
    Claiming USB DFU Runtime Interface...
    dfu-util: Cannot set alt interface zero

    Please advise how to solve this. Thank you!



  • @hiyasbie quite complex answer



  • @astro @hiyasbie
    I was also able to reproduce on a macOS 10.15.1. Sometimes executing the command with sudo dfu-util -D expansion31_0.0.11.dfu helps.
    Most likely, this due to some new Security & Privacy feature.

    Just to mention, it's not related to Expansion v3.1 manufacturing issues.



  • I have the same issue on a macbook when trying to update the Pytrack module:

    Match vendor ID from file: 04d8
    Match product ID from file: f014
    Opening DFU capable USB device...
    ID 04d8:f014
    Run-time device DFU version 0100
    Claiming USB DFU Runtime Interface...
    dfu-util: Cannot set alt interface zero



  • Hi @hiyasbie, I'm having the same issue on my MacBook Air. Were you able to update your firmware using your MacBook Pro or was your workaround solution just use your friend's laptop w/Window's to update your expansion board?



  • @rskoniec Thank you for checking this out. I am using my macbook pro with the problem. My friends has a laptop (Windows) which he used to update his expansion board successfully. When I tried to update my expansion board on his laptop, it was successful...Would this mean that m expansion board is already updated? can I used it on my macbook? Thank you very much for your reply.





  • The problem is...

    dfu-util: Cannot set alt interface zero

    as per instruction...it should result on below...

    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: 04d8
    Match product ID from file: f014
    Opening DFU capable USB device...
    ID 04d8:f014
    Run-time device DFU version 0100
    Claiming USB DFU Runtime Interface...
    Determining device status: state = dfuIDLE, status = 0
    dfu-util: WARNING: Runtime device already in DFU state ?!?
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0100
    Device returned transfer size 64
    Copying data from PC to DFU device
    Download [=========================] 100% 16384 bytes
    Download done.
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!


Log in to reply
 

Pycom on Twitter