'2025/12'에 해당되는 글 41건

  1. 2025.12.23 kernel input_event()
  2. 2025.12.22 clamav
  3. 2025.12.20 k5 2026 차 바꾸고 한달 3
  4. 2025.12.20 둠 이터널 - 수직 동기화 문제 -_- 2
  5. 2025.12.19 개피곤
  6. 2025.12.18 일이 끝나지 않아!
  7. 2025.12.17 외근, 피곤
  8. 2025.12.16 bluepill 보드를 stlink v2로 만들기
  9. 2025.12.16 LoRa modulation basics
  10. 2025.12.16 lora CR(coding rate)
Linux API/linux2025. 12. 23. 10:52

먼가 uinput 에서 사용하던 함수 같은 느낌의 코드가 보여서 찾아보는 중

input_event(input, EV_ABS, ABS_MT_POSITION_X, *slot->x);
input_event(input, EV_ABS, ABS_MT_POSITION_Y, *slot->y);
input_event(input, EV_ABS, ABS_MT_TOOL_X, *slot->cx);
input_event(input, EV_ABS, ABS_MT_TOOL_Y, *slot->cy);
input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state);
input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation);
input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p);
input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, major);
input_event(input, EV_ABS, ABS_MT_TOUCH_MINOR, minor);

 

void input_event(struct input_dev * dev, unsigned int type, unsigned int code, int value)
report new input event

Parameters

struct input_dev * devdevice that generated the eventunsigned int typetype of the eventunsigned int codeevent codeint valuevalue of the event

Description
This function should be used by drivers implementing various input devices to report input events. See also input_inject_event().

NOTE

input_event() may be safely used right after input device was allocated with input_allocate_device(), even before it is registered with input_register_device(), but the event will not reach any of the input handlers. Such early invocation of input_event() may be used to ‘seed’ initial state of a switch or initial position of absolute axis, etc.

[링크 : https://www.kernel.org/doc/html/v4.14/driver-api/input.html#c.input_event]

'Linux API > linux' 카테고리의 다른 글

linux 시리얼 포트 열기(termios)  (0) 2025.10.11
LD_DEBUG=libs  (0) 2025.06.02
linux device tree(dtb) 문법...?  (0) 2024.12.04
usb hid, hidraw  (0) 2024.03.11
linux 멀티터치 프로토콜  (0) 2024.03.08
Posted by 구차니
Linux/Ubuntu2025. 12. 22. 15:15

clamav 라고 리눅스용 백신이라고 보면 되는데 ubuntu 22.04 에서 설치시도!

$ sudo apt-cache search clamav
amavisd-new - MTA와 바이러스 검사 프로그램 간 인터페이스/내용 필터
clamav - 유닉스용 안티 바이러스 유틸리티 - 명령행 인터페이스
clamav-base - anti-virus utility for Unix - base package
clamav-daemon - anti-virus utility for Unix - scanner daemon
clamav-freshclam - anti-virus utility for Unix - virus database update utility
clamdscan - anti-virus utility for Unix - scanner client
libclamav-dev - anti-virus utility for Unix - development files
libclamav9 - anti-virus utility for Unix - library
clamsmtp - 바이러스 스캐닝 SMTP 프락시
clamtk - ClamAV용 그래픽 프런트엔드
courier-filter-perl - Courier MTA용 순수 펄기반 메일 필터 프레임워크
amavisd-new-postfix - part of Ubuntu mail stack provided by Ubuntu server team
clamassassin - email virus filter wrapper for ClamAV
clamav-cvdupdate - ClamAV Private Database Mirror Updater Tool
clamav-milter - anti-virus utility for Unix - sendmail integration
clamav-testfiles - anti-virus utility for Unix - test files
clamav-unofficial-sigs - update script for 3rd-party clamav signatures
clamfs - user-space anti-virus protected file system
clamtk-gnome - GNOME (Nautilus) MenuProvider extension for ClamTk
claws-mail-clamd-plugin - ClamAV socket-based plugin for Claws Mail
havp - HTTP Anti Virus Proxy
libc-icap-mod-virus-scan - Antivirus Service for c-icap
libclamav-client-perl - Perl client for the ClamAV virus scanner daemon
monitoring-plugins-contrib - Plugins for nagios compatible monitoring systems
postgresql-14-snakeoil - PostgreSQL anti-virus scanner based on ClamAV
proftpd-mod-clamav - ProFTPD module mod_clamav
python3-pyclamd - Python 3 interface to the ClamAV daemon
libclamunrar9 - anti-virus utility for Unix - unrar support
clamav-doc - anti-virus utility for Unix - documentation
clamav-docs - anti-virus utility for Unix - documentation
libclamav12 - anti-virus utility for Unix - library
clamav-testfiles-rar - anti-virus utility for Unix - test files
libclamunrar - anti-virus utility for Unix - unrar support
libclamunrar12 - anti-virus utility for Unix - unrar support

 

깔면 알아서 업데이트용 프로그램과 함께 설치된다.

$ sudo apt-get install clamav
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음의 추가 패키지가 설치될 것입니다 :
  clamav-base clamav-freshclam libclamav12 libmspack0
제안하는 패키지:
  libclamunrar clamav-doc libclamunrar11
다음 새 패키지를 설치할 것입니다:
  clamav clamav-base clamav-freshclam libclamav12 libmspack0
0개 업그레이드, 5개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
6,682 k바이트 아카이브를 받아야 합니다.
이 작업 후 31.4 M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] 

 

freshclam은 이미 백그라운드로 돌고 있어서 굳이 수동으로 할 필요는 없어 보인다.

$ sudo freshclam 
ERROR: Failed to lock the log file /var/log/clamav/freshclam.log: Resource temporarily unavailable
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!

$ ps -ef | grep fresh
clamav   2903247       1  9 10:58 ?        00:00:02 /usr/bin/freshclam -d --foreground=true
minimonk  2903734 2902302  0 10:58 pts/18   00:00:00 grep --color=auto fresh

 

별다른 옵션을 주지 않으면 현재 디렉토리 하위로 검색하는 듯.

$ clamscan
Loading:     7s, ETA:   0s [========================>]    3.63M/3.63M sigs       
Compiling:   3s, ETA:   0s [========================>]       41/41 tasks 

/home/minimonk/.node_repl_history: OK

----------- SCAN SUMMARY -----------
Known viruses: 3626999
Engine version: 1.4.3
Scanned directories: 1
Scanned files: 42
Infected files: 0
Data scanned: 69.96 MB
Data read: 34.47 MB (ratio 2.03:1)
Time: 14.135 sec (0 m 14 s)Start Date: 2025:12:23 11:26:39
End Date:   2025:12:23 11:26:53


기본 값으로 삭제는 하지 않게 되어있고, 쓸만한 옵션(?)으로는 -r -i 정도가 있는 듯.

$ clamscan --help

                       Clam AntiVirus: Scanner 1.4.3
           By The ClamAV Team: https://www.clamav.net/about.html#credits
           (C) 2024 Cisco Systems, Inc.

    clamscan [options] [file/directory/-]

    --help                -h             Show this help
    --version             -V             Print version number
    --verbose             -v             Be verbose
    --archive-verbose     -a             Show filenames inside scanned archives
    --debug                              Enable libclamav's debug messages
    --quiet                              Only output error messages
    --stdout                             Write to stdout instead of stderr. Does not affect 'debug' messages.
    --no-summary                         Disable summary at end of scanning
    --infected            -i             Only print infected files
    --suppress-ok-results -o             Skip printing OK files
    --bell                               Sound bell on virus detection

    --tempdir=DIRECTORY                  Create temporary files in DIRECTORY
    --leave-temps[=yes/no(*)]            Do not remove temporary files
    --force-to-disk[=yes/no(*)]          Create temporary files for nested file scans that would otherwise be in-memory only
    --gen-json[=yes/no(*)]               Generate JSON metadata for the scanned file(s). For testing & development use ONLY.
                                         JSON will be printed if --debug is enabled.
                                         A JSON file will dropped to the temp directory if --leave-temps is enabled.
    --database=FILE/DIR   -d FILE/DIR    Load virus database from FILE or load all supported db files from DIR
    --official-db-only[=yes/no(*)]       Only load official signatures
    --fail-if-cvd-older-than=days        Return with a nonzero error code if virus database outdated.
    --log=FILE            -l FILE        Save scan report to FILE
    --recursive[=yes/no(*)]  -r          Scan subdirectories recursively
    --allmatch[=yes/no(*)]   -z          Continue scanning within file after finding a match
    --cross-fs[=yes(*)/no]               Scan files and directories on other filesystems
    --follow-dir-symlinks[=0/1(*)/2]     Follow directory symlinks (0 = never, 1 = direct, 2 = always)
    --follow-file-symlinks[=0/1(*)/2]    Follow file symlinks (0 = never, 1 = direct, 2 = always)
    --file-list=FILE      -f FILE        Scan files from FILE
    --remove[=yes/no(*)]                 Remove infected files. Be careful!
    --move=DIRECTORY                     Move infected files into DIRECTORY
    --copy=DIRECTORY                     Copy infected files into DIRECTORY
    --exclude=REGEX                      Don't scan file names matching REGEX
    --exclude-dir=REGEX                  Don't scan directories matching REGEX
    --include=REGEX                      Only scan file names matching REGEX
    --include-dir=REGEX                  Only scan directories matching REGEX

    --bytecode[=yes(*)/no]               Load bytecode from the database
    --bytecode-unsigned[=yes/no(*)]      Load unsigned bytecode
                                         **Caution**: You should NEVER run bytecode signatures from untrusted sources.
                                         Doing so may result in arbitrary code execution.
    --bytecode-timeout=N                 Set bytecode timeout (in milliseconds)
    --statistics[=none(*)/bytecode/pcre] Collect and print execution statistics
    --detect-pua[=yes/no(*)]             Detect Possibly Unwanted Applications
    --exclude-pua=CAT                    Skip PUA sigs of category CAT
    --include-pua=CAT                    Load PUA sigs of category CAT
    --detect-structured[=yes/no(*)]      Detect structured data (SSN, Credit Card)
    --structured-ssn-format=X            SSN format (0=normal,1=stripped,2=both)
    --structured-ssn-count=N             Min SSN count to generate a detect
    --structured-cc-count=N              Min CC count to generate a detect
    --structured-cc-mode=X               CC mode (0=credit debit and private label, 1=credit cards only
    --scan-mail[=yes(*)/no]              Scan mail files
    --phishing-sigs[=yes(*)/no]          Enable email signature-based phishing detection
    --phishing-scan-urls[=yes(*)/no]     Enable URL signature-based phishing detection
    --heuristic-alerts[=yes(*)/no]       Heuristic alerts
    --heuristic-scan-precedence[=yes/no(*)] Stop scanning as soon as a heuristic match is found
    --normalize[=yes(*)/no]              Normalize html, script, and text files. Use normalize=no for yara compatibility
    --scan-pe[=yes(*)/no]                Scan PE files
    --scan-elf[=yes(*)/no]               Scan ELF files
    --scan-ole2[=yes(*)/no]              Scan OLE2 containers
    --scan-pdf[=yes(*)/no]               Scan PDF files
    --scan-swf[=yes(*)/no]               Scan SWF files
    --scan-html[=yes(*)/no]              Scan HTML files
    --scan-xmldocs[=yes(*)/no]           Scan xml-based document files
    --scan-hwp3[=yes(*)/no]              Scan HWP3 files
    --scan-onenote[=yes(*)/no]           Scan OneNote files
    --scan-archive[=yes(*)/no]           Scan archive files (supported by libclamav)
    --scan-image[=yes(*)/no]             Scan image (graphics) files
    --scan-image-fuzzy-hash[=yes(*)/no]  Detect files by calculating image (graphics) fuzzy hashes
    --alert-broken[=yes/no(*)]           Alert on broken executable files (PE & ELF)
    --alert-broken-media[=yes/no(*)]     Alert on broken graphics files (JPEG, TIFF, PNG, GIF)
    --alert-encrypted[=yes/no(*)]        Alert on encrypted archives and documents
    --alert-encrypted-archive[=yes/no(*)] Alert on encrypted archives
    --alert-encrypted-doc[=yes/no(*)]    Alert on encrypted documents
    --alert-macros[=yes/no(*)]           Alert on OLE2 files containing VBA macros
    --alert-exceeds-max[=yes/no(*)]      Alert on files that exceed max file size, max scan size, or max recursion limit
    --alert-phishing-ssl[=yes/no(*)]     Alert on emails containing SSL mismatches in URLs
    --alert-phishing-cloak[=yes/no(*)]   Alert on emails containing cloaked URLs
    --alert-partition-intersection[=yes/no(*)] Alert on raw DMG image files containing partition intersections
    --nocerts                            Disable authenticode certificate chain verification in PE files
    --dumpcerts                          Dump authenticode certificate chain in PE files

    --max-scantime=#n                    Scan time longer than this will be skipped and assumed clean (milliseconds)
    --max-filesize=#n                    Files larger than this will be skipped and assumed clean
    --max-scansize=#n                    The maximum amount of data to scan for each container file (**)
    --max-files=#n                       The maximum number of files to scan for each container file (**)
    --max-recursion=#n                   Maximum archive recursion level for container file (**)
    --max-dir-recursion=#n               Maximum directory recursion level
    --max-embeddedpe=#n                  Maximum size file to check for embedded PE
    --max-htmlnormalize=#n               Maximum size of HTML file to normalize
    --max-htmlnotags=#n                  Maximum size of normalized HTML file to scan
    --max-scriptnormalize=#n             Maximum size of script file to normalize
    --max-ziptypercg=#n                  Maximum size zip to type reanalyze
    --max-partitions=#n                  Maximum number of partitions in disk image to be scanned
    --max-iconspe=#n                     Maximum number of icons in PE file to be scanned
    --max-rechwp3=#n                     Maximum recursive calls to HWP3 parsing function
    --pcre-match-limit=#n                Maximum calls to the PCRE match function.
    --pcre-recmatch-limit=#n             Maximum recursive calls to the PCRE match function.
    --pcre-max-filesize=#n               Maximum size file to perform PCRE subsig matching.
    --disable-cache                      Disable caching and cache checks for hash sums of scanned files.

Pass in - as the filename for stdin.

(*) Default scan settings
(**) Certain files (e.g. documents, archives, etc.) may in turn contain other
   files inside. The above options ensure safe processing of this kind of data.

[링크: https://cheesecat47.github.io/blog/2025/06/11/linux-antivirus-clamav]

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

evince (리눅스 pdf 뷰어) 네비게이션  (0) 2025.12.11
ubuntu 22.04 bgr subpixel 대응 찾기 실패  (0) 2025.11.25
ts - moreutils  (0) 2025.09.26
기본 터미널 변경하기  (0) 2025.09.22
intel dri 3?  (0) 2025.08.12
Posted by 구차니

1. 프로필에 후측방 모니터 적용 안됨

클러스터에 HUD on/off는 프로필별로 적용되는데, 후측방 모니터는 프로필로 적용이 안된다.

고객센터 문의해보니 몰라서 확인하고 연락준대서 기다려봤더니

프로필이 아니라 전역설정으로 되는 녀석이라고 한다.

암만봐도 버그성으로 빼먹은 느낌인디.. 허드도 on/off 되면서 고작(?) 이 기능을 프로필에 연동을 안한다고?

[링크 : https://ownersmanual.kia.com/manual/k5?langCode=ko_KR&countryCode=A99&projCode=DL3&year=2026&content=ownersmanual]

 

2. 원격 스마트 주차 보조

지하 주차장이 좁은 편이라 기둥으로 붙였는데, 우측, 후면이 빨간색 으로 뜬다.

그 상황에서 차 밖에서 닫기 - 시동(hold) 해서 전진을 누르는데 반응이 없다 -_-

그래서 메뉴얼을 보는데, 넣었는데 못뺄수도 있다... 야이!! 조건을 상세히 좀 적어줘야지!!

 
알아두기
  • 원격 전/후진 기능은 스마트 키를 이용하여 차량 밖에서 원격으로 작동할 수 있습니다.
  • 원격 전/후진 기능을 작동하기 전에 모든 스마트 키가 차량 밖에 있는지 확인하십시오.
  • 차량으로부터 약 4 m 내에서 스마트 키를 조작해야 합니다. 스마트 키 버튼을 누르고 있어도 차량이 이동하지 않으면 작동 범위 내로 이동한 후 스마트 키 버튼을 다시 누르십시오.
  • 스마트 키의 감지 거리는 주변 환경(송전탑, 방송국과 같이 전파의 영향이 강한 지역 등)에 따라 달라질 수 있습니다.
  • 시동이 꺼진 상태(방법 1)에서 원격으로 차량을 전진하면 원격 스마트 주차 보조는 출차 상황으로 판단합니다. 차량을 약 4 m 전진 이동한 시점부터는 차량 주변의 사람, 동물 또는 물체를 확인하여 전방 상황에 따라 스티어링 휠을 제어합니다.
  • 시동이 걸린 상태(방법 2)에서 원격 전진하면 기능은 주차 상황으로 판단합니다. 전방 상황에 따라 즉시 스티어링 휠을 제어하여 주차공간 진입 및 차량 정렬을 보조합니다. 차량 주변에서 감지된 사람, 동물 또는 물체의 형상, 위치 등에 따라 성능이 저하될 수 있습니다.
  • 원격 후진의 경우 스티어링 휠을 정렬한 후에 직진으로만 이동합니다.
 
경고
  • 원격 전/후진 기능을 사용하기 전에 차량 내 모든 탑승자가 내렸는지 확인하십시오.
  • 좁은 공간에 진입하여 차량이 방전되거나 원격 스마트 주차 보조가 고장 나면 원격 전/후진 기능이 작동할 수 없으므로 운전자가 차에 탑승 가능한 공간에 주차하시기 바랍니다.
  • 주차공간에 따라 원격 전/후진 기능으로 진입한 공간에서 원격 전/후진 기능으로 출차하지 못할 수도 있으므로 주의하십시오.
  • 주차 후 주위 차량의 이동 등으로 인해 주차 환경이 변하여 원격 전/후진 기능으로 이동하지 못할 수 있습니다.
  • 운전자는 원격 전/후진 기능 종료 및 해제 후 차량을 떠나기 전에 창문, 선루프 등을 닫고 차량 시동이 꺼졌는지 확인 후 도어를 잠그십시오.

[링크 : https://ownersmanual.kia.com/manual/k5?langCode=ko_KR&countryCode=A99&projCode=DL3&year=2026&content=ownersmanual]

 

삐~ 소리가 났던것 같긴한데

차를 빨간 영역까지 가까이 대놓은 상태라면 원격으로 빼낼수 없다는 소리네!?!? 젠장?!?!?

 
알아두기
  • 원격 스마트 주차 보조 작동 중 주차 거리 경고의 3차 경고음(연속음)이 울리면 사람, 동물 또는 물체가 차량과 가까이 있음을 의미합니다. 이때 원격 스마트 주차 보조는 일시 중지됩니다. 주변에 사람, 동물 또는 물체가 있는지 직접 확인하십시오.
  • 제동 상태에 따라 제동등이 켜진 상태로 차량이 이동할 수 있습니다.
  • 추운 곳에서 장시간 주차 또는 정차한 후 시동을 걸면 원격 스마트 주차 보조의 성능이 일시 저하되거나 기능이 해제될 수 있습니다.

[링크 : https://ownersmanual.kia.com/manual/k5?langCode=ko_KR&countryCode=A99&projCode=DL3&year=2026&content=ownersmanual]

 

그 와중에 아부지..

앰비언트 라이트 어떻게 하냐고 물어 보시는데 구매할때 없었던가?

사양 비교해보니 노블레스도 없고 딱 시그니처 트림만 앰비언트가 들어간다.

[링크 : https://www.kia.com/kr/buy/build-your-car/vehicle-lineup/compare-vehicle?cargIdx=1329,1329&cargTrimIdx=38214,38216]

 

k5는 아니고 아반테 같은데 사운드 무드 램프라고 해서 앰비언트 라이트 관련 설정을 그렇게 표현하나 보다.

[링크 : http://webmanual.kia.com/STD_GEN5W/AVNT/KOR/Korean/002_Features_soundmoodlamp.html]

 


설정 누르다 보니 발견했는데

뒷좌석 취침모드가 먼가 했더니 뒷좌석 오디오 음소거. 다채널이다 보니 이런 기능이 추가되는 듯.

[링크 : http://webmanual.kia.com/DA_GEN2_V/AV/MEX/Korean/002_Features_quietmode.html]

 

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

개피곤  (0) 2025.12.19
경찰 조사 받고 옴  (6) 2025.12.13
돈돈돈  (0) 2025.12.12
점심에 기절  (0) 2025.12.06
11월의 끝  (0) 2025.11.30
Posted by 구차니
게임/doom2025. 12. 20. 19:35

윈도우에서는 랙이 안느껴지는데, 둠 이터널만 시작하면 먼가 마우스가 굼떠지는 느낌

수직 동기화 - 끄기 / 켜기 /적응형 / 트리플 버퍼링 끄니 쾌적해진다.

 

파멸의 요새에서 65 프레임 정도 나오는데, 모니터가 4k 60p -> FHD 60p로 하다보니

미묘하게 엇긋나다 보니 1프레임 간격인 16.6ms 씩 지연되려나..

아니 트리플 버퍼링이니까 3 프레임이 밀린다고 고려하면 최악의 경우 16.6 * 4 해서 66msec 정도 지연되었으려나?

거기다가.. 모니터 자체 지연도 있었다면 어우야...

 

 

'게임 > doom' 카테고리의 다른 글

둠 이터널 - 추종자 기지 공략  (0) 2025.12.16
doom eternal을 위해 베데스다 가입  (0) 2025.11.23
베데스다... 사태?  (0) 2025.04.24
doom eternal 시....작?  (0) 2025.04.23
doom normal 난이도 끝  (0) 2025.04.23
Posted by 구차니

어우.. 이상하게 피곤하네

아내도 피곤하다고 하고..

지구가 인간들의 기를 빨아먹기라도 하나..

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

k5 2026 차 바꾸고 한달  (3) 2025.12.20
경찰 조사 받고 옴  (6) 2025.12.13
돈돈돈  (0) 2025.12.12
점심에 기절  (0) 2025.12.06
11월의 끝  (0) 2025.11.30
Posted by 구차니

어우.. 오늘도 갑자기 막 일이 두가지 몰려옴

아놔

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

외근, 피곤  (0) 2025.12.17
송년회  (0) 2025.12.08
이게 번아웃인가  (0) 2025.12.05
눈 아니 폭설  (2) 2025.12.04
소소한 지름(?) part 2  (0) 2025.11.25
Posted by 구차니

외근이 11시 까지 도착하는거였다가

가던 도중에 전화와서는 1시 가지 가자고 해서

부랴부랴 회사갔다가 약간의 일보다가 이동해서 밥 먹고

하는것도 없이 기다리다 (우리쪽 문제는 아니었으니) 끝나니 7시

후.. 빡세다

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

일이 끝나지 않아!  (0) 2025.12.18
송년회  (0) 2025.12.08
이게 번아웃인가  (0) 2025.12.05
눈 아니 폭설  (2) 2025.12.04
소소한 지름(?) part 2  (0) 2025.11.25
Posted by 구차니
embeded/Cortex-M3 STM2025. 12. 16. 16:10

discovery 보드에서 jtag 부분에 stm32f103c8t6을 사용하고 있길래

[링크 : https://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html]

 

저번에 구매했던 bluepill 보드를 어떻게 하면 jtag으로 개조할 수 있을까 하고 찾아보는데..

합법적이고 공식적인 방법은 없는듯.

[링크 : https://blog.naver.com/chandong83/222586172793]

 

[링크 : https://www.st.com/en/development-tools/stsw-link007.html] << 펌웨어 업로더

[링크 : https://www.st.com/en/development-tools/stsw-link004.html] << 펌웨어 업로더

[링크 : https://github.com/Krakenw/Stlink-Bootloaders] << 누군가 덤프해둔 stlink 펌웨어

 

This Firmware is not open source. But it may be delivered in a few cases after request to an FAE or a marketing agent.

[링크 : https://community.st.com/t5/stm32-mcus-boards-and-hardware/st-link-source-code/td-p/711010]

 

반대로.. jtag을 싸게 팔면 그걸 사서 bluepill 처럼 써버리는것도 방법이려나?

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32f103ret crc  (0) 2025.12.09
stm32f103ret middleware - usb  (0) 2025.12.09
stm32f103ret connectivity - usb  (0) 2025.12.09
STSW-STM32084 / usb demo  (0) 2025.12.09
stlink v2 클론 도착!  (0) 2025.11.26
Posted by 구차니
하드웨어/lora lorawan2025. 12. 16. 15:59

먼진 모르겠지만.. FSK 보단 LoRa가 더 좋다고 보면되려나?

동일한 속도를 내려면 lora가 더 신호가 안 좋아도 되고 (약 -10 dBm)

동일한 감도라면 더 빠른 속도를 낼 수 있다. (fsk 1000bps, -123 dBm = LoRa 10000bps)

 

 

[링크 : https://www.frugalprototype.com/wp-content/uploads/2016/08/an1200.22.pdf]

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

lora CR(coding rate)  (0) 2025.12.16
Posted by 구차니
하드웨어/lora lorawan2025. 12. 16. 15:46

래핑 모듈만 사용하다 보니, SF / 주파수만 신경썼었는데

sx1276 데이터 시트를 보다보니 CR(Coding Rate)라는게 있어서 먼지 감이 안와서(메뉴얼 상에서는) 찾아보니

 

FEC를 위한 추가 비트를 이야기 하고, 순수데이터/패리티포함데이터 길이로 보면 된다고 한다.

4/5는 4bit data + 1bit parity

4/6은 4bit data + 2bit parity

4/7은 4bit data + 3bit parity

4/8은 4bit data + 4bit parity 식인셈

4.1.1.3. Coding Rate
To further improve the robustness of the link the LoRa® modem employs cyclic error coding to perform forward error
detection and correction. Such error coding incurs a transmission overhead - the resultant additional data overhead per
transmission is shown in the table below.



Forward error correction is particularly efficient in improving the reliability of the link in the presence of interference. So that
the coding rate (and so robustness to interference) can be changed in response to channel conditions - the coding rate can
optionally be included in the packet header for use by the receiver. Please consult Section 4.1.1.6 for more information on
the LoRa® packet and header.

[링크 : https://blog.naver.com/bae3421_/221274850012]

 

FEC - Forward Error Correction

[링크 : http://www.ktword.co.kr/test/view/view.php?no=693]

 

CRC -Cyclic Redundancy Checking

[링크 : http://www.ktword.co.kr/test/view/view.php?nav=2&no=603&sh=crc]

 

FEC는 전송할때 복구를 위한 데이터를 포함하여 전송하여 correction에 포인트를 두는 전송방식이고

CRC는 정정이 아니라 에러가 있음을 확인하는 방법이다.

 

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

LoRa modulation basics  (0) 2025.12.16
Posted by 구차니