2022-03-26 04:03 AM
Hello everyone,
I am trying to upload a program via the Cube Programmer to my STM32f647g_Disco board.
When using CubeIDE it works flawlessly, but when I try to flash the HEX files with CubeProgrammer, it is showing the following message:
" 18:10:01 : Error: Data mismatch found at address 0x900002F3 (byte = 0x00 instead of 0x04)
18:10:01 : Error: Download verification failed"
I think it does not save the new software to the external flash memory of the board.
Do you know a workaround for this?
In the appendix there are two logs, one from CubeIDE (with functioning flashing), one from cubeProgrammer.
Until now, I was using the HEX file that get´s generated in (ProjectName\CubeIDE\Debux\ProjectName.HEX)
Do I have to use a different one, or a second one for the external memory?
I also noticed that the BIN File (in the same folder directory) has more than two GB. IS that normal?
Thanks for the Help!
Solved! Go to Solution.
2022-03-26 04:27 AM
The large .BIN is indicative of the data sections being in very different areas of the 4GB address space, use the .HEX
Make sure to have selected the External Loader (EL) for the board, EL button, then check one for F746G DISCO
2022-03-26 04:27 AM
The large .BIN is indicative of the data sections being in very different areas of the 4GB address space, use the .HEX
Make sure to have selected the External Loader (EL) for the board, EL button, then check one for F746G DISCO
2022-03-26 04:28 AM
Question is, use or need your code realy external flash ?
Your image 1 dont show info and second code is small.
When yes you need specify external loader plugin for programmer. In IDE project is preconfigured.
And yes demo projects generates fake big bin file for extarnal flash... recommend change format in makefile.
2022-03-26 05:36 AM
Thanks, that did the trick!
Now it is working.