Hi i have tried several time making a dfu enables app.
I have two builds
DFU is enabled in customdefines.h
BCD_device is also configured.
This one programs the code into the XMOS and the device show up and works correctly
xflash --boot-partition-size 0x30000 --factory xxxxxxxxxxxx_2xoxxd.xe
Then i generate a upgrade image:
xflash --factory-version 14.2 --upgrade 1 xxxxxxxxxxxx_2xoxxd.xe -o upgrade_image.bin
But in the DFu app this happens:
DFU does simply not work for me... Tried several times
-
- Member
- Posts: 13
- Joined: Wed Apr 13, 2016 8:30 am
DFU does simply not work for me... Tried several times
You do not have the required permissions to view the files attached to this post.
-
- Member
- Posts: 13
- Joined: Wed Apr 13, 2016 8:30 am
I really do not know where to search for this problem as i cannot find the error code: "TUSBAUDIO_GetDfuStatus: Function failed with error code 0xEF000004."
"
"
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Please review this thread and post back with your results:
http://www.xcore.com/viewtopic.php?f=8&t=3031
Q1: What is the output from dfucons info ?
Q2: What is the output from dfucons download upgrade_image.bin ?
And forgot to request to apply the --v which is the verbose flag with the xflash tool for a detailed report of the issue.
http://www.xcore.com/viewtopic.php?f=8&t=3031
Q1: What is the output from dfucons info ?
Q2: What is the output from dfucons download upgrade_image.bin ?
And forgot to request to apply the --v which is the verbose flag with the xflash tool for a detailed report of the issue.
-
- Member
- Posts: 13
- Joined: Wed Apr 13, 2016 8:30 am
C:\Program Files\XMOS\USBAudioStDriver_30C7\W10_x64>dfucons info
Available devices:
Index VID PID REV Serial DFU supported USB mode
00 0x20B1 0x30C7 0x1223 yes APP
Driver Version: 4.13.00 (Lite)
C:\Program Files\XMOS\USBAudioStDriver_30C7\W10_x64> dfucons download upgrade_image.bin
Downloading upgrade_image.bin to target 0 ...
State 6 (Failed), 0 of 23040 bytes downloaded ... ...d ...
Download failed, completionStatus=0xEF000004
C:\Program Files\XMOS\USBAudioStDriver_30C7\W10_x64>
Available devices:
Index VID PID REV Serial DFU supported USB mode
00 0x20B1 0x30C7 0x1223 yes APP
Driver Version: 4.13.00 (Lite)
C:\Program Files\XMOS\USBAudioStDriver_30C7\W10_x64> dfucons download upgrade_image.bin
Downloading upgrade_image.bin to target 0 ...
State 6 (Failed), 0 of 23040 bytes downloaded ... ...d ...
Download failed, completionStatus=0xEF000004
C:\Program Files\XMOS\USBAudioStDriver_30C7\W10_x64>
-
- Member
- Posts: 13
- Joined: Wed Apr 13, 2016 8:30 am
I have also attached the Xflash with the "-v" switch below.
It is a bit difficult to see what to look for, when no in depth description of the stages are available for the DFU. And it has previously worked for us but we can simply not see what the issue is after we upgraded to the 6.12.6_rc3 firmware. Best regards
Sonny
It is a bit difficult to see what to look for, when no in depth description of the stages are available for the DFU. And it has previously worked for us but we can simply not see what the issue is after we upgraded to the 6.12.6_rc3 firmware. Best regards
Sonny
You do not have the required permissions to view the files attached to this post.
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
-
- Member
- Posts: 13
- Joined: Wed Apr 13, 2016 8:30 am
There is a crystal connected to the XS1-U8A and one of the clock oscillators feeding the MCLK input is allways active.
But we had it running in a earlier version. But yes if the I2C locks up we cannot start the DFU at all. From earlier experience.
But we had it running in a earlier version. But yes if the I2C locks up we cannot start the DFU at all. From earlier experience.
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Please review this thread and the suggestions from infiniteimprobability and ritchrock:
http://www.xcore.com/viewtopic.php?f=26 ... fu+version
Please post your results.
http://www.xcore.com/viewtopic.php?f=26 ... fu+version
Please post your results.