STM32CubeMX Generated GPIO Code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-04-25 1:37 PM
Posted on April 25, 2014 at 22:37
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 #stm32cubef4
Labels:
- Labels:
-
STM32Cube MCU Packages
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-04-28 6:31 AM
Posted on April 28, 2014 at 15:31
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.
