또 사라지는 해피빈이 생겨난다고 알람이 와서 기부.
가끔 광고 눌러서 받는 해피빈이라. 돈 안들이고 생색내는 기분.

'개소리 왈왈 > 블로그' 카테고리의 다른 글
| 티스토리 수익예측 (1) | 2024.09.11 |
|---|---|
| 이번주는 개발자들 휴가? (0) | 2024.07.31 |
| 티스토리 vs 브라우저 누구 탓이냐? (0) | 2024.07.18 |
| 도메인 결제의 달이 돌아왔습니다 (0) | 2024.06.03 |
| 당신의 이야기가 값진 수익이 됩니다 (2) | 2024.05.30 |
또 사라지는 해피빈이 생겨난다고 알람이 와서 기부.
가끔 광고 눌러서 받는 해피빈이라. 돈 안들이고 생색내는 기분.

| 티스토리 수익예측 (1) | 2024.09.11 |
|---|---|
| 이번주는 개발자들 휴가? (0) | 2024.07.31 |
| 티스토리 vs 브라우저 누구 탓이냐? (0) | 2024.07.18 |
| 도메인 결제의 달이 돌아왔습니다 (0) | 2024.06.03 |
| 당신의 이야기가 값진 수익이 됩니다 (2) | 2024.05.30 |
이전에 메뉴얼 뒤지다 발견한 BCM7/BCM4는 어디서 접근이 가능한지, 설정이 가능한지 찾질 못했는데
프로그램 하나 설치하니 해피하게 해결.. -_-

왼쪽 세번째 아이콘 OB가 Option Bytes 인데
거기서 User Configuration 항목에 BCM4 / BCM7을 발견할 수 있다.

[링크 : https://blog.naver.com/chandong83/221652968153]
[링크 : https://www.st.com/en/development-tools/stm32cubeprog.html]
[링크 : https://blog.naver.com/chcbaram/221597488638]
+
| HAL_FLASH_Unlock(); HAL_FLASH_OB_Unlock(); HAL_FLASHEx_OBGetConfig(&OBInit); OBInit.OptionType = OPTIONBYTE_CM7_BOOTADD; OBInit.BootAddr0 = 0x08010000; OBInit.BootConfig = OB_BOOT_ADD0; HAL_FLASHEx_OBProgram(&OBInit); HAL_FLASH_OB_Launch() |
[링크 : https://community.st.com/t5/stm32-mcus-products/stm32h745-set-cm7-boot-addr0-from-cm4/td-p/654791]
+
| void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit) { pOBInit->OptionType = OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER | OPTIONBYTE_BOR; /*Get WRP*/ pOBInit->WRPSector = FLASH_OB_GetWRP(); /*Get RDP Level*/ pOBInit->RDPLevel = FLASH_OB_GetRDP(); /*Get USER*/ pOBInit->USERConfig = FLASH_OB_GetUser(); /*Get BOR Level*/ pOBInit->BORLevel = FLASH_OB_GetBOR(); } |
| typedef struct { uint32_t OptionType; /*!< Option byte to be configured. This parameter can be a value of @ref FLASHEx_Option_Type */ uint32_t WRPState; /*!< Write protection activation or deactivation. This parameter can be a value of @ref FLASHEx_WRP_State */ uint32_t WRPSector; /*!< Specifies the sector(s) to be write protected. The value of this parameter depend on device used within the same series */ uint32_t Banks; /*!< Select banks for WRP activation/deactivation of all sectors. This parameter must be a value of @ref FLASHEx_Banks */ uint32_t RDPLevel; /*!< Set the read protection level. This parameter can be a value of @ref FLASHEx_Option_Bytes_Read_Protection */ uint32_t BORLevel; /*!< Set the BOR Level. This parameter can be a value of @ref FLASHEx_BOR_Reset_Level */ uint8_t USERConfig; /*!< Program the FLASH User Option Byte: IWDG_SW / RST_STOP / RST_STDBY. */ } FLASH_OBProgramInitTypeDef; |
| STM32 MPU(Memory Protection Unit) (2) | 2024.07.22 |
|---|---|
| STM32 HSEM (Hardware SEMaphore) (0) | 2024.07.22 |
| STM32CubeProgrammer (0) | 2024.07.22 |
| stm32h757xi / stm32h757i-eval (0) | 2024.07.19 |
| FT5336 - 정전식 터치 i2c (0) | 2021.07.06 |
별도의 독립 프로그램이다... -_-
리눅스 버전 받으면 zip으로 받아지고, 압축풀면 아래와 같이 exe와 linux 파일이 생기는데

linux는 900kb 정도로 용량이 작아서 쉘 스크립트 치곤 크네.. 하고 봤더니 ELF 실행파일.
그냥 ./SetupSTM32CubeProgrammer-2.17.0.linux 로 실행하면 된다.
| $ file * SetupSTM32CubeProgrammer-2.17.0.exe: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows SetupSTM32CubeProgrammer-2.17.0.linux: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=bcc7be207b463b7b004b10f7078d9d2be84d3902, with debug_info, not stripped jre: directory |
UI 색상 왜이래.. 다크모드라 그런가?

[링크 : https://www.st.com/en/development-tools/stm32cubeprog.html]
[링크 : https://blog.naver.com/chcbaram/221597488638]
귀찮아서 기본값으로 설치했는데.. 프로그램 등록이 되지 않아 수동으로 실행해야 한다.
GUI는 아래의 명령어로 실행하면 된다.
| ~/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$ ./STM32CubeProgrammer |
| STM32 HSEM (Hardware SEMaphore) (0) | 2024.07.22 |
|---|---|
| STM32H757 User configuration (0) | 2024.07.22 |
| stm32h757xi / stm32h757i-eval (0) | 2024.07.19 |
| FT5336 - 정전식 터치 i2c (0) | 2021.07.06 |
| stm32f4 otg update bin file (0) | 2021.07.02 |
예전 centos 할 때 랑은 또 경로가 달라져서 헷갈리네
설정 변경
| # cat /etc/postgresql/15/main/pg_hba.conf local all postgres peer # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all md5 # IPv4 local connections: host all all 127.0.0.1/32 scram-sha-256 # IPv6 local connections: host all all ::1/128 scram-sha-256 # Allow replication connections from localhost, by a user with the # replication privilege. local replication all peer host replication all 127.0.0.1/32 scram-sha-256 host replication all ::1/128 scram-sha-256 |
서비스 재기동
| $ sudo systemctl restart postgresql |
postgres 계정으로 로그인 후 계정 및 database 생성
| pi@raspberrypi:~ $ sudo su - postgres postgres@raspberrypi:~$ psql psql (15.7 ( 15.7-0+deb12u1)) Type "help" for help. postgres=# create user username with password 'userpassword'; CREATE ROLE postgres=# create database userdb; CREATE DATABASE materials=> \q postgres@raspberrypi:~$ |
일반 계정에서 특정 사용자로 로그인
| pi@raspberrypi:~ $ psql -U username userdb Password for user username: psql (15.7 ( 15.7-0+deb12u1)) Type "help" for help. userdb=> \q |
[링크 : https://zipeya.tistory.com/entry/postgresql-DB생성-및-접속-시-Peer-authentication에러-발생-시-해야할-것]
| 라즈베리에 phppgadmin. 안되잖아? (0) | 2024.07.24 |
|---|---|
| phppgadmin (0) | 2024.07.23 |
| postgresql cli (0) | 2024.07.21 |
| psql copy to (0) | 2020.02.10 |
| postgresql 제약조건 관련 (0) | 2020.02.07 |
앵무새 카페 다녀옴
사장님이 친절은 하신데 자꾸 속마음 말풍선이 보이는 느낌 ㅋㅋ
사장님 : 흐지믈르그...!
1인 1 음료 하면 얼마를 있던 상관없고, 만져보러 들어갈수도 있지만
대형조류라 치악력이 강해서 주인이 직접 넘겨주지 않는 이상 크게 다칠수 있어
자유롭게 만져볼순 없어서 좀 아쉽지만, 대부분은 보기만 하고 팔이나 어깨에 올려볼 수 있다는게 큰 장점!
[링크 : https://cafemacaw.co.kr/]
이전에는 대부분 pgadmin 이라는 웹기반으로 사용하다 보니 콘솔에서 쓸 방법 찾는 중
[링크 : https://www.postgresql.org/docs/current/app-psql.html]
[링크 : https://kwomy.tistory.com/m/9]
[링크 : https://kugancity.tistory.com/m/entry/postgre-sql-command-line에서-사용하기]
| phppgadmin (0) | 2024.07.23 |
|---|---|
| postgresql 15.7 on rpi (0) | 2024.07.22 |
| psql copy to (0) | 2020.02.10 |
| postgresql 제약조건 관련 (0) | 2020.02.07 |
| postgresql database / table 복제 및 동기화 (0) | 2020.02.07 |
오른쪽 조이콘의 sync / LR / SR 버튼인가?
그쪽 fpcb가 끊어져서 교체.
역시나.. 다 분해해서 조립해야 하는 극악의 난이도 -_-
내 손이 이렇게 굵었나 다시 고민하게 된다.
다 조립하고 나니 핀셋을 발견했다..
| 닌텐도 조이콘 고장 (0) | 2025.10.08 |
|---|---|
| 니어 : 오토마타 5주년 요르하 에디션 (닌텐도) 구매 (0) | 2025.01.16 |
| 오랫만에 조이콘 수리 2성공 1실패 (0) | 2024.07.09 |
| 제노블레이드 3 엔딩 봄 (0) | 2022.11.15 |
| 닌텐도 스위치 방틴유리 깨짐 (0) | 2022.10.24 |
mirage.js 에서 사용하는 기술 같은데 써볼일 있으려나?
[링크 : https://github.com/shenzhenjinma/hook-chrome-ajax/blob/develop/background.js]
| 웹 브라우저에서 웹 캠 띄우기 (0) | 2024.09.24 |
|---|---|
| three.js (0) | 2024.09.19 |
| web worker (0) | 2024.07.19 |
| mirage.js - api mockup (0) | 2024.07.19 |
| 웹 브라우저 쿠키 (0) | 2024.03.27 |
자바 스크립트의 메인 쓰레드가 아닌 브라우저의 백그라운드 쓰레드로 돌리는 기능.
탭이 비활성화 되어도 멀티 쓰레드로 작동이 된다고.
[링크 : https://samori.tistory.com/87]
[링크 : https://medium.com/hcleedev/web-web-worker-사용법과-주의할-점-webpack-메모리-문제-테스트-모킹-2d77c5b23afe]
| three.js (0) | 2024.09.19 |
|---|---|
| XMLHttpRequest 가로채기 (0) | 2024.07.19 |
| mirage.js - api mockup (0) | 2024.07.19 |
| 웹 브라우저 쿠키 (0) | 2024.03.27 |
| let's encrypt 방식 (0) | 2024.02.02 |