2014-04-25 01:37 PM
I'm using the STM32F439I-EVAL board and I generated a project using the STM32CubeMX program using
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00093454.pdf
as a reference. These are the interfaces I use1) CRC2) DMA2D3) I2C14) IWDG5)LTDC6) RCC7) SYS (SWD and asynchronous trace)8)TIM2 (using internal clock source)9) TIM610) USART2I also set the project setting to set all unused pins to Analog to save power. When I generate the corresponding code and run the project on the platform ( I step using the debugger ). The debugger looses control of the processor and it seems to have been reset. It happens when initializing the GPIOs, specifically when setting the GPIOB block of pins to analog. I have unchecked the box to set all unused pins to analog and am now able to move forward past that. Can anyone tell me what the problem was ? ThanksKartik #stm32f439 #stm32cubef42014-04-28 06:31 AM
The debugger looses control of the processor and it seems to have been reset.
This is because you updated default mode of debug pins. -Mayla-
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.