Able to program GPIO_EXTI example but the board doesnt responds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 2:13 AM - edited ‎2025-01-07 2:14 AM
Hello,
I am new to STM MCUs and need to test the different peripherals of the STM32H745 to decide if it fits my project. I began with the GPIO_EXTI example, and it worked. Later, I tried to configure a USART for debugging purposes, but it didn’t work. After several days of trying, I reprogrammed the GPIO_EXTI example, but to my surprise, the LEDs no longer toggle when I press the user button.
I have tried programming the ELF file using both STM32CubeIDE and STM32CubeProgrammer (after performing a full chip erase). In both cases, the programming process completes without errors.
I have no idea why this is happening. Does anyone have any advice, please?
Thank you very much.
PS. I use the STM32H745I-DISCO board
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 5:45 AM
Sorry I am new in this enviroment and I am not sure...
How can I verify in wich mode is running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 5:49 AM
I mean stop the debug session and don't run the example from button 3 in your previous screen shot.
Just upload the program of CM4 and CM7 the debug session with this button:
Then reset the board or simply disconnect and reconnect the STLINK cable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 6:06 AM
Ok, I understand.
I have clicked on
and after I have clicked on stop button for both cores. I have disconnect and reconnect the STLINK cable.
The LD1 does not blink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 6:10 AM - edited ‎2025-01-07 6:11 AM
That's really strange:
Are you sure what you are seeing is one of these LEDs (in the red rectangle) is not toggling ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 6:18 AM
Unfortunately, I don't see any LED toggling in these rectangle...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 6:21 AM
I am going to try a Demonstration to see it run or not. May be it will give any clue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 6:52 AM - edited ‎2025-01-07 6:53 AM
Hello,
I have download these file: https://www.st.com/resource/en/compiled_demos/stm32h745i-disco_demo.zip
and I have launch "program_hexfile.bat" with the following output
But the screen does not show anything, only a white screen...
I wonder if the board is broken. It is strange to be able to program it without error.
Is it posible that the core is OK but the periferics are boken?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-07 8:31 AM
It's hard to tell you what happened and what is going on..
Try to run a very simple example without using any external resources (GPIOs etc ..) example an algorithm like BubbleSort: https://www.geeksforgeeks.org/bubble-sort-algorithm/
Make a full erase of the Flash using CubeProgrammer and upload/Run this algorithm on CM7. Run it in debug and see if the algorithm is running well (sorting the values correctly).
Do the same thing on CM4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-08 12:21 AM
One thing, did you modify the option bytes? especially the boot options?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-08 12:32 AM
Hello,
I will try the algorithm BubbleSort as soon as possible, thanks.
I have not modified the option bytes. I attach a picture
Thanks
