이제 민방위로 바뀌었지만...

예비군 하던 곳이라서 웬지 더 섬칫한 뉴스..



그나저나 뉴스에서

예비군 훈련장이라던가 어떻게 훈련한다 라던가

이런거 너무 상세하게 보여주는거 아닌가 싶은데..

이거 다~ 군사기밀 아니었던가?

Posted by 구차니
개소리 왈왈/블로그2015. 5. 13. 08:51

적다면 적은 금액이고 많다면 많은 금액..

참 시간만 잘 지나간다...



'개소리 왈왈 > 블로그' 카테고리의 다른 글

댓글 알림은 있는데 댓글이 사라졌다?  (4) 2015.06.11
한RSS 역사의 뒤안길로..  (0) 2015.05.14
간만에 블로그가 미친날?  (2) 2015.04.30
잘가 구글 코드  (0) 2015.03.13
우비에 mediawiki 연결!  (0) 2015.03.11
Posted by 구차니
하드웨어/Storage2015. 5. 12. 20:46

토렝이 때문에 한번씩 접속하다 보니 업데이트 바로 뜨는걸 확인

그래도 한달에 한번은 업데이트 하나보네.. 부지런해라 ㄷㄷㄷ



큰 차이는 없고 SSH 암호화 방법 설정이라던가

여러가지 소소한 업데이트

'하드웨어 > Storage' 카테고리의 다른 글

synology iSCSI  (0) 2015.05.15
win7 + synology NAS iSCSI 연동  (0) 2015.05.14
synology DS213j / 다운로드 스테이션(토렌트)  (0) 2015.05.08
synology DS213j 보안 어드바이저  (0) 2015.05.08
ds213j file station 스트리밍  (0) 2015.05.06
Posted by 구차니
embeded/raspberry pi2015. 5. 12. 20:44

config.txt

dtoverlay=lirc-rpi,gpio_in_pin=18,debug=on


으로 설정하니 예전 5.0.4랑 차이가 없는 것으로 보인다.

gpio-18은 언제 쯤 나오려나.. ㅠㅠ


OpenELEC:~ # modprobe lirc_rpi debug=1


OpenELEC:~ # cat /sys/kernel/debug/gpio


GPIOs 0-53, platform/3f200000.gpio, pinctrl-bcm2835:

 gpio-35  (led1                ) in  hi

 gpio-47  (led0                ) out lo


OpenELEC:~ # cat /proc/interrupts

            CPU0       CPU1       CPU2       CPU3

 16:          0          0          0          0   ARMCTRL  16  bcm2708_fb dma

 24:         35          0          0          0   ARMCTRL  24  DMA IRQ

 25:       1414          0          0          0   ARMCTRL  25  DMA IRQ

 32:      28402          0          0          0   ARMCTRL  32  dwc_otg, dwc_otg_pcd, dwc_otg_hcd:usb1

 49:          0          0          0          0   ARMCTRL  49  3f200000.gpio:bank0

 50:          0          0          0          0   ARMCTRL  50  3f200000.gpio:bank1

 65:         28          0          0          0   ARMCTRL  65  ARM Mailbox IRQ

 66:      37570          0          0          0   ARMCTRL  66  VCHIQ doorbell

 75:          1          0          0          0   ARMCTRL  75

 84:       5247          0          0          0   ARMCTRL  84  mmc0

 99:       7986       6287       9505       6913   ARMCTRL  99  arch_timer

466:          0          0          0          0  pinctrl-bcm2835  18  lirc_rpi

FIQ:              usb_fiq

IPI0:          0          0          0          0  CPU wakeup interrupts

IPI1:          0          0          0          0  Timer broadcast interrupts

IPI2:       9274      26365      21700      11433  Rescheduling interrupts

IPI3:          1          3          5          5  Function call interrupts

IPI4:          3          1          0          1  Single function call interrupts

IPI5:          0          0          0          0  CPU stop interrupts

IPI6:          1          0          0          0  IRQ work interrupts

IPI7:          0          0          0          0  completion interrupts

Err:          0


OpenELEC:~ # dmesg | grep -i lirc

[    5.758491] lirc_dev: IR Remote Control driver registered, major 248

[    5.784692] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.

[    5.786415] lirc_rpi: to_irq 466

[    6.679084] lirc_rpi: auto-detected active high receiver on GPIO pin 18

[    6.679548] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0

[    6.679576] lirc_rpi: driver registered!

[    6.917559] input: lircd as /devices/virtual/input/input1

[    7.945875] lirc_rpi: Interrupt 466 obtained

[    7.945897] lirc_rpi: in init_timing_params, freq=38000 pulse=13157, space=13158


OpenELEC:~ # lsmod | grep irc

lirc_rpi                5882  3

lirc_dev                7578  1 lirc_rpi

rc_core                14603  1 lirc_dev 



'embeded > raspberry pi' 카테고리의 다른 글

class 6 SDHC 굽는 속도  (0) 2015.05.24
어허허 파워드 허브를 사야하나? -_-  (0) 2015.05.23
openELEC 5.0.8  (0) 2015.05.12
wiring Pi  (0) 2015.05.12
UHS 지원여부?  (0) 2015.05.11
Posted by 구차니
embeded/raspberry pi2015. 5. 12. 20:10

기존에 테스트 하던건 5.0.4 였네

좀 달라졌으려나...



2015년 3월 31일 릴리즈 버전이다.

'embeded > raspberry pi' 카테고리의 다른 글

어허허 파워드 허브를 사야하나? -_-  (0) 2015.05.23
openelec 5.0.8 lirc 활성화 확인  (0) 2015.05.12
wiring Pi  (0) 2015.05.12
UHS 지원여부?  (0) 2015.05.11
cortex-a7 / NEON 그리고.. 멀티프로세서  (0) 2015.05.07
Posted by 구차니
Programming/Java2015. 5. 12. 16:19

문득 수다 떨다가 검색 -_-

야이!!! FXXKIING 오라클!!!


Is Java still free?

The current version of Java - Java SE 8 - is free and available for redistribution for general purpose computing. Java SE continues to be available under the Oracle Binary Code License (BCL) free of charge. JRE use for embedded devices and other computing environments may require a license fee from Oracle. Read more about embedded use of Java SE or contact your local Oracle sales representative to obtain a license.

[링크 : http://www.oracle.com/technetwork/articles/javase/faqs-jsp-136696.html]


So What Does Java SE-Embedded Cost?


The universal answer to such a question is: it depends.  That is to say it depends upon the capability of the embedded processor.  Before we lose you, let's show the list price for Java embedded licensing associated with three platforms and then explain how we arrived at the numbers.  As of the posting of this entry, 06 December, 2013, here they are:


Per-unit cost for a Raspberry Pi: US $0.71

Per-unit cost for system based on Intel Atom Z510P: US $2.68

Per-unit cost for a Compulab Trim-Slice: US $5.36

[링크 : https://blogs.oracle.com/jtc/entry/java_embedded_pricing_publicly_available]

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

Java SE 8 설치해보려고 했더니..  (2) 2019.01.03
자바 유료화?  (10) 2018.11.05
predefined annotation /java  (0) 2014.06.27
JUnit tutorial  (0) 2014.06.27
java unchecked/checked exception  (0) 2014.05.15
Posted by 구차니
Programming/C Win32 MFC2015. 5. 12. 14:44

프로젝트에서 inline 함수를 다른 파일로 뺴서 하니

없는 함수라고 배째는 현상 발생 -_-


일단 __inline 키워드 빼니 해결되긴 한데..

extern __inline 이렇게 안해줘서 그런가?


[링크 : http://stackoverflow.com/questions/5229343/how-to-declare-an-inline-function-in-c99-multi-file-project]


KEIL

[링크 : http://www.keil.com/forum/13177/]

'Programming > C Win32 MFC' 카테고리의 다른 글

gcc 컴파일러 -D 옵션  (0) 2015.05.19
setjmp, longjmp  (0) 2015.05.19
혼돈의 카오스 - 교차참조 헤더  (0) 2015.05.11
#ifdef 와 #ifdef ()의 차이  (0) 2015.04.13
winUSB / win32 physical drive  (0) 2014.12.23
Posted by 구차니
embeded/raspberry pi2015. 5. 12. 13:03


기본 통합된건 없는것 같긴한데..

라즈베리 파이용 GPIO 컨트롤 라이브러리 라고 하면 되려나?

[링크 : http://wiringpi.com/download-and-install/]


pi4j는 wireing PI의 자바버전

[링크 : http://pi4j.com/]



void pinMode (int pin, int mode) ;

void pullUpDnControl (int pin, int pud) ;

void digitalWrite (int pin, int value) ;

void pwmWrite (int pin, int value) ;

int digitalRead (int pin) ;

analogRead (int pin) ;

analogWrite (int pin, int value) ;

[링크 : http://wiringpi.com/reference/core-functions/]

[링크 : http://wiringpi.com/reference/raspberry-pi-specifics/]

'embeded > raspberry pi' 카테고리의 다른 글

openelec 5.0.8 lirc 활성화 확인  (0) 2015.05.12
openELEC 5.0.8  (0) 2015.05.12
UHS 지원여부?  (0) 2015.05.11
cortex-a7 / NEON 그리고.. 멀티프로세서  (0) 2015.05.07
라즈베리 파이 2- 라즈비안 lirc  (0) 2015.05.05
Posted by 구차니
embeded/raspberry pi2015. 5. 11. 14:41


라즈베리에서는 UHS SD 스펙을 지원하지 않는건가?


[링크 : http://www.hardkernel.com/main/products/prdt_info.php]


일단.. SD 위원회 자료로는 UHS SD 카드라고 해도 장비에서 지원하지 않으면

Class 10 으로 하향 접속이 되는 것으로 보인다.

[링크 : https://www.sdcard.org/developers/overview/speed_class/]

'embeded > raspberry pi' 카테고리의 다른 글

openELEC 5.0.8  (0) 2015.05.12
wiring Pi  (0) 2015.05.12
cortex-a7 / NEON 그리고.. 멀티프로세서  (0) 2015.05.07
라즈베리 파이 2- 라즈비안 lirc  (0) 2015.05.05
BCM2708/BCM2835 ???  (0) 2015.04.30
Posted by 구차니
Programming/C Win32 MFC2015. 5. 11. 12:49

이번에 코드 재정비 중인데...

어우.. 정말 교차참조 하지 않도록 짜아야

수많은 ifdef의 향연에 꼬이는 바람에 뇌가 꽈직꽈직



아무튼 헤더도 계층을 만들어서 하던가 해야지

상호 교차참조 하는 상황에서는 예측 불가능한 상황이 발생할 수 있다.


헤더 중복 방지

[링크 : http://chanywa.com/8]


헤더 hierarchy

[링크 : http://ekessy.tistory.com/33]

'Programming > C Win32 MFC' 카테고리의 다른 글

setjmp, longjmp  (0) 2015.05.19
inline 함수..  (0) 2015.05.12
#ifdef 와 #ifdef ()의 차이  (0) 2015.04.13
winUSB / win32 physical drive  (0) 2014.12.23
printf POSIX 확장 %1$d  (0) 2014.12.09
Posted by 구차니