embeded/AVR (ATmega,ATtiny)2015. 9. 23. 11:36


AT90USB


[링크 : http://www.atmel.com/Images/doc7604.pdf]

[링크 : http://nexp.tistory.com/1119]



Virtual USB 라이브러리?


V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip.



[링크 : https://www.obdev.at/products/vusb/index.html]

    [링크 : http://magicom9.tistory.com/52]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

wiring  (0) 2016.02.29
Arduino Uno freeRTOS 강좌  (0) 2015.11.11
키보드 DIY 자료  (0) 2015.09.23
avr-gcc -mmcu 관련 작동 내용  (0) 2015.08.02
ubuntu 에서 AVR 컴파일하기  (0) 2015.07.30
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2015. 9. 23. 11:33

ATmega 칩을 이용해서 USB라던가 여러가지 인터페이스로 키보드를 DIY하는 프로젝트

ATmega 공부겸.. USB 공부겸 나중에 소스나 봐야겠다..


[링크 : https://github.com/tmk/tmk_keyboard]

[링크 : http://cubiq.org/build-your-very-own-pc-keyboard]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

Arduino Uno freeRTOS 강좌  (0) 2015.11.11
마우스 DIY 자료  (0) 2015.09.23
avr-gcc -mmcu 관련 작동 내용  (0) 2015.08.02
ubuntu 에서 AVR 컴파일하기  (0) 2015.07.30
USART UBRR error rate  (0) 2015.07.29
Posted by 구차니
분류가 모호한 글2015. 9. 22. 17:19

예전에 본거지만 신기해서 링크


[링크 : https://www.youtube.com/watch?v=RDw_gag7mPc]

  [링크 : http://www.lelaps.de/index.html]

  [링크 : http://sourceforge.net/projects/qcv/]

'분류가 모호한 글' 카테고리의 다른 글

크롬 주소표시줄 한글 강제 인코딩 관련  (0) 2017.01.02
NVD - National Vulnerability Database  (0) 2016.02.01
입식 책상  (0) 2015.09.01
acoustic phased array speaker  (0) 2015.08.20
각종 오디오 코덱 가격  (0) 2015.01.26
Posted by 구차니
Programming/css2015. 9. 22. 10:58

헐.. 어쩐지.. 암만 찾아도 게임 홈페이지 배경에 이쁜게

html 소스에 안보이더라니 ㄷㄷ


[링크 : http://www.w3schools.com/cssref/css3_pr_background.asp]

'Programming > css' 카테고리의 다른 글

html css 적용 방법  (0) 2016.01.11
css margin / padding  (0) 2015.09.24
CSS / JS 파일 용량 줄이기  (0) 2015.09.18
css selector  (0) 2015.09.14
css 관련  (4) 2015.09.08
Posted by 구차니
embeded/raspberry pi2015. 9. 22. 10:27

jack 해보겠다고 하는데 안되서 보니

어!??!?!?!?!?



/proc/asound/card0 $ ls -al

합계 0

dr-xr-xr-x  4 root root 0  9월 22 10:03 .

dr-xr-xr-x  5 root root 0  9월 22 10:01 ..

-r--r--r--  1 root root 0  9월 22 10:25 id

dr-xr-xr-x 10 root root 0  9월 22 10:25 pcm0p

dr-xr-xr-x  3 root root 0  9월 22 10:25 pcm1p 



생각해보니.. 3.5 파이 잭에도

오디오(L/R) / composite 비디오 인거지..

L/R/Mic 가 아니었네 -ㅁ-?!?!?

Posted by 구차니
Linux/Ubuntu2015. 9. 22. 08:50

라즈베리에 까는데

용량들이 왜케 후덜덜 한거야...


f-spot은 사진 관리용이지.. 스샷은 안되고

shutter는 깔기만 했는데 용량이 ㅎㄷㄷ하게 깔려서 패스

gimp는 캡쳐하나 하자고 포토샾 까는 꼴이고..

그나마 무난하고 만만한건 gnome-screenshot(용량적고 강추)

[링크 : http://askubuntu.com/questions/6558/what-screenshot-tools-are-available]

    [링크 : http://packages.ubuntu.com/search?keywords=gnome-screenshot]

'Linux > Ubuntu' 카테고리의 다른 글

pkg-config  (0) 2015.10.08
htop 색상의미  (0) 2015.10.08
우분투 시스템 온도 측정  (0) 2015.08.15
우분투 모니터 없이 부팅하기  (0) 2015.08.15
lubuntu xbuntu mate 메모리 사용량 (live)  (2) 2015.08.12
Posted by 구차니
embeded/raspberry pi2015. 9. 22. 07:33



[링크 : http://qjackctl.sourceforge.net/]


$ sudo apt-get isntall qjackctl



setup에서 Setting을 보면

Frame/Period, Sample Rate, Period/Buffer를 설정함에 따라 Latency가 자동으로 계산되어 나온다





근데.. 라즈베리는 마이크가 없잖아? 안될거야 ㅠㅠ


네트워크로 할 경우에는 netone이나 netJack을 쓰면 된다고 한다.

[링크 : https://ccrma.stanford.edu/book/export/html/2835]

[링크 : http://jackaudio.org/faq/netjack.html]

[링크 : https://github.com/jackaudio/jackaudio.github.com/wiki]

    [링크 : https://github.com/jackaudio/jackaudio.github.com/wiki/WalkThrough_User_NetJack2]

----

[링크 : https://help.ubuntu.com/community/HowToJACKConfiguration]

[링크 : https://help.ubuntu.com/community/What%20is%20JACK]


[링크 : http://jackaudio.org/faq/pulseaudio_and_jack.html]

[링크 : http://jackaudio.org/faq/jack_on_windows.html]

[링크 : http://jackaudio.org/files/docs/html/index.html]


[링크 : http://www.youtube.com/watch?v=fMz6fDGBnA4]

[링크 : https://en.wikipedia.org/wiki/ReWire]

Posted by 구차니
embeded/raspberry pi2015. 9. 21. 13:23

또.. gst-launch가 보이다니 ㄷㄷ


JACK

[링크 : http://wiki.linuxaudio.org/wiki/raspberrypi]


gstreamer

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=33462]




---

그나저나.. 영 안되네 -_-

$ sudo apt-cache search jackd

ebumeter - Loudness measurement according to EBU-R128

jackd - JACK Audio Connection Kit (default server package)

jackd1 - JACK Audio Connection Kit (server and example clients)

jackd2 - JACK Audio Connection Kit (server and example clients)

libjack-jackd2-0 - JACK Audio Connection Kit (libraries)

libjack-jackd2-dev - JACK Audio Connection Kit (development files)

pulseaudio - PulseAudio sound server

pulseaudio-module-jack - jackd modules for PulseAudio sound server

pulseaudio-module-jack-dbg - jackd modules for PulseAudio sound server (debugging symbols)

tuxguitar-jack - tuxguitar plugin for sound playback using JACKD

xjadeo - Video player with JACK sync


pi@raspberrypi ~ $ sudo apt-get install jackd

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

jackd 패키지는 이미 최신 버전입니다.

jackd 패키지 수동설치로 지정합니다.

0개 업그레이드, 0개 새로 설치, 0개 제거 및 38개 업그레이드 안 함.

pi@raspberrypi ~ $ sudo apt-get install jackd2

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

jackd2 패키지는 이미 최신 버전입니다.

jackd2 패키지 수동설치로 지정합니다.

0개 업그레이드, 0개 새로 설치, 0개 제거 및 38개 업그레이드 안 함.



$ DISPLAY=:0.0 jackd -dalsa

jackdmp 1.9.9

Copyright 2001-2005 Paul Davis and others.

Copyright 2004-2012 Grame.

jackdmp comes with ABSOLUTELY NO WARRANTY

This is free software, and you are welcome to redistribute it

under certain conditions; see the file COPYING for details

JACK server starting in realtime mode with priority 10

control device hw:0

control device hw:0

audio_reservation_init

Acquire audio card Audio0

creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit

control device hw:0

ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode

configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods

ALSA: final selected sample format for playback: 16bit little-endian

ALSA: use 2 periods for playback





Posted by 구차니
embeded/raspberry pi2015. 9. 21. 13:22

기술적으로는 무언가 다른 내용이 있을것 같으나..

일단 라즈베리 에서는 GPU의 동적 메모리 할당으로 보면 된다.


CMA - DYNAMIC MEMORY SPLIT

The firmware and kernel as of 19th November 2012 supports CMA (Contiguous Memory Allocator), which means the memory split between CPU and GPU is managed dynamically at runtime. However this is not officially supported.


You can find an example config.txt here.


CMA_LWM

When the GPU has less than cma_lwm (low-water mark) megabytes of memory available, it will request some from the CPU.

cma_lwm 보다 적은 양을 GPU에서 가지고 있을 때, CPU로 부터 (메모리를) 요청한다.


CMA_HWM

When the GPU has more than cma_hwm (high-water mark) megabytes of memory available, it will release some to the CPU.

cma_hwm 보다 큰 것을 GPU에서 가지고 있을 때, CPU에게 (메모리를) 놓아준다.


The following options need to be in cmdline.txt for CMA to work:


coherent_pool=6M smsc95xx.turbo_mode=N


[링크 : https://www.raspberrypi.org/documentation/configuration/config-txt.md]

[링크 : http://elinux.org/RPiconfig#CMA_-_dynamic_memory_split]


영어라 읽다가 귀차니즘으로 포기

[링크 : https://en.wikipedia.org/wiki/High-water_mark_(computer_security)]

[링크 : https://en.wikipedia.org/wiki/Watermark_(data_synchronization)]



원래 찾던건.. 오디오 스트리밍을 낮은 지연시간으로 하는건데..

갑자기 네트워크를 USB 1.1로 돌리고 막 쑈를 하면서 찾은거.. ㄷㄷ

[링크 : http://wiki.linuxaudio.org/wiki/raspberrypi]

Posted by 구차니
embeded/ARM2015. 9. 21. 09:38

결론만 적자면..

A5는 저전력

A7은 A5의 저전력에 A8의 고성능 추구


A5 - ARM11 대체용, 전력은 ARM9급 성능은 ARM11, ARMv7 명령어 셋

A7 -                  전력은 Cortex-A5급 성능은 Cortex-A8, ARMv7 명령어 셋


[링크 : http://avenuel.tistory.com/1298] cortex-a5

[링크 : http://avenuel.tistory.com/1314] cortex-a7


[링크 : https://namu.wiki/w/ARM%20Cortex-A%20시리즈#s-1.1.1]

'embeded > ARM' 카테고리의 다른 글

arm9 dsp / arm11 simd instuction 비교?  (0) 2015.10.01
arm11 simd instruction  (0) 2015.10.01
cortex-m 시리즈와 포화연산  (0) 2015.08.26
ARM926EJ / ARMv5TE  (0) 2015.07.28
Jazelle 관련 검색  (0) 2015.04.28
Posted by 구차니