'잡동사니'에 해당되는 글 13786건

  1. 2018.05.04 잠시나마 행복했군? 2
  2. 2018.05.04 powertop
  3. 2018.05.04 xilinx DONE
  4. 2018.05.04 altera conf_done
  5. 2018.05.03 php 개발환경 10
  6. 2018.05.03 멘탈 와사삭 2
  7. 2018.05.03 우드락 / 보드롱 / 폼보드?
  8. 2018.05.02 uart 2bit stop bit
  9. 2018.05.02 MFCCs - Mel-frequency cepstral coefficients
  10. 2018.05.01 원 채우기

저번달에는 막 2000~3000명 오더니

갑자기 이번달에는 원래 오던 1800명도 오지 않는다 ㅠㅠ

티스토리 언넝 개편다시 해서

관리자 페이지 커스터마이징 가능하게 하고

방문자 수 좀 없앴음 좋겠네.. 계속 신경쓰이게 하고 말이야



Posted by 구차니
Linux/Ubuntu2018. 5. 4. 18:09

PMIC가 있으면 소비전류를 모니터링 할 수 있을거 같은데



$ sudo apt-get install powertop

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  libpci3

Suggested packages:

  cpufrequtils laptop-mode-tools

The following NEW packages will be installed:

  libpci3 powertop

0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.

Need to get 202 kB of archives.

After this operation, 538 kB of additional disk space will be used.

Do you want to continue? [Y/n]

Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpci3 armhf 1:3.2.1-3 [48.2 kB]

Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main powertop armhf 2.6.1-1 [154 kB]

Fetched 202 kB in 1s (113 kB/s)

Selecting previously unselected package libpci3:armhf.

(Reading database ... 155355 files and directories currently installed.)

Preparing to unpack .../libpci3_1%3a3.2.1-3_armhf.deb ...

Unpacking libpci3:armhf (1:3.2.1-3) ...

Selecting previously unselected package powertop.

Preparing to unpack .../powertop_2.6.1-1_armhf.deb ...

Unpacking powertop (2.6.1-1) ...

Processing triggers for man-db (2.7.5-1~bpo8+1) ...

Setting up libpci3:armhf (1:3.2.1-3) ...

Setting up powertop (2.6.1-1) ...

Processing triggers for libc-bin (2.19-18+deb8u10) ...

$ powertop

PowerTOP v2.6.1 must be run with root privileges.

exiting...

$ sudo powertop

Cannot load from file /var/cache/powertop/saved_results.powertop

Cannot load from file /var/cache/powertop/saved_parameters.powertop

RAPL device for cpu 0

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

RAPL device for cpu 0

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Model-specific registers (MSR)                   not found (try enabling CONFIG_X86_MSR).

Cannot load from file /var/cache/powertop/saved_parameters.powertop

Leaving PowerTOP


라즈베리 파이 2B에서 하니 ACPI가 없어서 인지

BMS가 없어서 인지 모르겠지만 아래 링크에서 처럼 배터리 관련 W 정보가 나오지 않는다.

PowerTOP 2.6.1    Overview   Idle stats   Frequency stats   Device stats   Tunables


Summary: 0.0 wakeups/second,  0.0 GPU ops/seconds, 0.0 VFS ops/sec and 7.2% CPU use


                Usage       Events/s    Category       Description

             51.1 ms/s      0.00        Process        powertop

              3.3 ms/s      0.00        Interrupt      [62] dwc_otg_hcd:usb1

              2.0 ms/s      0.00        Process        /usr/bin/python /usr/bin/fail2ban-server -b -s /va

              1.6 ms/s      0.00        Interrupt      [62] dwc_otg

              1.6 ms/s      0.00        Process        /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib

              1.5 ms/s      0.00        Process        [kworker/3:2]

              1.1 ms/s      0.00        Interrupt      [17] arch_timer

              1.0 ms/s      0.00        Interrupt      [62] dwc_otg_pcd

              0.8 ms/s      0.00        Process        [migration/0]

              0.7 ms/s      0.00        Process        [migration/1]

              0.7 ms/s      0.00        Process        [migration/2]

            685.3 µs/s      0.00        Interrupt      [7] sched(softirq)

            628.8 µs/s      0.00        Timer          hrtimer_wakeup

            514.7 µs/s      0.00        Process        sshd: pi@pts/0

            509.5 µs/s      0.00        Timer          tick_sched_timer

            426.9 µs/s      0.00        Process        [migration/3]

            380.7 µs/s      0.00        Interrupt      [9] RCU(softirq) 


odroid U3 에는 그래도 PMIC가 있어서 기대를 했는데 똑같이 BMS가 없어서 그런지 안나오는건 여전하다.

PowerTOP 2.8      Overview   Idle stats   Frequency stats   Device stats   Tunables


Summary: nan wakeups/second,  nan GPU ops/seconds, nan VFS ops/sec and -0.0% CPU use


                Usage       Events/s    Category       Description

            100.0%                      Device         USB device: S5P EHCI Host Controller

            100.0%                      Device         USB device: usb-device-0424-9730

              7.6 pkts/s                Device         Network interface: eth0 (smsc95xx)

              0.0%                      Device         USB device: EXYNOS OHCI Host Controller

              0.0%                      Device         runtime-reg-fixed-voltage.0

             10.8%                      Device         USB device: usb-device-0424-3503

              0.0%                      Device         I2C Device (8-0038): s5p_hdmiphy

              0.0%                      Device         I2C Adapter (i2c-1): s3c2410-i2c

              0.0%                      Device         I2C Adapter (i2c-2): i2c-gpio2

              0.0%                      Device         I2C Adapter (i2c-3): s3c2410-i2c

              0.0%                      Device         I2C Adapter (i2c-0): s3c2410-i2c

              0.0%                      Device         I2C Adapter (i2c-7): s3c2410-i2c

              0.0%                      Device         I2C Adapter (i2c-8): s3c2410-i2c

              0.0%                      Device         I2C Device (0-0006): dummy

              0.0%                      Device         I2C Device (0-0008): usb3503

              0.0%                      Device         I2C Device (0-0009): max77686

              0.0%                      Device         I2C Device (1-0010): max98090

              0.0%                      Device         I2C Device (2-0050): s5p_ddc 


[링크 : https://askubuntu.com/questions/73904/how-do-i-monitor-power-consumption]

Posted by 구차니
embeded/FPGA - XILINX2018. 5. 4. 08:18

Xilinx 7 series 에도 DONE 이라는 핀이 있어서

설정이 끝나면 HIGH로 설정된다.


[링크 : https://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf]

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

zynq runtime pl fpga update  (0) 2021.03.15
헐...? Xilinx + ARM cortex-m  (0) 2018.10.11
vivado I/O Ports 연결 컨셉  (0) 2018.03.23
vivado device constraint  (0) 2018.03.20
vivado language template  (0) 2018.03.20
Posted by 구차니
embeded/FPGA - ALTERA2018. 5. 4. 08:11

epcs에서 fpga 게이트 설정 읽어들인후

사용이 가능해지는 시점에 핀이 high로 감


[링크 : https://www.altera.com/en_US/pdfs/literature/hb/cfg/cfg_cf51001.pdf]



de0-nano 프로젝트 열어서 보니

핀으로 할당되진 않았지만 FPGA 핀 중에

D - CONF_DONE

F - nCONFIG

S - nSTATUS

등의 핀이 따로 보이긴 한다.


핀 아웃 파일에도 H14에 설정되어 있다.

[링크 : https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/dp/cyclone-iv/ep4ce15.xls]

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

엥.. Quartus II Lite Edition... 라이센스?  (0) 2018.05.18
Nios II 컴파일 관련  (0) 2018.05.18
quartus 프로젝트 entry point 설정  (0) 2018.04.17
Device Installer (Quartus Prime 17.1)  (0) 2018.04.17
Quartus 프로젝트 생성  (0) 2018.04.16
Posted by 구차니
Programming/php2018. 5. 3. 23:06

eclipse가 가장 좋다고 하는데

GUI가 있는거라면 sublime이던 atom이던 notepad++던 상관없지만

그게 아니라면 vim 외에는 딱히 방법이 없어 보이기도 한다

(자동 완성을 어떻게 써먹어 봐야 하려나?)


그게 아니라면 멀티플랫폼 지원하는

eclipse가 역시 정답인가..


[링크 : http://tocomo.tistory.com/4] 윈도우 eclipse + xampp

[링크 : http://plog7.tistory.com/entry/우분투PDT-Eclipse-PHP개발환경] 우분투  apache + eclipse 설정

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

php exit()  (0) 2017.07.24
PHP session_start(): Cannot send session cookie 경고 해결방법  (0) 2017.07.23
php 명령줄 실행에 post / get 인자 넘기기  (0) 2017.07.23
캐시 제어  (0) 2017.07.23
php session_destroy  (0) 2017.06.10
Posted by 구차니

한것도 없는데 5월이네

내가 멀하려고 살고있나

Posted by 구차니
분류가 모호한 글2018. 5. 3. 13:23

폼보드 사서 잘라서 쓰는데

자사 홈페이지 설명과 우드락은 폐사의 어쩌구 적어놔서 홈페이지 가서 뒤져봄


우드락 / 보드롱 / 폼보드란?

발포 폴리스치렌은, 가볍고, 가공이 용이하며, 저렴한 가격대로 일상생활에서도 다양한 용도로 폭넓게 사용되어지고 있습니다. 보드롱, 폼보드는 기초재료인 발포 폴리스치렌을 가공하여 문구, 미술용도에 적합하게 강도와 두께, 크기등을 규격화하여 만든 제품류고유상표명이고 우드락은 문구, 미술재료용품인 캇타기, 본드, 잉크접착테이프, 흑판등을 지정상품으로 등록된 상품명입니다. 일반적으로 플라스틱은 환경에 좋지 않다는 이미지를 갖고 있지만 본사 제품의 기초 재료인 발포 폴리스치렌 수지는 98%가 공기로 이루어져 있고 재사용이 가능한 소재로, 안심하고 사용할 수 있는 절약 자원재료로서 종이, 목재제품보다 지구환경에 미치는 영향이 적은 제품입니다. 

※보드롱, 폼보드, 우드락은 폐사의 등록상표이므로 타사 제품에 무단 도용 및 사용을 엄격히 금합니다 


상표 : 폼보드, 보드롱, 우드락, 게이트폼, 하드폼 마카폼, 폼아트 외 다수

[링크 : http://www.foamboard.co.kr/data/hyunjin_catalog.pdf]

Posted by 구차니


Synchronization bits (동기화 비트)


Synchronization bits 는 2개 혹은 3개의 특수한 비트로 전송되는 데이터 패킷의 시작과 끝을 알립니다. 위 그림에서 start bit, stop bit가 해당됩니다. Start bit 는 1 bit, stop bit 는 1~2 bit 로 설정할 수 있습니다. (일반적으로 stop bit는 1bit를 사용)


Start bit 는 idle 상태(데이터 전송이 없는 상태)에서 active 상태로의 변화(1–>0)로 표시되며 stop 비트는 반대로 idle 상태로 변화함(1)을 의미합니다.

[링크 : http://www.hardcopyworld.com/ngine/aduino/index.php/archives/2080]

[링크 : https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter]




The Model 33 used the seven-bit upper-case only ASCII code, also known as CCITT International Telegraphic Alphabet No. 5, with one (even) parity bit and two stop bits. The Model 33 is usually geared to run at maximum speed ten characters per second speed, i.e., 100 words per minute (wpm), but other speeds are available: 60 wpm, 66 wpm, 68.2 wpm, and 75 wpm.[9] There were also many typewheel options. The Teletype Parts Bulletin[10] lists sixty-nine available Model 33 typewheel options. 

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

    [링크 : https://electronics.stackexchange.com/questions/29945/one-or-two-uart-stop-bits]



1.5 stop bit

[링크 : https://electronics.stackexchange.com/questions/78788/what-is-the-meaning-of-half-bit-in-this-context]


START는 HIGH에서 LOW로 해주는 0

STOP은 LOW에서 HIGH로 해주는 1이기에

2bit STOP 역시 0b11로 표기된다.


[링크 : http://www.circuitgrove.com/tutorials/uart-universal-asynchronous-receivertransmitter]

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

SDN - Software Defined Networking  (0) 2018.06.27
rs-422 / rs-485  (0) 2018.05.23
rs232 / ttl 전기적 특성(?)  (0) 2016.09.22
i2c ...  (0) 2016.05.03
Gigabit / Terabit Ethernet  (0) 2015.05.18
Posted by 구차니

음성 인식 관련 알고리즘..


[링크 : https://blog.naver.com/mylogic/220988857132]

[링크 : https://en.wikipedia.org/wiki/Mel-frequency_cepstrum]

'이론 관련 > 전기 전자' 카테고리의 다른 글

자이로 드리프트  (0) 2018.05.15
balanced unbalanced  (0) 2018.05.14
용어 정리  (0) 2018.04.22
pmos nmos cmos  (0) 2018.04.12
Retiming  (0) 2018.04.12
Posted by 구차니

hatch 명령으로 채우면 됨


[링크 : https://knowledge.autodesk.com/.../GUID-EFAAB5F6-FE3C-4052-9E04-560AE6A8B814-htm.html]


donut도 있긴한데 내가 원하는 큰 점을 그리는 방법으로는

circle로 그리고 hatch로 채우는게 나을 듯(solid)

[링크 : https://blog.naver.com/comwj/130139793166]

'프로그램 사용 > autocad' 카테고리의 다른 글

autocad web app 구동조건이 64bit 그리고?  (0) 2020.06.21
캐드 명령어 이것저것  (0) 2018.01.09
autocad 명령어  (0) 2018.01.08
autolisp  (0) 2014.03.17
AutoCad 2011 도움말 - 명령어  (0) 2014.01.17
Posted by 구차니