What I'm doing wrong in DFU ?
-
- Member++
- Posts: 19
- Joined: Fri Jun 13, 2014 1:35 pm
What I'm doing wrong in DFU ?
Hello,I need some help with burning firmware. Can anybody check if I'm doing all correctly?I asked this question at the forum, but after a week there is no answer. I don;'t know what to do!I'm doing the tests with the original Audio 2.0 Reference Design (2ioxxx), compile it with XComposer 13.1.0At 1st I make secured factory bin file:xflash --factory device_a.xe -o device_a.bin --key device_a.keythen I burn it with XTAG-2:1)xflash --target-file device_a.xn --write-all device_a.binxburn --target-file device_a.xn --lock device_a.key --enable-jtag --disable-master-lockAfter this I check the functionality, and in a future I will secure the chip:2)xburn --target-file device_a.xn --disable-jtag --enable-master-lock.But now I'm doing the last stage.Also I prepare the upgrade image with another revision number:3)xflash --factory-version 13 --upgrade 1 device_a_up.xe -o device_a_ud_1.bin --key device_a.keyNext:after I made 1), check that device is working, and play with dfucons:dfucons.exe revertfactorydfucons makes his job and device is working.Then I make an upgrade, using TUSBAudioDfu.exe with device_a_ud_1.bin, device still working, FW revision changed.If after this I try to use "dfucons revertfactory" again - I've expected to return back to the 1st, factory firmware and to see it's revision number, bit - get a "brick".Device is not working, PC does not see it and I must to burn the factory firmware again with XTAG-2.Using "dfucons revertfactory -d0" - the same.What I'm doing wrong?Thank you.
-
Verified
- XCore Legend
- Posts: 1185
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Heya, could you edit your post to add a bit more spacing.. finding it hard to decipher. Thanks.