2017-11-30 11:36 AM
Hello friends
The microcontroller will hang after the following command
How can I fix this problem? GPIO_InitStruct.Pin = GPIO_PIN_15; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); < hang hereThanks
2017-11-30 11:46 AM
By 'hang', do you mean 'it stops responding to my debugger, which uses JTAG for its connection'?
If yes, then use SWD rather than JTAG, that would free up PA15.
If no, check if there's any unexpected short between PA15 and any other surrounding trace.
JW