그런데 오후 7시 넘어서 자가 번호이동도 안되서

결국에는 내일 핸드폰 애들꺼 가지고 가서 회사에서 개통해야 할 듯

아우 귀찮아

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

피곤  (0) 2025.07.05
피곤  (0) 2025.07.04
오늘도 피곤  (0) 2025.06.25
게임은 나중에 사자~  (0) 2025.06.24
바쁜하루  (0) 2025.06.23
Posted by 구차니
Linux/Ubuntu2025. 7. 1. 12:31

gpt 가라사대

cat /var/lib/dhcp/dhclient.leases

 

dhclient를 실행하고 나서 생성되는 로그인듯 하다.

 

아무튼 어쩌다 보니(?) 유선은 문제 없어 보이는데 무선의 경우 dhcp 대역이 이상해서 확인해보니

dhcp 서버가 예상한 192.168.10.1이 아닌 10.75로 설정되어있는것을 확인

아.. dhcp 서버가 두개 있어서 이놈들이 헤까닥 했구나..

lease {
  interface "wlo1";
  fixed-address 192.168.10.163;
  option subnet-mask 255.255.0.0;
  option routers 192.168.10.1;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option domain-name-servers 192.168.10.1;
  option dhcp-server-identifier 192.168.10.75;
  option host-name "minimonk-notebook";
  option domain-name "vyos.net";
  renew 2 2025/07/01 12:34:49;
  rebind 3 2025/07/02 00:07:12;
  expire 3 2025/07/02 03:07:12;
}

 

+

sudo dhclient wlo1

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

intel dri 3?  (0) 2025.08.12
csvtool  (0) 2025.07.11
우분투에서 스타크래프트 시도.. 실패  (0) 2025.06.28
netplan  (0) 2025.03.06
ubuntu 24.04 네트워크 연결 중 문제  (0) 2025.02.26
Posted by 구차니

연쇄적으로 지워지게 하려면 cascade로 DDL 사용시 넣어주면 된다.

[링크 : https://sweeteuna.tistory.com/m/71]

 

ALTER TABLE PLAYER DROP CONSTRAINT CONSTRAINT_8CD;
ALTER TABLE PLAYER ADD FOREIGN KEY (team_id) REFERENCES TEAM (id) ON UPDATE CASCADE;

ALTER TABLE PLAYER DROP CONSTRAINT CONSTRAINT_8CD;
ALTER TABLE PLAYER ADD FOREIGN KEY (team_id) REFERENCES TEAM (id) ON DELETE CASCADE;

[링크 : https://papimon.tistory.com/90]

 

'Programming > 데이터베이스' 카테고리의 다른 글

데이터베이스 순환참조  (0) 2017.05.20
데이터베이스 1:n 관계 구현  (0) 2016.02.29
CRUD  (0) 2014.05.17
데이터베이스 - 키 관련  (0) 2014.04.28
카티젼 프로덕트, join  (0) 2014.04.26
Posted by 구차니
embeded/Cortex-M3 STM2025. 6. 30. 11:17

iwdg는 내부 rc 클럭으로 작동을 하는 부분으로 stop이나 standby 모드에서도 작동한다.

즉, 절전모드 하려면 iwdg는 조금은 더 주의 깊게 설정해야 한다는 의미인데...

 

wwdg 는 window 라서 특정 시간대에만 와치독을 리셋할 수 있게 한다.

너무 빠르게 리셋해도 전체 시스템이 리셋되고, 너무 늦어도 리셋된다.

작동 시간이 일정하다면 wwdg를 쓰면 될 것 같기한데...

 

Independent watchdog
The independent watchdog is based on a 12-bit downcounter and 8-bit prescaler. It is clocked from an independent 40 kHz internal RC and as it operates independently of the main clock, it can operate in Stop and Standby modes. It can be used either as a watchdog to reset the device when a problem occurs, or as a free-running timer for application timeout management. It is hardware- or software-configurable through the option bytes. The counter can be frozen in debug mode.

Window watchdog
The window watchdog is based on a 7-bit downcounter that can be set as free-running. It can be used as a watchdog to reset the device when a problem occurs. It is clocked from the main clock. It has an early warning interrupt capability and the counter can be frozen in debug mode.

[링크 : https://www.st.com/resource/en/datasheet/stm32f103c8.pdf]

 

 

 

[링크 : https://pineenergy.tistory.com/138]

[링크 : https://electronics.stackexchange.com/questions/123080/independent-watchdog-iwdg-or-window-watchdog-wwdg]

[링크 : https://community.st.com/t5/stm32-mcus-products/iwdg-vs-wwdg/td-p/451732]

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

HAL_FLASH_Program  (0) 2025.07.21
stm32cubeide build analyzer  (0) 2025.07.21
stm32f wwdg iwdg 그리고 stop mode  (0) 2025.06.27
stm32 cubeide ioc gen  (0) 2025.06.18
stm32 uart tx dma  (0) 2025.06.18
Posted by 구차니

LG는 이래저래 싫은데

그렇다고 SK 가기도 싫고 참 어렵다.. -_-

 

아무튼 SK / KT 유심 각각 2개 구매하고

다음달에 바로 요금제 변경 ㄱㄱ 해야겠다.

Posted by 구차니
Linux/Ubuntu2025. 6. 28. 13:52

lutris 까진 설치했는데 battle.net 에서 45%를 못 넘기고 뻗는다.

걍 윈도우 설치하는게 속 편하려나..

찾아보니 윈도우 보다 사양이 많이 올라간다고 하니 흐음...

 

[링크 : https://leedaeeun.tistory.com/108]

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

csvtool  (0) 2025.07.11
ubuntu dhcp lease log  (0) 2025.07.01
netplan  (0) 2025.03.06
ubuntu 24.04 네트워크 연결 중 문제  (0) 2025.02.26
ubuntu evince(pdf 뷰어/문서보기), gedit 검색  (0) 2024.11.25
Posted by 구차니

리눅스에서 윈도우용 게임을 보면 install이 비활성화 되어있는데

우클릭해서 속성(properties...) 눌러 호환성(compatability) 에서 체크해주면

 

INSTALL 버튼이 활성화 된다.

proton hotfix가 기본설정되는게 그냥 기본이니 써보면 될려나?

 

[링크 : https://nerd-in-bong.tistory.com/11]

Posted by 구차니

니어 오토마타랑 할인이 끝나서 다음에 사야지 했는데

7월 11일 까지 여름 할인 추가요~ -_- 이런

 

그 와중에 homeworld : deserts of kharak 할인 90% 혹하는데?

Posted by 구차니
이론 관련/전기 전자2025. 6. 27. 18:12

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

오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
ntc r/t-tol  (0) 2025.04.29
전자로드 사용법  (0) 2025.04.28
합성저항, 목표저항 계산  (0) 2025.01.07
Posted by 구차니
embeded/Cortex-M3 STM2025. 6. 27. 17:27

iwdg가 wdg_sw 설정되는줄 알았는데.. iwdg가 software랑 hardware로 나눠지는 듯.. 찾아봐야겠네

 

Option Byte는 아래의 api를 통해 접근할수 있고

HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit)

 

UserConfig 변수내에 bit 단위로 설정되도록 되어있다.

typedef struct
{
uint32_t OptionType; /*!< OptionType: Option byte to be configured.
This parameter can be a value of @ref FLASHEx_OB_Type */

uint32_t WRPState; /*!< WRPState: Write protection activation or deactivation.
This parameter can be a value of @ref FLASHEx_OB_WRP_State */

uint32_t WRPPage; /*!< WRPPage: specifies the page(s) to be write protected
This parameter can be a value of @ref FLASHEx_OB_Write_Protection */

uint32_t Banks; /*!< Select banks for WRP activation/deactivation of all sectors.
This parameter must be a value of @ref FLASHEx_Banks */
 
uint8_t RDPLevel; /*!< RDPLevel: Set the read protection level..
This parameter can be a value of @ref FLASHEx_OB_Read_Protection */

#if defined(FLASH_BANK2_END)
uint8_t USERConfig; /*!< USERConfig: Program the FLASH User Option Byte:
IWDG / STOP / STDBY / BOOT1
This parameter can be a combination of @ref FLASHEx_OB_IWatchdog, @ref FLASHEx_OB_nRST_STOP,
@ref FLASHEx_OB_nRST_STDBY, @ref FLASHEx_OB_BOOT1 */
#else
uint8_t USERConfig; /*!< USERConfig: Program the FLASH User Option Byte:
IWDG / STOP / STDBY
This parameter can be a combination of @ref FLASHEx_OB_IWatchdog, @ref FLASHEx_OB_nRST_STOP,
@ref FLASHEx_OB_nRST_STDBY */
#endif /* FLASH_BANK2_END */

uint32_t DATAAddress; /*!< DATAAddress: Address of the option byte DATA to be programmed
This parameter can be a value of @ref FLASHEx_OB_Data_Address */
 
uint8_t DATAData; /*!< DATAData: Data to be stored in the option byte DATA
This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF */
} FLASH_OBProgramInitTypeDef;

 

STOP 모드 들어가면 리셋걸리지 않게 하려면 해당 OB로 설정해주어야 하나..

/** @defgroup FLASHEx_OB_IWatchdog Option Byte IWatchdog
* @{
*/
#define OB_IWDG_SW ((uint16_t)0x0001) /*!< Software IWDG selected */
#define OB_IWDG_HW ((uint16_t)0x0000) /*!< Hardware IWDG selected */
/**
* @}
*/

/** @defgroup FLASHEx_OB_nRST_STOP Option Byte nRST STOP
* @{
*/
#define OB_STOP_NO_RST ((uint16_t)0x0002) /*!< No reset generated when entering in STOP */
#define OB_STOP_RST ((uint16_t)0x0000) /*!< Reset generated when entering in STOP */
/**
* @}
*/

/** @defgroup FLASHEx_OB_nRST_STDBY Option Byte nRST STDBY
* @{
*/
#define OB_STDBY_NO_RST ((uint16_t)0x0004) /*!< No reset generated when entering in STANDBY */
#define OB_STDBY_RST ((uint16_t)0x0000) /*!< Reset generated when entering in STANDBY */

 

HAL_FLASHEx_OBGetConfig()
HAL_FLASH_OB_Unlock()
HAL_FLASH_Unlock()
HAL_FLASH_OB_Launch()

[링크 : https://blog.naver.com/eziya76/220988141146]

[링크 : https://community.st.com/t5/stm32-mcus/how-to-program-stm32-option-bytes-with-the-hal-api/ta-p/49660]

 

IWDG는 option byte에 설정 가능 - 설정하면 리부팅 필요 혹은 강제로 리부팅됨

[링크 : https://m.blog.naver.com/kim1417/221461254045]

[링크 : https://pineenergy.tistory.com/138]

 

The Independent watchdog can not be stopped in any processor mode. You have to wake up regularly to reload the watchdog. What you can do is change the prescaler to maximum so the watchdog is counting slowly.
IWDG will only be stopped if you disconnect the controller from the power supply.

[링크 : https://stackoverflow.com/questions/53334571/disabling-stm32-hal-iwdg-or-wwdg-watchdog-before-stop-mode]

 

stm32g 의 경우인데 f에 없는 플래그가 존재한다.

[링크 : https://community.st.com/t5/stm32-mcus-products/iwdg-disable-during-sleep-stop/td-p/95106]

 

+

2025.07.31

stm32f1xx_hal.h 에서 찾은 건데..

FREEZE 로 된걸 해주면 stp 모드에서 동결되려나? 그런데 debug mode 래서 언제 쓸수 있는지 찾아봐야 할 듯.

/**
* @brief WWDG Peripherals Debug mode
*/
#define __HAL_DBGMCU_FREEZE_WWDG() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_WWDG_STOP)
#define __HAL_DBGMCU_UNFREEZE_WWDG() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_WWDG_STOP)

/**
* @brief IWDG Peripherals Debug mode
*/
#define __HAL_DBGMCU_FREEZE_IWDG() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_IWDG_STOP)
#define __HAL_DBGMCU_UNFREEZE_IWDG() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_IWDG_STOP)

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

stm32cubeide build analyzer  (0) 2025.07.21
stm32 wwdg, iwdg 차이  (0) 2025.06.30
stm32 cubeide ioc gen  (0) 2025.06.18
stm32 uart tx dma  (0) 2025.06.18
stm32 pwm 주파수 계산  (0) 2025.06.05
Posted by 구차니