2019-05-02 08:44 AM
HI,
I'm trying to create a Flash loader for ST-Link Utility or Cube-Programmer for STM32H750.
I have successfully made the STM32F7 flash loaders, while with the STM32H7 I have the following problem:
17:36:19 : Connected via SWD.
17:36:19 : SWD Frequency = 4,0 MHz.
17:36:19 : Connection mode : Connect Under Reset.
17:36:19 : Debug in Low Power mode enabled.
17:36:19 : Device ID:0x450
17:36:19 : Device flash Size : 2MBytes
17:36:19 : Device family :STM32H7xx
17:36:20 : Can not read memory!
Are there any differences between F7 and H7?
Do you have any examples to give me?
Best regards
2019-05-02 09:36 AM
>>Are there any differences between F7 and H7?
I don't know, the reference manual suggest architecturally they are significantly different.
Instrument your loaders so you can debug/diagnose them, the "Can not read memory!" really doesn't convey much detail. Try picking high Debug Verbosity levels see if anything more insightful drops out.
2019-05-02 05:40 PM
I think the problem may be that it appears to have read the Flash memory size wrongly. The H750 only has 128k officially. There is in fact far more on the die but it is not tested. Could it be that your program finds more memory (didn't think the die had 2M though) but then cannot read the memory because it is in fact faulty ?
Maybe try with a H743 first which I believe is fully tested ?