Monday, February 5, 2024

xdebug 무조건 트레이스 시작시키기(xDebug, stop break point always setup)

php.ini 에 xdebug 설정을 넣을때 아래와 같이 설정하면 된다.

dll 파일의 이름은 각자 자기 상황에 맞게 수정하시라.


this setup will stopped always on break point. 

DLL filename depends on your system.



[xdebug]

zend_extension="php_xdebug-3.3.0-8.1-vs16-nts-x86_64.dll"

xdebug.mode=debug

xdebug.default_enable = 1

xdebug.remote_enable = 1

xdebug.remote_autostart = 1

xdebug.idekey="PHPSTORM"

xdebug.client_host=127.0.0.1

xdebug.client_port=9000

xdebug.start_with_request=yes

Sunday, January 28, 2024

NanoCAD is Free CAD program like AutoCAD

NanoCAD is free for personal cad program. Usage is same as AutoCAD.

go to nanocad.com, download personal version. 

https://nanocad.com/personal/






Saturday, January 27, 2024

HardFault (error ) on STM32 USB Host + FreeRTOS

I have Hard fault when USB device Attached to my STM32F407.


STM32CubeMX makes rtos STACK SIZE default to 128 bytes.

It is too small.


You can increase stack size.


Filename : USB_HOST/Target/usbh_config.h


Original (ERROR case)


#if (USBH_USE_OS == 1)

#include "cmsis_os.h"

#define USBH_PROCESS_PRIO osPriorityNormal

#define USBH_PROCESS_STACK_SIZE ((uint16_t)128)

#endif /* (USBH_USE_OS == 1) */



Fix (ERROR case)


#if (USBH_USE_OS == 1)

#include "cmsis_os.h"

#define USBH_PROCESS_PRIO osPriorityNormal

#define USBH_PROCESS_STACK_SIZE ((uint16_t)2048)

#endif /* (USBH_USE_OS == 1) */