'잡동사니'에 해당되는 글 13838건
- 2025.05.10 개 목욕
- 2025.05.09 일하기 싫어!!!
- 2025.05.08 폭주 2
- 2025.05.08 bit banging
- 2025.05.08 stm32flash
- 2025.05.08 renesas ra6 rfp-cli
- 2025.05.08 아이나비 dmb 안테나
- 2025.05.07 kinect 1.x, 2.x color <-> depth mapping
- 2025.05.07 numa 와 smp
- 2025.05.06 가족 추가요~
저번 쉰 여파인가 드렇게 하기 싫네
일이 항상(?) 재미있을순 없지만, 갈수록 재미없는 일만 들어오는 느낌은 왜 일까.
아주 가끔은 나도 즐거우면서 성장할 수 있는 일이 있으면 좋겠다.
'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글
| 급격히 습해지니 난리구만 (0) | 2025.05.16 |
|---|---|
| 독서 (0) | 2025.05.15 |
| k-pass 다자녀 혜택 적용 늦어!! (0) | 2025.04.30 |
| 돈 돈 돈 (2) | 2025.04.26 |
| 뭐? (0) | 2025.04.17 |
bit band는 들어봤는데
[링크 https://blog.naver.com/eziya76/220983418293]
bit banging은 첨 들어봐서 검색해보니, 그냥 gpio로 uart / i2c / spi 등을 통신할 수 있도록 구현하는 것을 지칭한다.
그냥 깡으로 구현한다고 생각해서 지칭하는 용어가 없는 줄 알았는데...
[링크 https://article2.tistory.com/338]
| Bit banging is a term of art that describes a method of digital data transmission as using general-purpose input/output (GPIO) instead of computer hardware that is intended specifically for data communication.[1] Controlling software is responsible for satisfying protocol requirements including timing which can be challenging due to limited host system resources and competing demands on the software. |
'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글
| pc 쿨링팬 pwm 주파수 (0) | 2025.12.01 |
|---|---|
| numa 와 smp (0) | 2025.05.07 |
| USB BOS - Binary Object Store (0) | 2024.07.14 |
| DDR3 pinout과 ECC (0) | 2024.04.01 |
| uefi dxe pei (0) | 2024.04.01 |
리눅스 배포판에 포함된 stm32용 bootloader용 uart / i2c 업데이트 프로그램
나중에 한번 써봐야지
| stm32flash - flashing utility for STM32 through UART or I2C |
[링크 https://manpages.ubuntu.com/manpages/bionic/man1/stm32flash.1.html]
[링크 https://sourceforge.net/p/stm32flash/wiki/Home/]
'embeded > Cortex-M3 STM' 카테고리의 다른 글
| stm32 stop mode - main thread (0) | 2025.05.29 |
|---|---|
| stm32 boot loader(shipping) (0) | 2025.05.13 |
| stm32 timer로 gpio 에 연결된 led on/off (0) | 2025.03.26 |
| stm32 sleep mode (0) | 2025.03.10 |
| STM32 float point support 활성화시 %f 출력 NaN (0) | 2025.03.07 |
리눅스(x86) 에서 작동 확인
| $ ./rfp-cli -device RA -port /dev/ttyUSB0 -read dump.bin Renesas Flash Programmer CLI V1.12 Module Version: V3.19.00.000 Connecting the tool (COM port) Tool: /dev/ttyUSB0 Interface: 2 wire UART Connecting the target device Speed: 115,200 bps Connected Reading data from the device [Code Flash 1] 00000000 - 001FFFFF 93% [======================================================> ] |
-device 옵션은 필수로 들어가야 하고

메뉴얼을 보면 도구에서 uart가 있어야 할 것 같은데 이건 아예 지정하지 않아도 된다.

장치와 접속 방법만 알려주면 작동할 용도가 없어서 no operation 뜨고 종료된다.
| $ ./rfp-cli -device RA -port /dev/ttyUSB0 Renesas Flash Programmer CLI V1.12 Module Version: V3.19.00.000 Connecting the tool (COM port) Tool: /dev/ttyUSB0 Interface: 2 wire UART Disconnecting the tool No operation |
-write* 은 특정 영역에 값을 쓸 수 있고
| -write32 <addr> <data>[,<data>...] -writebit <addr> <pos> <bitdata> |
-read 는 읽어서 파일에 쓸 수 있고
| -read <file>, -r <file> -read-bin <addr> <size> <file>, -rb <addr> <size> <file> -read-view <addr> <size>, -rv <addr> <size> |
-erase , -program 으로 장치를 삭제할 수 있다.
| -erase, -e Erases flash memory of the device. -program, -p Erases the range for writing to the device and writes to the device. -erase-chip Erases all data in the flash memory of the device and clears the configuration settings. |
파일 지정은 가장 마지막에 해주면 된다.
| rfp-cli [option...] [hexfile...] |
일단은 나쁘지 않게 사용중. 그런데 실내 + 짧아서 그런지 모르겠지만
혹은 새로 바꾸고 더 신경써서 그런진 모르겠지만 묘하게 수신 안되는 곳이 꽤 많아 보인다.
ytn 채널인지 먼진 모르겠지만 dmb 수신이 되는데 tpeg은 신호 없음이 뜨다니 멀까..
[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=D721489963]
[링크 : https://m.11st.co.kr/products/ma/33687866?prdNo=33687866]
이건 아이나비 커넥터 쪽

왼쪽은 그냥 굴러 다니던 안테나 커넥터 인데 아쉽게도.. 맞지 않는다.
오른쪽이 아이나비 dmb 안테나. 먼가 딱 봐도 좀 비싸 보이네

히로세 533 규격 이라고 한다.
근데 검색해도 드럽게 안나오네
[링크 : https://blog.naver.com/pkw00/221497143443]
kms 533 으로 검색하면 나오는 녀석들.. 이거 맞...나?
그 와중에 male은 찾는데 실패

[링크 : https://entertec.cafe24.com/product/kms-533-s/2987/]

[링크 : https://kjtelecom.co.kr/mall2/shop/prod_view.jsp?cc=5121]
링크와는 다르게 내용상으로는 preview 시절(?) api 같은데
colorframe -> depth
| public void MapColorFrameToDepthSpace ( Array<UInt16>[] depthFrameData, out Array<DepthSpacePoint>[] depthSpacePoints ) |
depth -> colorframe 가 존재한다.
| public void MapDepthFrameToCameraSpace ( Array<UInt16>[] depthFrameData, out Array<CameraSpacePoint>[] cameraSpacePoints ) |
v1.8에도 존재 (링크 사라짐)
[링크 : https://learn.microsoft.com/en-us/previous-versions/windows/kinect-1.8/jj663707(v=ieb.10)]
[링크 : https://stackoverflow.com/questions/17012585/how-do-you-map-kinects-depth-data-to-its-rgb-color]
그래서 함수 명으로 검색했는데 좀 이름이 다르다.
| HRESULT MapDepthFrameToColorFrame( NUI_IMAGE_RESOLUTION eDepthResolution, DWORD cDepthPixels, NUI_DEPTH_IMAGE_PIXEL *pDepthPixels, NUI_IMAGE_TYPE eColorType, NUI_IMAGE_RESOLUTION eColorResolution, DWORD cColorPoints, NUI_COLOR_IMAGE_POINT *pColorPoints ) |
[링크 : https://learn.microsoft.com/en-us/previous-versions/windows/kinect-1.8/jj883691(v=ieb.10)]
| HRESULT MapColorFrameToDepthFrame( NUI_IMAGE_TYPE eColorType, NUI_IMAGE_RESOLUTION eColorResolution, NUI_IMAGE_RESOLUTION eDepthResolution, DWORD cDepthPixels, NUI_DEPTH_IMAGE_PIXEL *pDepthPixels, DWORD cDepthPoints, NUI_DEPTH_IMAGE_POINT *pDepthPoints ) |
[링크 : https://learn.microsoft.com/en-us/previous-versions/windows/kinect-1.8/jj883688(v=ieb.10)]
'프로그램 사용 > kinect' 카테고리의 다른 글
| libfreenect2 VAAPI 버그? (2) | 2025.05.22 |
|---|---|
| kinect v2 잘못된 깊이 맵 맵핑 (0) | 2025.05.06 |
| libfreenect2 rgb / depth 매핑 소스코드 분석 (0) | 2025.05.05 |
| kinect rgb - depth mapping (0) | 2025.05.01 |
| kinect 깊이 정밀도 (0) | 2025.04.15 |
문득 numa 라는게 보여서 먼가 해서 찾아보는데
smp는 north bridge가 있던 시절이고(!)
north bridge의 memory controller가 cpu의 요청에 따라 큐잉되어 메모리를 읽어서 보내주고
메모리에 cpu들이 많이 요청하면 응답대기가 길어지는 문제가 발생
그래서 NUMA 에서는 cpu 별로 메모리를 장착하고
local memory라고 이름짓고는 자기에게 할당된 메모리에서는 쌩쌩하게
그게 아니면 cpu 간의 inter-connect를 이용하여 다른 cpu의 메모리를 접근해서 대용량 메모리를 쓰는 구조
[링크 : https://jeongzero.oopy.io/94ef3e61-c27c-4fba-b8b9-2b9b8aac933a]
[링크 : https://brunch.co.kr/@dreaminz/4]
아.. 그래서 요즘 서버가 cpu 별로 메모리가 구성되어야 해서 특정 슬롯에 꽂아 해당 cpu에 local memory로 구성되게 되는거였군..

반대로 그러면.. cpu 에서 스케쥴링 할때 cpu 에 round robin등으로 임의 할당하면 안되고
어느정도는 벗어날수 없는(?) 경계가 존재하는 affinity 제한적 스케쥴링을 해야 하는건가?
'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글
| pc 쿨링팬 pwm 주파수 (0) | 2025.12.01 |
|---|---|
| bit banging (0) | 2025.05.08 |
| USB BOS - Binary Object Store (0) | 2024.07.14 |
| DDR3 pinout과 ECC (0) | 2024.04.01 |
| uefi dxe pei (0) | 2024.04.01 |
6개월 만에 다시 똥 치우는 신세로 전락할 느낌.. 후..
코코(1살, 성별 모름, 코뉴어)
걍 꼬꼬 하자니까.. -_-
'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글
| 폭주 (2) | 2025.05.08 |
|---|---|
| 아이나비 dmb 안테나 (0) | 2025.05.08 |
| 피곤 (0) | 2025.05.04 |
| 여유 (0) | 2025.05.02 |
| 참관수업 그리고 데이트 (2) | 2025.04.23 |
