Check out my first novel, midnight's simulacra!

Bluetooth: Difference between revisions

From dankwiki
No edit summary
No edit summary
 
Line 20: Line 20:


-------- end --------
-------- end --------
</pre>
[grimes](0) $ sudo ubertooth-dfu -d bluetooth_rxtx/bluetooth_rxtx.dfu -r
The upgrade process tends to complain about I/O errors despite working:
<pre>
[grimes](1) $ sudo ubertooth-dfu -d bluetooth_rxtx/bluetooth_rxtx.dfu -r
libUSB Error: Input/Output Error:  (-1)
Switching to DFU mode...
Switching to DFU mode...
Checking firmware signature
Checking firmware signature
Line 30: Line 26:
........................................
........................................
.......................................
.......................................
libUSB Error: Input/Output Error:  (-1)
[grimes](0) $  
[grimes](0) $  
</pre>
</pre>

Latest revision as of 22:53, 16 September 2019

Ubertooth

Firmware

[grimes](1) $ sudo ubertooth-scan  -s -x
Ubertooth API version 1.01 found, libubertooth 1.1 requires 1.06.
Please upgrade to latest released firmware.
See: https://github.com/greatscottgadgets/ubertooth/wiki/Firmware
[grimes](1) $ 

Use ubertooth-dfu to update the firmware. Firmware can be built from an ubertooth checkout by running Make in the firmware directory (you'll need the ARM toolchain; try the arm-none-eabi-newlib and arm-none-eabi-gcc packages).

Creating DFU firmware file: assembly_test.dfu
/usr/sbin/ubertooth-dfu -s assembly_test.bin

--------- Target Information ---------
ARM Model: cortex-m3
Board: UBERTOOTH_ONE
--------------------------------------

Size after:
   text	   data	    bss	    dec	    hex	filename
   7968	   1248	   8640	  17856	   45c0	assembly_test.elf

-------- end --------
[grimes](0) $ sudo ubertooth-dfu -d bluetooth_rxtx/bluetooth_rxtx.dfu -r
Switching to DFU mode...
Checking firmware signature
........................................
........................................
.......................................
[grimes](0) $