Hello jahr, thanks for the quick reply and sorry, that was my mistake.
I had already read all the information that WeAct offers, including the information you linked, but had overlooked the fact that WeAct offers an ExternalLoader for downloading and had therefore worked with a different downloader. I noticed this on my own this morning, but I still overlooked the fact that I can't flash the QSPI Flash via DFU.
After reading your answer, I read through each step again and then I realised that I had to use an STLINK. Then, of course, flashing firmware1.bin worked straight away and I was able to access the board immediately via Repl.
[STM32H750] Working board definitions and some questions
Re: [STM32H750] Working board definitions and some questions
I follow up this program and getting issues or errors in aero WA.SunWukong wrote: ↑Thu Dec 09, 2021 11:44 pmThe build has worked well so far with these board definitions.Unfortunately, I could not successfully flash the firmware afterwards.Code: Select all
LINK build-WEACT_H750/firmware.elf text data bss dec hex filename 384144 24 32352 416520 65b08 build-WEACT_H750/firmware.elf INFO: this build places firmware in external QSPI flash GEN build-WEACT_H750/firmware0.bin GEN build-WEACT_H750/firmware1.bin GEN build-WEACT_H750/firmware.dfu
I then transferred the firmware0.bin and firmware1.bin files to a PC with Windows on which the STM32CubeProgrammer is installed. firmware0.bin could be flashed without any problems. With firmware1.bin I found out that the STM32CubeProgrammer cannot handle the installed external QSPI Flash (W25Q64 ) by default. I then found what I was looking for in the ST Community Forum.Code: Select all
make BOARD=WEACT_H750 deploy Writing build-WEACT_H750/firmware.dfu to the board Traceback (most recent call last): File "/home/mike/micropython/ports/stm32/../../tools/pydfu.py", line 22, in <module> import usb.core ModuleNotFoundError: No module named 'usb' make: *** [Makefile:665: deploy] Fehler 1
STM32CubeIDE STM32H750VB QSPI External loader Problem
After I had copied this helper programm into a directory that seemed suitable to me, I was able to select the W25Q64 chip and theoretically flash it, but in the end there were unfortunately error messages.Code: Select all
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\ExternalLoader
Now I am at a loss, but tomorrow, no today, I will search the net and maybe I will find out what I am doing wrong.Code: Select all
00:00:44 : STM32CubeProgrammer API v2.1.0 00:00:48 : USB speed : Full Speed (12MBit/s) 00:00:48 : Manuf. ID : STMicroelectronics 00:00:48 : Product ID : DFU in FS Mode 00:00:48 : SN : 200364500000 00:00:48 : FW version : 0x011a 00:00:48 : Device ID : 0x0450 00:00:48 : UPLOADING OPTION BYTES DATA ... 00:00:48 : Bank : 0x00 00:00:48 : Address : 0x5200201c 00:00:48 : Size : 308 Bytes 00:00:48 : UPLOADING ... 00:00:48 : Size : 1024 Bytes 00:00:48 : Address : 0x8000000 00:00:48 : Read progress: 00:00:48 : Data read successfully 00:00:48 : Time elapsed during the read operation is: 00:00:00.007 00:02:09 : Memory Programming ... 00:02:09 : Opening and parsing file: firmware1.bin 00:02:09 : File : firmware1.bin 00:02:09 : Size : 267312 Bytes 00:02:09 : Address : 0x90000000 00:02:09 : Erasing memory corresponding to segment 0: 00:02:09 : Not flash Memory : No erase done 00:02:09 : Download in Progress: 00:02:14 : Error: failed to download Segment[0] 00:02:14 : Error: failed to download the File 00:02:14 : Time elapsed during download operation: 00:00:04.734 00:02:14 : Verifying ... 00:02:14 : Read progress: 00:02:19 : Error: Failed to read memory at address 0x90000000 during verification 00:02:19 : Error: Download verification failed 00:02:19 : RUNNING Program ... 00:02:19 : Address: : 0x90000000 00:02:24 : Error: Start operation failed
Re: [STM32H750] Working board definitions and some questions
If you expect any help you have to be specific about the errors and issues you get.
Re: [STM32H750] Working board definitions and some questions
i'm really grateful for this link. I was struggling flashing the firmware, but these instructions helped me. great work sharing it.jahr wrote: ↑Fri Dec 10, 2021 8:59 amHello SunWukong, try to flash firmware1.bin using the instructions on the page GBWhatsApp APKhttps://github.com/WeActTC/MiniSTM32H7x ... PI_Flasher. It worked well for me