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

  1. 2024.07.22 STM32CubeProgrammer
  2. 2024.07.22 postgresql 15.7 on rpi
  3. 2024.07.21 카페 마카우
  4. 2024.07.21 postgresql cli
  5. 2024.07.20 비비비
  6. 2024.07.19 닌텐도 스위치 조이콘 부품 도착
  7. 2024.07.19 XMLHttpRequest 가로채기
  8. 2024.07.19 web worker
  9. 2024.07.19 mirage.js - api mockup
  10. 2024.07.19 clock is gated
embeded/Cortex-M7 STM2024. 7. 22. 12:45

별도의 독립 프로그램이다... -_-

리눅스 버전 받으면 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

 

 

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

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
Posted by 구차니

예전 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에러-발생-시-해야할-것]

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

라즈베리에 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
Posted by 구차니

앵무새 카페 다녀옴

사장님이 친절은 하신데 자꾸 속마음 말풍선이 보이는 느낌 ㅋㅋ

 

사장님 : 흐지믈르그...!

 

 

1인 1 음료 하면 얼마를 있던 상관없고, 만져보러 들어갈수도 있지만

대형조류라 치악력이 강해서 주인이 직접 넘겨주지 않는 이상 크게 다칠수 있어

자유롭게 만져볼순 없어서 좀 아쉽지만, 대부분은 보기만 하고 팔이나 어깨에 올려볼 수 있다는게 큰 장점!

[링크 : https://cafemacaw.co.kr/]

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

자유이긴 한데..  (0) 2024.07.27
으어어 개 피곤  (0) 2024.07.26
비비비  (0) 2024.07.20
이게 먼일이다냐  (2) 2024.07.18
비. 아니 폭우  (0) 2024.07.17
Posted by 구차니

이전에는 대부분 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에서-사용하기]

 

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

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
Posted by 구차니

덥고 비오고 난리네

그래도 개들 산책시킬 시간정도는 나게 적당히(?) 바닥이 마르고나서 비가 오니 다행

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

으어어 개 피곤  (0) 2024.07.26
카페 마카우  (0) 2024.07.21
이게 먼일이다냐  (2) 2024.07.18
비. 아니 폭우  (0) 2024.07.17
머했지?  (0) 2024.07.07
Posted by 구차니
게임/닌텐도 스위치2024. 7. 19. 23:20

오른쪽 조이콘의 sync / LR / SR 버튼인가?

그쪽 fpcb가 끊어져서 교체.

역시나.. 다 분해해서 조립해야 하는 극악의 난이도 -_-

내 손이 이렇게 굵었나 다시 고민하게 된다.

 

다 조립하고 나니 핀셋을 발견했다..

Posted by 구차니
Programming/web 관련2024. 7. 19. 18:29

'Programming > web 관련' 카테고리의 다른 글

웹 브라우저에서 웹 캠 띄우기  (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
Posted by 구차니
Programming/web 관련2024. 7. 19. 18:27

자바 스크립트의 메인 쓰레드가 아닌 브라우저의 백그라운드 쓰레드로 돌리는 기능.

탭이 비활성화 되어도 멀티 쓰레드로 작동이 된다고.

 

[링크 : https://samori.tistory.com/87]

[링크 : https://medium.com/hcleedev/web-web-worker-사용법과-주의할-점-webpack-메모리-문제-테스트-모킹-2d77c5b23afe]

'Programming > web 관련' 카테고리의 다른 글

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
Posted by 구차니
Programming/web 관련2024. 7. 19. 15:00

신기하게도(?) 크롬의 XMLHttpRequest 나 fetch 명령을 가로채서

서버 구동없이 클라이언트에서 api 목업을 한다고 한다.

 

네트워크로 나가지만 않을뿐 결국에는 함수의 결과물을 리턴해주는 식으로 간소화 하는건가..?

[링크 : https://miragejs.com/]

'Programming > web 관련' 카테고리의 다른 글

XMLHttpRequest 가로채기  (0) 2024.07.19
web worker  (0) 2024.07.19
웹 브라우저 쿠키  (0) 2024.03.27
let's encrypt 방식  (0) 2024.02.02
ajax session 인증  (0) 2024.01.26
Posted by 구차니
이론 관련/전기 전자2024. 7. 19. 11:58

STM32H757 문서를 보다보니

dual core인데 초기화 시에

coretx-m4 clock is gated 라는 문구가 나와서 검색해보니

[링크 : https://www.st.com/resource/en/application_note/an5557-stm32h745755-and-stm32h747757-lines-dualcore-architecture-stmicroelectronics.pdf]

 

간단하게 클럭이 막혀있다 = 안켜진다 = 전기 소모 줄어든다.

이렇게 해석하면 될 듯.

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

[링크 : https://m.blog.naver.com/dong880510/140156794477]

 

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

NPN TR.... 2?  (0) 2024.08.20
BJT - bipolar junction transistor  (0) 2024.08.13
싱크 인터페이스, 소스 인터페이스  (0) 2024.07.11
shunt(션트) 저항  (0) 2024.07.11
THD N  (0) 2024.04.03
Posted by 구차니