-
Notifications
You must be signed in to change notification settings - Fork 23
access the device by serial number #3
Comments
Hello @zengpy17, Thank you for your interest. Does the device show up when you run "lsusb"? |
Yes, it shows up as: |
Thanks for your reply! Binary file is not padded and does not contain a valid dfu-suffix So what should I do now? |
Hi @zengpy17, You may continue with that warning. |
Thanks a lot! It worked finally. |
Thanks! That did solve the prob. And how to change ID since it got default ID DXXXX? |
@lzyplayer, after flashing the initial binary, use the provided programmer through the digit-design repository. Specify the binary and the serial you would like to program, for serial
|
@AlphaBetaPhi, thanks for the reply! ***@***:~$ lsusb
Bus 001 Device 057: ID 2833:0209 And I have tried the provided programmer through the digit-design repository. It give me message below, seems no download happened. ***@***:***$ python3.7 flash.py digit.serial=45
DIGIT programmer config:
digit:
serial: 45
firmware: ../digit-2020-1a.bin
usb:
idVendor: 10291
idProduct: 521
INFO:DigitProgrammer:Attempting to find DIGIT serial mask in ../digit-2020-1a.bin binary.
INFO:DigitProgrammer:Found serial pattern...
INFO:DigitProgrammer:Serial number written to new firmware binary.
INFO:DigitProgrammer:Flashing DIGIT firmware...
Unplug and plug DIGIT into usb then press ENTER...
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available
INFO:DigitProgrammer:Finished flashing firmware to DIGIT! However, It can be detected by digit-interface with serial DXXXX and is able to show video flow. Besides, setting LED does not work, while log seems fine. |
Hi @lzyplayer, @zengpy17, There has been a firmware update in the |
@AlphaBetaPhi , thanks for informing! $ dfu-util -D digit_firmware_tmp.bin
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
dfu-util: DFU suffix CRC does not match
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0403:0fde
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 256
Copying data from PC to DFU device
Download [======================== ] 96% 248064 bytes failed!
state(10) = dfuERROR, status(8) = Cannot program memory due to received address that is out of range Currently, I'm using FT900Q-C-R instead of FT900Q-R as main controller. Maybe not enough memory? |
Looks like the DFU is already installed on your DIGIT, I have uploaded the base firmware for future firmware upgrades. Please
Where |
I am very appreciate of your work and I have tried to make a DIGIT following the guidance. However, when I tried to access the device by serial number, the device could not be recognized. The same problem happened again after adding DIGIT udev Rule. Then, I called the DigitHandler.list_digits() from digit_interface.digit_handler and it returned an empty list.
I have no idea why this happened, since I used Ubuntu 18.04 in VirtualBox to operate and flashed firmware to DIGIT without encountering any error, which means that DIGIT could be recognized by my computer.
The text was updated successfully, but these errors were encountered: