'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

vga porch  (4) 2018.06.01
VGA(RGB) 파형 측정  (0) 2018.05.30
hdmi pinout  (0) 2018.05.29
VGA 관련 자료 검색중  (0) 2018.05.29
I2c smbus slave interrupt  (0) 2018.04.24
Posted by 구차니
개소리 왈왈/독서2018. 5. 30. 09:19

모종의 이유가 있어(?) 16년간 딱히 책을 읽지 않다가

작년부터 다시 읽기 시작했는데

고등학교 적의 미친듯한 독서량을 따라가기에는 삶의 시간이 부족하여

이틀에 한권이라도 읽자라고 시작한 상황이라 조금은 반가운 책


다만 이 책의 저자는 대학원에 육아에 워킹맘 까지 다 하면서

이렇게 어떻게 책을 읽을수 있을까 싶을 정도이긴 하고

몇몇 책을 읽는 방법이라던가 도서분류법등을 소개하며

이런식으로 하면 습관화 하고 더 재미나게 치우치지 않고 볼 수 있다는 토닥임을 준다.


그리고 이 분은 천권 읽고 2천권을 목표로 하고 있고

나와는 다르게 천권 읽고 책을 냈다는건 참.. 부럽다 ㅠㅠ


[링크 : http://www.kyobobook.co.kr/product/detailViewKor.laf?barcode=9791130614274]


+

임계점이라는 말이 왜 이렇게 손이 오그라 드는걸까

딱히 틀린말은 아니지만 그럼에도 불구하고 몇권에 임계점을 넘었고.. 라는 표현은 오글오글 하다.


개인적은 표현으로는..

정보가 쌓여 지식이 되는 시점이라고 표현을 하는 편인데..

(조금 더 부연설명을 하자면,

"정보가 쌓여 서로 연결이 되고 그 연결 자체가 살아움직이기 시작하여 상위 단계로 올라가는"으로 표현하긴 함)


아무튼 장르불문이라고 해도 어느정도 치우친 독서를 하는 편이지만

이 책에서는 분류기호대로 구분해서 치우치지 않는 독서도 좋다고 권장을 한다.

근데 난 안될거야.. 아마 -_-

흥미가 안가면 손을 못대는 성격이라.. OTL




+

저자에게 있어서 책은 휴식처이자 돌파구이고 생명줄이었다.

다만 나에게는 책은 휴식처일뿐

돌파구와 생명줄은 다른 무언가를 만드는 행위라는 차이가 있을 뿐



+

서문에서 나오는 82년 김지영 언급은 웬지 사족으로 밖에 보이지 않는다.

일찍 취업하고(근속연수로 역산해보건대 2년제?)

일찍 결혼해서 출산하고

육아휴직도 짧게 쓰고 일로 돌아간 만큼 스스로 자부하는 워킹맘인데

이걸로도 충분한걸 괜한 쓸데없는 사족을 시작부터 달아 둔 느낌

Posted by 구차니
개소리 왈왈/독서2018. 5. 30. 09:18

전반적으로 무난한 책

반타블랙에 대한 언급이 빠져서 조금 아쉽긴 한데

어떤식으로 과학이 예술을 표현하는 도구로 사용되었는지

예술과 과학이 그리 먼 사이는 아니라는 내용을 이야기 한다.


[링크 : http://www.kyobobook.co.kr/product/detailViewKor.laf?barcode=9788952219022]

Posted by 구차니
개소리 왈왈/블로그2018. 5. 30. 09:09

방문자 수가 반토막 난 기분?

역시 언넝.. 티스토리를 뜨던가..

티스토리가 언넝 관리자 페이지에서 방문자 통계를 없애는 기능을 넣어주던가 해야해..

자꾸 신경 쓰임 ㅠㅠ

Posted by 구차니
Microsoft/Windows2018. 5. 29. 21:44

아버지 하드가 날아가서 복구하는데 이상한 폴더가 보여 검색..


$Extend는 예약된 폴더 명으로

일반적으로 생성할 수 없고 File System에 의해서 최상위 폴더로 관리되는 녀석이다.


$Extend\$Rmmetadata나

$Extend\$RmMetadata\$TxfLog

$Extend\$Delete 등이 보이던데

이거 관련한 정보는 영 안보이네..


[링크 : https://en.wikipedia.org/wiki/NTFS#Metafiles]

Posted by 구차니
Programming/C Win32 MFC2018. 5. 29. 11:39

갑자기 little endian인 x86 시스템에서

어떤식으로 Shift 연산자가 작동하는지 멘붕..


엔디안은 메모리에 저장하는 것이기에..

혹시 레지스터는 빅 엔디안으로 구현되는건가?

근데 수업 시간 기억으로는.. little endian이라 자릿수 늘어나도 처리가 부담없다고

그렇게 배운거 봐서는 adder도 모두 little endian인거 같긴한데..

블랙박스 부분이라 알수가 없네..


아무튼.. C 언어 레벨에서는 논리적으로는 big endian으로 처리하고

변환할 때 반대로 구현해줄줄 알았는데 그것도 아니고..(그냥 right는 SAR SHR로 구현)

도대체 어떻게 처리하는건지 알수가 없다.. ㅠㅠ


[링크 : https://code.i-harness.com/ko/q/5c375b]

[링크 : https://www.joinc.co.kr/w/Site/Network_Programing/Documents/endian]


[링크 : https://msdn.microsoft.com/ko-kr/library/336xbhcz.aspx?f=255&MSPPError=-2147217396]

[링크 : https://blogs.msdn.microsoft.com/.../hello-arm-exploring-undefined-unspecified-and-implementation-defined-behavior-in-c/]


[링크 : https://stackoverflow.com/questions/7184789/does-bit-shift-depend-on-endianness]

[링크 : https://stackoverflow.com/questions/1041554/bitwise-operators-and-endianness/1041573]


[링크 : https://www.ibm.com/developerworks/aix/library/au-endianc/index.html]


1235 page

Description

 Shifts the bits in the first operand (destination operand) to the left or right by the number of bits specified in the second operand (count operand). Bits shifted beyond the destination operand boundary are first shifted into the CF flag, then discarded. At the end of the shift operation, the CF flag contains the last bit shifted out of the destination operand. The destination operand can be a register or a memory location. The count operand can be an immediate value or the CL register. The count is masked to 5 bits (or 6 bits if in 64-bit mode and REX.W is used). The count range is limited to 0 to 31 (or 63 if 64-bit mode and REX.W is used). A special opcode encoding is provided for a count of 1. The shift arithmetic left (SAL) and shift logical left (SHL) instructions perform the same operation; they shift the bits in the destination operand to the left (toward more significant bit locations). For each shift count, the most significant bit of the destination operand is shifted into the CF flag, and the least significant bit is cleared (see Figure 7-7 in the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 1).

 The shift arithmetic right (SAR) and shift logical right (SHR) instructions shift the bits of the destination operand to the right (toward less significant bit locations). For each shift count, the least significant bit of the destination operand is shifted into the CF flag, and the most significant bit is either set or cleared depending on the instruction type. The SHR instruction clears the most significant bit (see Figure 7-8 in the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 1); the SAR instruction sets or clears the most significant bit to correspond to the sign (most significant bit) of the original value in the destination operand. In effect, the SAR instruction fills the empty bit position’s shifted value with the sign of the unshifted value (see Figure 7-9 in the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 1). 

[링크 : https://www.intel.com/.../64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf]



case 4:

packet[4] = (val >> 24) & 0xFF;

0115687B  mov         ebx,ecx  

0115687D  sar         ebx,18h  

01156880  mov         byte ptr [edi+4],bl  

packet[5] = (val >> 16) & 0xFF;

01156883  mov         ebx,ecx  

01156885  sar         ebx,10h  

01156888  mov         byte ptr [edi+5],bl  

packet[6] = (val >> 8) & 0xFF;

0115688B  mov         ebx,ecx  

0115688D  sar         ebx,8  

01156890  mov         byte ptr [edi+6],bl  

packet[7] = (val) & 0xFF;

01156893  mov         byte ptr [edi+7],cl  

break;

01156896  jmp         $LN11+54h (11568A8h)  

break; 

흐음... 어렵다...

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

c언어용 JSON 라이브러리 목록  (0) 2018.10.23
uuid in c  (0) 2018.10.22
const char *과 char * const 차이  (0) 2018.01.31
소스 코드 포맷 적용하기  (0) 2018.01.08
win32 시리얼 통신 LPCTSTR / LPCSTR  (0) 2017.12.07
Posted by 구차니
embeded/FPGA - ALTERA2018. 5. 29. 09:47

OV7670 / HDMI / VGA

일단.. VGA 테스트 패턴 해본 다음

OV7670 따라해보고

그 다음에 천천히 HDMI 테스트 패턴 출력해봐야지..


회로도 받아야 하고..

카페 검색해보니 4bit씩 R/G/B에 되어있다고..



회로도는 구매하신분에게 한하서 공개라고 하신거 봐서는

블로그에 회로도 올리면서 무언가 작업하긴 힘들듯..

'embeded > FPGA - ALTERA' 카테고리의 다른 글

PWM 발생기 1개 연결하기  (0) 2018.05.30
signal Tap 2와 talkback?  (0) 2018.05.30
altera signalTap  (0) 2018.05.24
quartus device family 삭제하기  (0) 2018.05.23
책 도착!  (2) 2018.05.21
Posted by 구차니

HDMI 핀 배열 및 신호 관련 정보 검색


[링크 : http://pinouts.ru/visual/gen/hdmi.jpg]

[링크 : http://pinouts.ru/Video/hdmi_pinout.shtml]


TMDS는 0/1/2+CLK로 구성되고

CEC와 DDC 그리고 Hotplug 및 5V 전원이 공급된다.

Pins 1 through 9 carry the three TMDS data channels (Transition Minimized Differential Signaling – the technology that allows DVI and HDMI to send high-speed digital data), three pins per channel. TMDS data includes both video and audio information, and each channel has three separate lines for + values, - values, and a ground or data shield.


Pins 10 through 12 carry data for the TMDS clock channel, which helps keep the signals in synchronization. As with the TMDS data channels, there are separate lines for + values, - values, and a data shield.


Pin 13 is carries the CEC (Consumer Electronics Control) channel, used for sending command and control data between connected devices.


Pin 14 is reserved for future use.


Pins 15 and 16 are dedicated to the DDC (Display Data Channel), used for communicating EDID (Extended Display Identification Channel) information between devices.


Pin 17 is a data shield for the CEC and DDC channels.


Pin 18 carries a low-voltage (+5V) power supply.


Pin 19 is the Hot Plug Detect, dedicated to monitoring power up/down and plug/unplug events. 

[링크 : https://www.hdmi.org/installers/insidehdmicable.aspx]


데이터는 8b/10b로 인코딩 됨

Both HDMI and DVI use TMDS to send 10-bit characters that are encoded using 8b/10b encoding

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


2.8V~3.3V로 표현.. TMDS니까 디퍼런셜 라인의 경우 어떻게 표현되려나?

디지털이니까 0과 1만 뒤집어 주면 되려나?

Basics

 HDMI leverages on the successful transition minimized differential signaling (TMDS) technology. The differential signals are +3.3 Volts, terminated in 50 Ω with nominal amplitude transitions of 500 mV (+2.8 V to +3.3 V). The voltage swing can vary from 150 mV to 800 mV. The signals have rise times of the order of 100 ps 

[링크 : http://download.tek.com/document/61W_17974_6_HR_Letter_0.pdf]


6.2.2 Video Control Signals : HSYNC, VSYNC

During the Data Island period, HDMI carries HSYNC and VSYNC signals using encoded bits on Channel 0. During Video Data periods, HDMI does not carry HSYNC and VSYNC and the Sink should assume that these signals remain constant. During Control periods, HDMI carries HSYNC and VSYNC signals through the use of four different control characters on TMDS Channel 0. 

[링크 : http://d1.amobbs.com/bbs_upload782111/files_51/ourdev_716302E34B9Q.pdf]


BGR 순서로 채널이 배정되는게 맞는 듯?

[링크 : http://www.wireworldcable.co.uk/hdmi_tech.html]


[링크 : https://www.cablestogo.com/learning/library/digital-signage/intro-to-tmds]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

VGA(RGB) 파형 측정  (0) 2018.05.30
VGA Pattern Generator 관련 검색  (0) 2018.05.30
VGA 관련 자료 검색중  (0) 2018.05.29
I2c smbus slave interrupt  (0) 2018.04.24
haze / defog  (0) 2018.03.19
Posted by 구차니

640*480에 대한 VHDL 코드 인듯?

0.1 + 0.2 + 0.4V 합치면 0.7V 니까.. 3비트 씩 해서 8(2^3)  * 8 * 8 = 512 컬러 인가?

A VGA video signal contains 5 active signals:

• horizontal sync: digital signal, used for synchronisation of the video

• vertical sync: digital signal, used for synchronisation of the video

• red (R): analog signal (0-0.7 v), used to control the color

• green (G): analog signal (0-0.7 v), used to control the color

• blue (B): analog signal (0-0.7 v), used to control the color 

흐음.. 이건 어떻게 해석을 해야 하나?


[링크 : http://lslwww.epfl.ch/pages/teaching/cours_lsl/ca_es/VGA.pdf]



요즘 사용하는건 I2C 들어간 DDC2 방식이라고 해야하나?

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

[링크 : http://pinouts.ru/Video/VGA15_pinout.shtml]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

VGA Pattern Generator 관련 검색  (0) 2018.05.30
hdmi pinout  (0) 2018.05.29
I2c smbus slave interrupt  (0) 2018.04.24
haze / defog  (0) 2018.03.19
USB class - DFU(Device Firmware Upgrade)  (0) 2017.12.26
Posted by 구차니

아내님 병원 검진 때문에 월차냈는데

반차내려다가 오전에 안 끝날꺼 같아서 월차내길 잘한듯


암튼 오후에 시간이 좀 남아서 간만에 드론을 날렸는데

어제는 아파트 공원에서 날리다가 프로펠러 가드 두개 날리고

오늘은 배터리 부족으로 급상승 하려던 중 배터리 부족으로 추락하여

가드 두개 다리 두개 날려먹음

거기다가 배터리 하나는 부풀어 올라서 폐기헤야 할 듯 하고

하나는 아까 급 방전으로 추락한 녀석..


솔찍히 시간 안보고 날려서 얼마나 날린진 모르겠지만

안전을 위해서 배터리는 사야할듯 ㅜㅜ (3만 ㅠㅠ)

프로펠러 가드랑 다리 사려니 속 쓰리네..


+

2018.05.29

배가 댕글떙글 부은 배터리 ㅠㅠ


'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

체력 오링..  (0) 2018.06.06
피곤피곤..  (0) 2018.06.02
주말이 머했는데 끝나냐...  (0) 2018.05.27
대충대충 한쪽벽면 보온벽지 시공  (0) 2018.05.26
아내님의 꿈 프론토 웨건 중고구매  (6) 2018.05.23
Posted by 구차니