embedded system
-
RAM, Flash memoryembedded system 2015. 1. 15. 16:27
DRAM, SRAM SRAM DRAM Memory cell Flip-Flop 안정적이다. 전원공급 장치가 중단되지 않는다면, 트리거의 상태는 무한한 시간 동안 보존될 수 있다. 플리플롭의 원리사용 Capacity(축전지) 전하를 저장하는 방식으로 데이터 저장. 시간이 지날수록 capacity판에 축적할 수 있는 전하가 얼마 되지 않기 때문에 매우 빨리 전자가 누전되므로 주기적으로 recharge돼야 한다. Recharge를 위한 제어회로가 컴퓨터 시스템에 탑재되어햔다. 75MHz와 100MHz사이에서 고장난다. SRAM Cell은 보통 6~8개의 트랜지스터로 구성된다. Refresh Clock에 필요 없으므로 소용량의 메모리나 Cache memory에 주로 사용된다. 속도는 5배 빠르다. DRAM Cel..
-
arndale 세팅작업embedded system 2015. 1. 13. 15:35
15.01.12 - 15.01.15야호 커널 컴파일중 막간을 이용하여 삽질 정리환경 세팅을 위해 따라하기 사이트 : http://www.arndaleboard.org/wiki/index.php/WiKi#Installing_the_JDK 1.설치한 dependence git-core gnupg flex bison gperf build-essential zip curl zlib1g-devlibc6-dev lib32ncurses5-dev ia32-libs xx11proto-core-dev libx11-devlibreadline6-dev instead of lib32readline5-dev lib32z-devlibgl1-mesa-dev also libgl1-mesa-glxg++-multilib mingw32 t..
-
embedded linux Bootingembedded system 2015. 1. 7. 18:05
1. bootloader 주기능은 하드웨어를 초기화하고 검사하며 최종적으로 커널을 로더하여 커널에게 제어권을 넘기는 역할을 한다.개발보드 flash memory에 있는 kernel을 SDRAM으로 복사한다. u-boot : 다양한 시스템에서 사용 가능, Serial, Network, USB, Flash를 지원CPU에 대한 Evaluation Board용 Sample 코드를 제공CPU에 대한 명령어 체계가 동일하므로 다른 Platform을 적용하기 쉽다. build가 완료되면 u-boot.bin파일이 생성됨. 배포용 리눅스는 zImage안의 bbootsect가 부트로더 역할을 함. 2. 커널 이미지 츨처 : http://bmfrog.tistory.com/m/post/101 실제 커널이미지는 vmlinux임..
-
임베디드 개발 환경embedded system 2015. 1. 7. 16:46
출처 : http://recipes.egloos.com/5383584 개발용 host pc 순전히 보드에서 개발과 컴파일, 디버깅을 진행할 수 없기때문에 host PC가 필요한 것이다. target board 처음 세팅시 bootloader, kernel, file system은 host pc에서 cross compile한 후, 컴파일된 파일을 target의 flash memory 에 올린다.일반적인 application 역시 host PC에서 개발,컴파일, 디버깅을 수행한 후 최종 프로그램만 target board에 올린다. host PC는 linux 를 주로 사용한다. 사실 왜인지는 모름..또한 타겟보드 개발용 cross toolchain이 설치되어 있어야 한다.target board와 연결되어 있어..
-
Raspberry Pi GIPOembedded system 2014. 11. 8. 11:58
GPIO(general purpose IO)란? As well as supplying power (GND, 3.3V and 5V) all the GPIO pins can be used as either digital inputs or outputs. The pins labelled SCL and SDA can be used for I2C. The pins labelled MOSI, MISO and SCKL can be used to connect to high speed SPI devices.All the pins have 3.3V logic levels and are not 5V-safe so the output levels are 0-3.3V and the inputs should not be hig..
-
raspbery pi gyro moduleembedded system 2014. 11. 8. 11:45
gyro 설정 및 세팅 raspberry Pi 의 GPIO와 연결 L3G4200D Datasheet 읽어서 찾음. gyro값 변환 1. gyro로부터 데이터 값을 받는다. 2. gyro로부터 받은 데이터를 dps로 변환한다.자이로를 통해 받아온 digit값에 G_GAIN(0.07(dps/digit)) 를 곱하면 dps를 구할 수 있다.코드상에는 noise 때문에 =으로 함. 생각할땐 +=으로 하는게 나을 듯..3. degree구하기 gyro 잡음제거1. zero-rate재설정threshold 값을 측정하기 위해서는 R0값 즉, gyro가 가만히 있을 때 값의 평균값을 알아야한다. 2. threshold값 설정하기정지상태일 때 Rm-R0 값은 0이어야 한다. 3. True angle rate구하기
-
raspbery pi camera moduleembedded system 2014. 11. 8. 11:36
디지털 카메라 모듈과 모바일 장치(RPi)와의 시리얼 인터페이스 raspistill, raspivid RG, raspiyuv 어플리케이션을 사용하면 된다. raspistill 카메라 모듈을 통해서 사진을 찍을 수 있다. camera component의 preview, stills port에 연결하여 preview와 jpg encoder를 사용한다.-o : Output filename. If not specified, no image is saved. • raspivid RGB카메라 모듈을 통해서 비디오를 찍을 수 있다.camera component의 preview, stills port에 연결하여 preview와 video encoder를 사용한다. • raspiyuv y : 명암, uv : 파+빨 =>..
-
linux에서 Arm cross compiler 설치embedded system 2014. 8. 5. 15:01
arm cross compile설치 setup_codesourcery.sh 실행시키면 알아서 다 설치해준다. /usr/local/bin 에 codesourcery-arm-2011.03.sh 존재한다. 환경변수로 설정되어있으므로 그냥 실행시키면 arm compile모드로 갈 수 있다. 즉, cross compile하라면 해당 파일을 실행시킨 후에 가능하다. 네트워크 관련 코딩할때는 sudo 명령어로 shell script파일을 실행시켜야 한다. cross compile모드를 종료하려면 exit 명령어를 주면된다. codesourcery-arm-2011.03.sh pcap코딩파일 arm static컴파일arm-none-linux-gnueabi-gcc -o hw hw1.c -lpcap -static *64bi..