Solved
What are the differences begin user begin sections 1 to 4. (Generated by Cube MX, IDE). Which types of codes should be written there and why there is four different (or more) user code begin sections?
This just looks like a comment but it seems a code outside these comment have different affect.
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
