cancel
Showing results for 
Search instead for 
Did you mean: 

Able to program GPIO_EXTI example but the board doesnt responds

RafaelS
Associate III

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

 

 

27 REPLIES 27

Sorry I am new in this enviroment and I am not sure...

How can I verify in wich mode is running?

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:

SofLit_0-1736257749723.png

Then reset the board or simply disconnect and reconnect the STLINK cable.

 

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.

Ok, I understand.

I have clicked on

RafaelS_0-1736258700246.png

and after I have clicked on stop button for both cores. I have disconnect and reconnect the STLINK cable.

The LD1 does not blink

That's really strange:

Are you sure what you are seeing is one of these LEDs (in the red rectangle) is not toggling ?

SofLit_0-1736259018468.png

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.

Unfortunately, I don't see any LED toggling in these rectangle...

RafaelS
Associate III

I am going to try a Demonstration to see it run or not. May be it will give any clue

RafaelS
Associate III

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

RafaelS_0-1736261281684.png

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?

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.

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.

One thing, did you modify the option bytes? especially the boot options?

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.
RafaelS
Associate III

Hello,

I will try the algorithm BubbleSort as soon as possible, thanks.

 

I have not modified the option bytes. I attach a picture

RafaelS_0-1736325122878.png

Thanks