MFi 프로그램에 가입하는것
http://mfi.apple.com/faqs
2012년 11월 15일 목요일
2012년 11월 11일 일요일
How to connect Android and Arduino through the audio channel
Android의 Audio jack를 이용해서 Interactive toy를 하려고 했지만
잘 안되었다.
http://code.google.com/p/androino/wiki/AndroinoTerminal
위의 사이트에서 제공하는 SoftModem은 4.0이라 5.0으로 교체해서
사용 했고 Audio cable은 3-pole에서 4-pole로 사용 했다.
그런데 SoftModem에서 Android기기로 데이터 전송은 되는데(가끔 못받음)
반대로는 안된다.
질문에서도 같은 증상이 있다.
I can receive on the Android side, but not transmit, any suggestions?
어떻게 해야하는가?
- windows at a job -
잘 안되었다.
http://code.google.com/p/androino/wiki/AndroinoTerminal
위의 사이트에서 제공하는 SoftModem은 4.0이라 5.0으로 교체해서
사용 했고 Audio cable은 3-pole에서 4-pole로 사용 했다.
그런데 SoftModem에서 Android기기로 데이터 전송은 되는데(가끔 못받음)
반대로는 안된다.
질문에서도 같은 증상이 있다.
I can receive on the Android side, but not transmit, any suggestions?
어떻게 해야하는가?
- windows at a job -
2012년 11월 7일 수요일
Interactive toy project
Interactive toy를 위한 첫번째 단계
Audio jack Bluetooth를 이용한 smart phone 데이터 통신
두번째
resizing, current control, simple interface
세번째
기구 제작, detail tuning
네번째
Application 개발 : chatting server, 3D avatar
다섯번째
Beta test
- mac at home -
2012년 11월 2일 금요일
OPRoS GUI for Android on Mac OSX(Lion)
2012년 5월 19일 토요일
ubuntu server network setting
sudo vi /etc/network/interfaces
auto eth0 iface eth0 inet static address 218.38.147.88 netmask 255.255.255.0 gateway 218.38.147.1 dns-nameservers 210.94.0.73
sudo vi /etc/resolv.conf nameserver 210.94.0.73
sudo ifup eth0
auto eth0 iface eth0 inet static address 218.38.147.88 netmask 255.255.255.0 gateway 218.38.147.1 dns-nameservers 210.94.0.73
sudo vi /etc/resolv.conf nameserver 210.94.0.73
sudo ifup eth0
2012년 4월 28일 토요일
installing ros on osx
http://abishekramdas.blogspot.com/2011/12/installing-ros-on-mac.html
homebrew로 설치 했지만 rxtools에서 문제가 발생한다.
log4cxx, python관련해서도 문제가 생기고
어찌어찌해서 빌드하고 설치 했지만 실행에 문제가 많아 포기!
macports로 다시 설치하자 위의 사이트에 자세히 나와 있어 따라하면 될것 같다.
포맷하고 다시해보자..
2012년 4월 22일 일요일
2012년 4월 19일 목요일
hid configuration
LDFLAGS=-L/home/bcc/Downloads/libusb-0.1.12/build/lib CPPFLAGS=-I/home/bcc/Downloads/libusb-0.1.12/build/include ./configure --host=arm-linux-gnueabi --prefix=/home/bcc/Downloads/libhid-0.2.16/build
2012년 4월 13일 금요일
2012년 4월 12일 목요일
hid reference site
http://www.signal11.us/oss/hidapi/
http://libhid.alioth.debian.org/doc/index.html
http://www.libusb.org/
using the cross compile for hidapi
http://www.lvr.com/hidapi.htm
example: arm-linux-gnueabi-gcc -o hidtest -L/usr/local/arm/4.1.2/lib -lusb-1.0 -I/usr/local/arm/4.1.2/include/libusb-1.0 hidtest.cpp hid-libusb.c
http://libhid.alioth.debian.org/doc/index.html
http://www.libusb.org/
using the cross compile for hidapi
http://www.lvr.com/hidapi.htm
example: arm-linux-gnueabi-gcc -o hidtest -L/usr/local/arm/4.1.2/lib -lusb-1.0 -I/usr/local/arm/4.1.2/include/libusb-1.0 hidtest.cpp hid-libusb.c
2012년 3월 21일 수요일
2012년 2월 8일 수요일
2012년 1월 28일 토요일
2012년 1월 15일 일요일
Import issue on ARM program
arm-linux-gnueabi-objdump -x gdb | grep NEEDED
http://blog.daum.net/joell/11772014
http://blog.daum.net/joell/11772014
Compile gdb on ARM board
$ wget ftp://ftp.jaist.ac.jp/pub/GNU/termcap/termcap-1.3.1.tar.gz
$ tar xvzf termcap-1.3.1.tar.gz
$ cd termcap-1.3.1
termcap-1.3.1$ CC=arm-linux-gnueabi.gcc ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --prefix=$PWD/build
termcap-1.3.1$ make && make install
termcap-1.3.1$ cd ..
$ wget ftp://ftp.jaist.ac.jp/pub/GNU/gdb/gdb-6.6.tar.gz
ftp://sourceware.org/pub/gdb/releases/
$ tar xvzf gdb-6.6.tar.gz
$ cd gdb-6.6
$ CFLAGS=-L/opt/termcap-1.3.1 ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --target=arm-pc-linux-gnu --prefix=/nfsroot/gdb --disable-werror
$ make && make install
http://blog.daum.net/joell/11772014
$ tar xvzf termcap-1.3.1.tar.gz
$ cd termcap-1.3.1
termcap-1.3.1$ CC=arm-linux-gnueabi.gcc ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --prefix=$PWD/build
termcap-1.3.1$ make && make install
termcap-1.3.1$ cd ..
$ wget ftp://ftp.jaist.ac.jp/pub/GNU/gdb/gdb-6.6.tar.gz
ftp://sourceware.org/pub/gdb/releases/
$ tar xvzf gdb-6.6.tar.gz
$ cd gdb-6.6
$ CFLAGS=-L/opt/termcap-1.3.1 ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --target=arm-pc-linux-gnu --prefix=/nfsroot/gdb --disable-werror
$ make && make install
http://blog.daum.net/joell/11772014
2012년 1월 14일 토요일
Cross Compile common method
export CC=arm-linux-gnueabi-gcc
export CXX=arm-linux-gnueabi-g++
./configure --host=arm-linux-gnueabi
export CXX=arm-linux-gnueabi-g++
./configure --host=arm-linux-gnueabi
2012년 1월 13일 금요일
Compile Boost 1.4.7 on ARM board
http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html
vi user-config.jam
#using gcc : 4.0 : g++-4.0 ;
using gcc : 4.1.2 : arm-linux-gnueabi-g++ ;
http://www.boost.org/doc/libs/1_48_0/more/getting_started/unix-variants.html
$ cd ~/boost_1_47_0
$ b2 --build-dir=/tmp/build-boost toolset=gcc stage
http://www.boost.org/doc/libs/1_47_0/
vi user-config.jam
#using gcc : 4.0 : g++-4.0 ;
using gcc : 4.1.2 : arm-linux-gnueabi-g++ ;
http://www.boost.org/doc/libs/1_48_0/more/getting_started/unix-variants.html
$ cd ~/boost_1_47_0
$ b2 --build-dir=/tmp/build-boost toolset=gcc stage
http://www.boost.org/doc/libs/1_47_0/
Compile MRPT on ARM board
1. add #define _POSIX_PATH_MAX 255 where mrpt-0.9.5/otherlibs/gtest-1.5.0/fused-src/gtest
2. Replace fabsl() to fabs()
3. Replace __atomic_add to __gnu_cxx::__atomic_add where libs/base/src/synch/atomic_incr.cpp
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm-x86.cmake ..
2. Replace fabsl() to fabs()
3. Replace __atomic_add to __gnu_cxx::__atomic_add where libs/base/src/synch/atomic_incr.cpp
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm-x86.cmake ..
Compile OpenCV on ARM board
1. Replace fabsl() with fabs() in /OpenCV-2.3.1/modules/flann/include/opencv2/flann/dist.h
2. #define _POSIX_PATH_MAX 255
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm_x86.cmake ..
2. #define _POSIX_PATH_MAX 255
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm_x86.cmake ..
Compile ACE framework on ARM board
https://groups.google.com/group/comp.soft-sys.ace/browse_thread/thread/07a5854e5fb798d8/42884ce7b69e2bc8?hl=ko&pli=1
1. tar xvzf ACE0.6.0.7.tar.gz
2. cd ACE_wrappers/ace/
3. vi config.h
4. #define ACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS 1
5. or vi ../include/makefiles/platform_macros.GNU
6. no_hidden_visibility=1
7. make clean;make;make install
8. cd tests
9. make
1. tar xvzf ACE0.6.0.7.tar.gz
2. cd ACE_wrappers/ace/
3. vi config.h
4. #define ACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS 1
5. or vi ../include/makefiles/platform_macros.GNU
6. no_hidden_visibility=1
7. make clean;make;make install
8. cd tests
9. make
피드 구독하기:
글 (Atom)