Skip to main content
flyingchris
Associate II
July 2, 2020
Question

H745ZI-Q unable to load a different program then demo

  • July 2, 2020
  • 8 replies
  • 1491 views

Hi,

recently I switched from Arduino to Nucleo and now I wanted to play around with the H745ZI-Q and was following the step by step guide by st. Whenever I try to load a program to the mcu, only the demo blinky program is running. I have not found any advice in the user manual. Is there something I'm missing?

I use the CN1 USB Connector to connect to my PC and Putty works fine to get data. It's just that any program I try to load to the board does not change anything about the demo thats just keeps running.

Thanks for any advice.

This topic has been closed for replies.

8 replies

Tesla DeLorean
Guru
July 2, 2020

If you download the into the flash for the CM7 core it should run that.

Attached is a not-the-demo .HEX file that can be written with STM32 Cube Programmer applications, and outputs via the VCP at 115200 8N1

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
flyingchris
Associate II
July 2, 2020

I'm sorry but this went straight over my head. I'm currently using the CubeIDE. I guess I can't use the CubeIDE to load a new program onto the board but have to use the Cube Programmer you suggested? I'm asking because the online tutorials I saw regarding the 64pin boards just used the IDE and the Programmer was not suggested in the official ST educational examples.

Tesla DeLorean
Guru
July 2, 2020

I don't use CubeIDE and OpenOCD tools. Keil is certainly capable of flashing code directly after compilation.

You should be able to download-and-run.

The use of STM32 Cube Programmer was suggested as a way of confirming things could actually be downloaded properly, and would run different code.

It could perhaps be a problem that you're not replacing the software for both cores, but only one.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
flyingchris
Associate II
July 11, 2020

So I tested one of the ways to disable one of the cores. I disabled the boot of the CM7 core with cubeProgrammer. However now I cant connect to the board and get a fail.txt. The usual fix with STM32 ST-Link Utility also does not work. Any ideas?