굽는것도 라즈베리 통해서 저 1.27mm pitch의 망할(!) 커넥터를 해야할 것 같은데 이래저래 좀 귀찮을 듯

일단은 구워져 있고 PC에 연결하면 시리얼 포트로 뜨긴 한데

콘솔에서 먼가 입력해도 baudrate를 115k로 해서 그런가 응답이 없다.

 

[링크 : https://blog.naver.com/fromzip/222009276457]

[링크 : https://m.blog.naver.com/ohminy11/222520636013]

[링크 : https://psychoria.tistory.com/m/692]

 

[링크 : https://github.com/Koenkk/Z-Stack-firmware]

[링크 : https://www.ti.com/product/ko-kr/CC2531]

[링크 : https://www.ti.com/lit/ds/symlink/cc2531.pdf]

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

mosquitto qos  (0) 2025.04.18
mosquitto for windows 계정추가  (0) 2025.02.18
mosquitto service for windows  (0) 2025.02.18
ubuntu MQTT(mosquito)  (0) 2024.05.23
mosquitto - MQTT broker  (0) 2019.05.15
Posted by 구차니

혹시나 해서 jsm583 칩으로 만들어진 리뷰안 m.2 to USB3.0을 이용해서 사용이 가능한가 했는데 역시나(?) 안되는 듯.

usb 자체가 pcie bridge로 작동하는게 아니라 usb storage class로 잡혀 버리는 듯.

[338494.964509] usb 2-3: new SuperSpeed USB device number 4 using xhci_hcd
[338494.977488] usb 2-3: New USB device found, idVendor=152d, idProduct=0583, bcdDevice= 2.13
[338494.977506] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[338494.977513] usb 2-3: Product: RevuAhn UX981
[338494.977519] usb 2-3: Manufacturer: RevuAhn
[338494.977524] usb 2-3: SerialNumber: DD56419883F0D
[338495.034745] usbcore: registered new interface driver usb-storage
[338495.041007] scsi host0: uas
[338495.041138] usbcore: registered new interface driver uas
[338495.041650] scsi 0:0:0:0: Direct-Access     RevuAhn  UX981            0213 PQ: 0 ANSI: 6
[338495.043619] sd 0:0:0:0: Attached scsi generic sg0 type 0
[338504.393782] sd 0:0:0:0: [sda] Unit Not Ready
[338504.393801] sd 0:0:0:0: [sda] Sense Key : Hardware Error [current] 
[338504.393815] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 
[338504.520396] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[338504.520415] sd 0:0:0:0: [sda] Sense Key : Hardware Error [current] 
[338504.520427] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 
[338504.646381] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[338504.646398] sd 0:0:0:0: [sda] Sense Key : Hardware Error [current] 
[338504.646411] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 
[338504.690523] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[338504.690528] sd 0:0:0:0: [sda] 0-byte physical blocks
[338504.812434] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[338504.857011] sd 0:0:0:0: [sda] Asking for cache data failed
[338504.857031] sd 0:0:0:0: [sda] Assuming drive cache: write through
[338504.857041] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes not a multiple of physical block size (0 bytes)
[338504.857049] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (0 bytes)
[338504.857933] sd 0:0:0:0: [sda] Attached SCSI disk

 

PCIe Bridge는 맞지.. storage solution 이라 그렇지...(!!)

JMicron announced its JMS583 (USB 3.1 to PCIe Bridge controller) received USB-IF Logo Certification

The JMS583 is mainly used in the development of PCIe/NVMe related products, such as converting a PCIe/NVMe SSD to a superspeed plus USB interface portable mobile storage solution.

This will significantly reduce the cost and time needed for PCIe/NVMe SSD production in the factory, which will also accelerate the end-product’s time-to-market. JMicron believes that the market will always strive for extreme high-speed, low power consumption, thin and light solutions for external storage products.

[링크 : https://www.jmicron.com/news/detail/21]

 

USB 쪽을 Mass stroage class로 구현되어서 발생한 일인듯하다.

Complies with PCI Express Base Specification Revision 3.1a
◼ Complies with NVM Express 1.3
◼ Complies with USB 3.1 Gen 1 and Gen 2 Specification, USB Mass Storage Class, Bulk-Only Transport Specification (Revision 1.0)
◼ Complies with USB Attached SCSI Protocol (UASP) Specification (Revision 4)

[링크 : https://www.jmicron.com/file/download/1012/JMS583_Product+Brief.pdf]

 

+

2x Intel Movidius Myriad X

[링크 : https://jm.pl/gfx-base/s_1/orgs/18/EGPA-I201-C1.pdf]

  [링크 : https://jm.pl/en/egpa-i201-c1-m-2-to-dual-mydx-module/9207831/produkt/]

  [링크 : https://www.wdlsystems.com/Innodisk-EGPA-I201] 215$?

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

nnstreamer ubuntu package  (0) 2025.09.05
movidius MyriadX * 2  (1) 2025.01.08
openvino myriad  (2) 2025.01.04
intel NCS2 ubuntu 설치?  (0) 2020.10.21
intel ncs2 설치  (0) 2020.10.21
Posted by 구차니

특정 버전에서 지원이 빠졌던 것 같다.

Summary
OpenVINO™ version that supports MYRIAD device.

Description
Unable to determine whether MYRIAD device is supported on OpenVINO™ 2022.3.0.

Resolution
Intel® Movidius ™ VPU based products (MYRIAD device) are not supported in OpenVINO™ 2022.3.0 release but will be added back in a future OpenVINO™ 2022.3.1 LTS update.

[링크 : https://www.intel.com/content/www/us/en/support/articles/000093855/software/development-software.html]

 

[링크 : https://www.intel.com/content/www/us/en/developer/articles/guide/get-started-with-neural-compute-stick.html]

[링크 : https://docs.openvino.ai/2024/about-openvino/release-notes-openvino/system-requirements.html]

 

 

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

movidius MyriadX * 2  (1) 2025.01.08
innodisk egpa-i201-c1 Movidius Myriad X  (0) 2025.01.06
intel NCS2 ubuntu 설치?  (0) 2020.10.21
intel ncs2 설치  (0) 2020.10.21
intel Movidius NCS / VPU  (0) 2020.10.21
Posted by 구차니

컵이랑 접시는 기막히게 뽑아낼수있을 느낌 !!

[링크 : https://youtu.be/Mpjlf585UZg?si=33x034xiOXry4m_W]

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

blender 휠 에뮬레이트 하기  (0) 2025.05.18
blender + kinect  (0) 2025.04.16
blender render - cycle, eevee  (0) 2024.08.30
blender shader editor (4.2 bloom)  (0) 2024.08.29
blender set origin  (0) 2024.08.23
Posted by 구차니

README.md 파일과 동일 경로에 넣고

./screenshot.png 식으로 링크 걸어주면 자동으로 걸린다.

![alt text](./imagefile_name.ext)

[링크 : https://aiday.tistory.com/83]

 

잘 걸려있네!

[링크 : https://github.com/minimonk82/forza_horizon_4_telemetry]

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

gitlab 백업하기  (0) 2019.03.23
gitlab wiki  (2) 2019.01.28
git push rejected by remote protected branch  (2) 2018.09.04
gitlab  (2) 2018.08.13
Posted by 구차니

ms office에서는 쉽게 했던것 같은데

번거롭지만 도구 - 색상 교체기를 통해서 비슷하게 할 순 있다.

 

검은색을 피커로 찍어서 흰색으로 설정하고

흰색을 피커로 찍어서 검은색으로 설정하고 바꾸기 하면 완성~

[링크 : https://help.libreoffice.org/latest/ko/text/sdraw/guide/eyedropper.html]

Posted by 구차니
프로그램 사용/busybox2024. 12. 4. 16:59

busybox에 포함된 minicom 보다 더 간략화된 통신 터미널인데

설명이 부실해서 종료하는 법을 알기 힘들다 -_-

 

ctrl-x

[링크 : https://www.armadeus.org/wiki/index.php?title=Microcom]

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

sh: line 1: kill: root: no such pid  (0) 2015.01.05
busybox su가 안될 경우  (0) 2014.12.05
busybox tftp  (0) 2013.06.18
busybox - setconsole  (0) 2011.10.21
busybox ash "cannot open /dev/ttyAS1: no such device"  (0) 2010.04.20
Posted by 구차니
프로그램 사용/ncurses2024. 12. 2. 10:22

screen - window 계층 구조인 것 같고

상자는 세로, 가로로 쓸 문자만 넣어주면 되는 듯. 터미널 사이즈에 따른 동적 변화는 따로 찾아봐야겠네.

#include <ncurses.h>

int main(void){
    initscr();
    start_color();
    init_color(1, 0, 1000, 0);      // 1번 색상(글자색): 초록색
    init_color(2, 0, 0, 1000);      // 2번 색상(배경색): 파랑색
    init_pair(1, 1, 2);             // 1번 Color pair를 초록 글자색과 파랑 배경색으로 지정
    
    WINDOW * win = newwin(20, 20, 10, 10);
    box(win, '|', '-');
    waddch(win, 'A' | COLOR_PAIR(1));   // 1번 Color pair를 적용해 문자 출력

    refresh();
    wrefresh(win);
    getch();
    endwin();
}

 

start_color() 로 색상을 사용할 수 있도록 설정하고

init_color(index, , , ,)로 팔레트를 초기화 하고

attron(attribute on), attroff(attribute off) 함수로 색상을 적용/해제 한다.

#include <ncurses.h>

int main(void){
    initscr();
    start_color();

    init_color(1, 0, 1000, 0);
    init_color(2, 0, 0, 1000);
    init_pair(1, 1, 2);

    attron(COLOR_PAIR(1));    // 출력 색상을 1번 Color pair로 변경
    printw("Hello");
    attroff(COLOR_PAIR(1));   // 속성 해제

    refresh();
    getch();
    endwin();
}

[링크 : https://magmatart.dev/development/2017/06/15/ncurses4.html]

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

ncurses 예제  (0) 2024.11.30
ncurse example  (0) 2022.05.17
ncurse  (0) 2015.04.27
Posted by 구차니
프로그램 사용/ncurses2024. 11. 30. 15:11

forza horizon 모션 데이터 출력을 위해서 ncurse 사용하게 될 줄이야..

 

일단 패키지를 설치해주고

$ sudo apt-get install libncurses-dev

 

소스를 가져오고

#include <ncurses.h>
#include <unistd.h>

int func1(){
    initscr();
    mvprintw(0, 0, "Hello, World"); // 화면의 0행, 0열부터 Hello, World를 출력합니다.
    refresh(); // 화면에 출력하도록 합니다.
    sleep(1);
    endwin();
    return 0;
}

int main(){
    return func1();
}
#include <ncurses.h>
#include <unistd.h>

int timer(){
    int row = 10, col = 10;
    initscr();
    noecho(); // 입력을 자동으로 화면에 출력하지 않도록 합니다.
    curs_set(FALSE); // cursor를 보이지 않게 합니다. 

    keypad(stdscr, TRUE);
    while(1){
        int input = getch();
        clear();
        switch(input){
            case KEY_UP:
            mvprintw(--row, col, "A"); // real moving in your screen
            continue;
            case KEY_DOWN:
            mvprintw(++row, col, "A");
            continue;
            case KEY_LEFT:
            mvprintw(row, --col, "A");
            continue;
            case KEY_RIGHT:
            mvprintw(row, ++col, "A");
            continue;

        }
        if(input == 'q') break;
    }

    endwin();
    return 0;
}

int main(){
    return timer();
}

 

아래의 링커 옵션을 주고 빌드하면 끝

$ gcc ncruse_example.c -lncurses -o bin/ex1

 

mvprintw() 만 쓰면 원하는 위치에 꾸준히 갱신할 수 있을 듯

[링크 : https://blackinkgj.github.io/ncurses/]

 

 

[링크 : https://www.ibm.com/docs/ko/aix/7.3?topic=p-printw-wprintw-mvprintw-mvwprintw-subroutine]

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

ncurses 상자 및 색상 적용하기  (0) 2024.12.02
ncurse example  (0) 2022.05.17
ncurse  (0) 2015.04.27
Posted by 구차니
프로그램 사용/octave2024. 11. 26. 14:22

dlm read 인데... delimeter의 약자인가?

아무튼 느낌으로는

("파일명","구분자",건너뛸 라인수, 시작할 행, 시작할 열)

일 것 같다.

 

데이터 파일

$ cat test.csv
Wavelength= 88.7927 m
Time    Height  Force(KN/m)
0, -20, 70668.2
0, -19, 65875
0, -18, 61411.9
0, -17, 57256.4

 

gnu octave에서

>> ans = dlmread('tt.csv',',',2,0);
>> ans
ans =

            0  -2.0000e+01   7.0668e+04
            0  -1.9000e+01   6.5875e+04
            0  -1.8000e+01   6.1412e+04
            0  -1.7000e+01   5.7256e+04

>>

[링크 : https://stackoverflow.com/questions/25325577/calling-csv-file-into-octave]

 

M = dlmread(filename)
M = dlmread(filename,delimiter)
M = dlmread(filename,delimiter,R1,C1)
M = dlmread(filename,delimiter,[R1 C1 R2 C2])

[링크 : https://www.mathworks.com/help/matlab/ref/dlmread.html]

 

: data = dlmread (file)
: data = dlmread (file, sep)
: data = dlmread (file, sep, r0, c0)
: data = dlmread (file, sep, range)
: data = dlmread (…, "emptyvalue", EMPTYVAL)

[링크 : https://octave.sourceforge.io/octave/function/dlmread.html]

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

octave audioread wav  (0) 2023.07.12
공짜 matlab? octave  (0) 2015.11.05
Posted by 구차니