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

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

갖고 싶은것

1. 스팀덱

2. 닌텐도 1 중고 (니어 오토마타를 위해!)

3. 스팀 게임 (니어 레플리칸트, 니어 오토마타 60% 할인 7월 11일 까지)

4. de10-nano 혹은 cyclone V 계열 fpga

5. zynq 계열 fpga

 

배우고 싶은 것

1. openGL

2. VHDL, verilog (xilinx, altera)

3. vulkan

4. blender, freecad

 

그냥 먼가 욕심은 많은데 체력이 없어서 그런가,게임도 이제 던지고 멍때리고만 있다.

그나마 비 안오면 자전거라도 조금씩 늘리고 있었는데 왕창 비가 올 예정이고

가을에는 춘천 가보는걸 목표로(!) 조금씩 체력을 길러야 숨쉰채로 살아남을수 있을듯..

 

스팀덱은 노트북으로 대체하려고 했으나 무거워서 하지도 못해 지름을 누르지 못하고 있고

닌텐도 2는 너무 비싸고 1은 그래도 중고로 12만원~15만원 대에 보여서 고민

니어 오토마타도 산다고 할진 모르겠지만 갖고 싶고

스토리상 연관이 있다고 하니 니어 레플리칸트도 갖고 싶고..

 

그냥 다 욕심인걸까..

AI 시대에 머가 중요한데 싶으면서도

그냥 한땀한땀 손으로 쌓아올리고 싶기도 하고.. 참 모르겠다. 

 

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

어우 피곤  (0) 2025.08.05
절래절래  (0) 2025.07.09
이번달 k-pass 환급액은 적겠군..  (0) 2025.06.26
외근  (0) 2025.06.17
오늘도 피곤  (0) 2025.06.13
Posted by 구차니
embeded/FPGA - XILINX2025. 6. 27. 16:16

pynq가 더 싸게 팔리는데 차이가 없다면 pynq를 사서 arty 이미지를 써서 가지고 노는것도 방법일 듯?

 

Between PYNQ Z1 and Arty Z7, the only difference is that the PYNQ has a microphone and Arty Z7 doesn't, otherwise they are identical from the specs point of view.

[링크 : https://forum.digilent.com/topic/20727-what-zynq-7020-board-would-you-recommend-zybo-arty-z7-pynq-z1/]

[링크 : https://www.reddit.com/r/FPGA/comments/fkumbh/is_the_arty_a7_or_a_similarly_priced_zynq_board/]

 

 

arty z7의 경우

HDMI in / out이 있는게 장점 인듯.

[링크 : https://digilent.com/reference/learn/programmable-logic/tutorials/arty-z7-hdmi-in-demo?srsltid=AfmBOop1w1FTtQP9bF_ssIaZuOXVLJhOrn1Kda292FBD_9-p5f0ogsbE]

'embeded > FPGA - XILINX' 카테고리의 다른 글

zynq vitis openCL  (0) 2025.06.27
EBAZ4205 zynq  (0) 2025.03.25
xilinx vdma  (0) 2025.01.16
ftdi jtag  (0) 2023.07.22
xilinx zynq jtag  (2) 2023.07.21
Posted by 구차니
embeded/FPGA - XILINX2025. 6. 27. 16:06

대충(?) 보기에는

openCL로 작성한 kernel을 vivado hls 에서 읽어들여

하드웨어로 synthesis 하고 그걸 메모리에 연결해서(AXI) 그냥 제어해버리는 컨셉인 듯

 

그렇게 생겨난 IP를 회로로 구성해서 zynq에 넣어서 작동하면 끝

[링크 : https://svenssonjoel.github.io/pages/zynq_hls_opencl/index.html]

'embeded > FPGA - XILINX' 카테고리의 다른 글

pynq 와 arty  (0) 2025.06.27
EBAZ4205 zynq  (0) 2025.03.25
xilinx vdma  (0) 2025.01.16
ftdi jtag  (0) 2023.07.22
xilinx zynq jtag  (2) 2023.07.21
Posted by 구차니
embeded/FPGA - ALTERA2025. 6. 27. 16:05

하나 갖고 싶긴한데... 매물도 잘 없고 비싸단 말이지..

[링크 : https://download.terasic.com/downloads/cd-rom/de1-soc/linux_BSP/OPENCL18.1/DE1-SoC_OpenCL_v05.pdf]

 

통합되어 있진 않지만 openCL kernel을 작성하고

AOCL(altera offline compiler)를 통해서 aocx가 나오면 그걸 fpga에 올려서 돌리는 듯?

[링크 : https://ftp.intel.com/Public/Pub/fpgaup/pub/Teaching_Materials/current/Tutorials/OpenCL_On_DE_Series_Boards.pdf]

'embeded > FPGA - ALTERA' 카테고리의 다른 글

terasic sockit  (0) 2023.11.06
HSMC(High Speed Mezzanine Card)  (0) 2023.10.02
altera(intel fpga) m9k m10k  (0) 2023.05.14
altera uart ip  (0) 2023.05.14
altera - partial reconfigure  (0) 2023.04.24
Posted by 구차니
개소리 왈왈/컴퓨터2025. 6. 27. 11:29

수리 쪽에서 파트명 찾아내고

[링크 : https://ko.ifixit.com/Device/Lenovo_ThinkPad_E15_Gen_3 ]

 

와우.. 가격 진짜 저게 맞나?!! 싶긴한데

[링크 : https://www.ifixit.com/Parts/Lenovo_ThinkPad_E15_Gen_3/Fans?_gl=1*1obsttr*_gcl_au*NTA4MTczMTMuMTc1MDk5MTEwNw..*_ga*MTc1NDYzMTQ2NC4xNzUwOTkxMTA3*_ga_5ZXNWJ73GK*czE3NTA5OTExMDckbzEkZzAkdDE3NTA5OTExMDckajYwJGwwJGgxMDQ2NDM3MTY5&pk_vid=fdd282faa98792d617509911148825ba]

 

알리에서도 파는걸 보면 히트파이프에 블로워팬 포함이라 싸게 팔수있는 부품이 아니긴 할 느낌.

[링크 : https://ko.aliexpress.com/item/1005003497090775.html]

[링크 : https://www.amazon.com/HK-Part-Thinkpad-Cooling-Heatsink-5H40S72941/dp/B0B5R1XRV3]

 

dell이랑 hp는 그래도 서비스 메뉴얼을 공개해서 좋긴해.

그나저나 저것만 푼다고 교체 가능할 느낌이 아니었는데..

[링크 : https://download.lenovo.com/pccbbs/mobiles_pdf/e14_gen3_e15_gen3_hmm_en.pdf]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

ultarnav fn 키와 access ibm  (0) 2025.07.28
어라 갑자기 크롬 잘 된다?  (0) 2025.07.23
노트북 쿨러 수리  (0) 2025.06.07
레노버 E15 fan error  (0) 2025.06.04
마우스 휠  (0) 2025.05.26
Posted by 구차니

대선에 이번 휴가 쓴거랑 해서 5일 가까이 출근을 안한 셈이되니

4200/일 * 5 = 약 2.1만이 빠져서 생각외로 환급액이 크지 않을 예정이니

그래도 2만원은 돌려받았었는데 만원 겨우 받게 생기니 급! 우울 -_ㅠ

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

절래절래  (0) 2025.07.09
난 멀하고 싶은걸까?  (1) 2025.06.27
외근  (0) 2025.06.17
오늘도 피곤  (0) 2025.06.13
개! 피곤  (0) 2025.06.10
Posted by 구차니

거실에서 잤다가 6시에 깨서 더 못자고

개피곤 모드 -_ㅠ

일은 일대로 꼬여서 하나도 안풀리고 이게 머야

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

피곤  (0) 2025.07.04
유심도착  (0) 2025.07.02
게임은 나중에 사자~  (0) 2025.06.24
바쁜하루  (0) 2025.06.23
골골골 2일차  (0) 2025.06.20
Posted by 구차니