AnsweredAssumed Answered

STM32CubeMX disables SWD by default for F1

Question asked by Dmitry Bravikov on Nov 12, 2016
Latest reply on May 10, 2017 by lewis.william
I use STM32CubeMX 4.17.0. I create a new project and select any F1. Then, I generate a source code. In function HAL_MspInit() I see following lines:

    /**DISABLE: JTAG-DP Disabled and SW-DP Disabled 
    */
  __HAL_AFIO_REMAP_SWJ_DISABLE();

STM32CubeMX disables SWD by default. Is this a bug?

Outcomes