Ubertooth

Firmware

ubertooth 기기의 firmware 업데이트를 해보자. 

How To Update Firmware

먼저 최신 ubertooth release를 받고 압축파일을 추출하고 추출한 파일내부의 ubertooth-one-firmware-bin이라는 경로로 이동한다.
ubertooth-dfu 명령어를 아래와 같이 실행시킨다.
$ ubertooth-dfu --write bluetooth_rxtx.dfu 
Checking firmware signature
No DFU devices found - attempting to find Ubertooth devices

1) Found 'Ubertooth One' with address 0x1d50 0x6002

Select a device to flash (default:1, exit:0):
엔터를 누르면 기기가 자동으로 DFU 모드로 들어가서 firmware를 설치한다.
설치가 다되면 뺐다꼽거나 ubertoth-dfu --detach 문장을 실행시켜서 일반 모드로 돌아갈수 있다.
 

What Version am I Running?

non-DFU 모드에서, ubertooth-util -v문장을 통해 펌웨어 정보를 얻을 수 있다.
ubertooth-util -v는 짧은 정보
ubertooth-util -V는 더 자세한 정보를 보여준다.

Developing Firmware

펌웨어 개발을 위해서는 먼저 ARM Cortex-M3를 지원하는 toolchain이 필요하다. 펌웨어 디렉토리안의 Makefile들은 are designed for GCC와 리눅스기반 toolchain, 특히 arm-none-eabi-gcc를 위해 디자인 되어있다. It can be downloaded from https://launchpad.net/gcc-arm-embedded, 압축을 해제하고, bin 디렉토리를 너의 PATH에 추가해라. 최신 우분투, 데비안을 사용중이라면 아래 명령어로 설치할 수 있을것이다.
: apt-get install gcc-arm-none-eabi

비록 펌웨어 소스랑 binary images는 기본릴리즈에도 있지만, 펌웨어를 변경할 계획이 있다면 신선한 코드를 원할 것이다.

댓글

댓글 본문
버전 관리
1005ptr
현재 버전
선택 버전
graphittie 자세히 보기