2021-04-22 12:25 PM
Hello,
I am using STM32F469I-DISC0 board to test TouchGFX demonstration examples with Keil MDK.
I have downloaded STM32Cube_FW_F4_V1.26.0 SDK, and I am trying to get running the project at path:
..\STM32Cube_FW_F4_V1.26.0\Projects\STM32469I-Discovery\Demonstrations\TouchGFX\MDK-ARM\touchgfx_demo2015_800x480.uvprojx
The project compiles without a problem, but when trying to download it to the board, the output console print errors related to the flashing algorithm:
No Algorithm found for: 90000000H - 9000FFFFH
No Algorithm found for: 90010000H - 9001FFFFH
No Algorithm found for: 90020000H - 9002FFFFH
No Algorithm found for: 90030000H - 9003FFFFH
No Algorithm found for: 90040000H - 9004FFFFH
....
....
No Algorithm found for: 907F0000H - 907FFFFFH
No Algorithm found for: 90800000H - 9080FFFFH
No Algorithm found for: 90810000H - 9081FFFFH
No Algorithm found for: 90820000H - 9082FFFFH
No Algorithm found for: 90830000H - 9083569FH
I understand that this is because some parts of the code (which contains TouchGFX primitives) should be downloaded into the external flash mapped to section 90000000H - 9083569FH, am I right?
So, trying to get the example running, I added "STM32F469 QSPI" Flash algorithm from Options for target->Utilities->Flash Download tab, as can be seen in the picture below:
After this change, the output console indicates the following error during the verification stage:
Load "STM32469I-Discovery\\Exe\\application.axf"
Erase Done.
Programming Done.
Contents mismatch at: 90000000H (Flash=5FH Required=F8H) !
Contents mismatch at: 90000001H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000002H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000003H (Flash=80H Required=00H) !
Contents mismatch at: 90000004H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000005H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000006H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000007H (Flash=80H Required=00H) !
Contents mismatch at: 90000008H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000009H (Flash=8FH Required=FCH) !
Contents mismatch at: 9000000AH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000000BH (Flash=80H Required=00H) !
Contents mismatch at: 9000000CH (Flash=0FH Required=F8H) !
Contents mismatch at: 9000000DH (Flash=8FH Required=FCH) !
Contents mismatch at: 9000000EH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000000FH (Flash=80H Required=00H) !
Contents mismatch at: 90000010H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000011H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000012H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000013H (Flash=80H Required=00H) !
Contents mismatch at: 90000014H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000015H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000016H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000017H (Flash=80H Required=00H) !
Contents mismatch at: 90000018H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000019H (Flash=8FH Required=FCH) !
Contents mismatch at: 9000001AH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000001BH (Flash=80H Required=00H) !
Contents mismatch at: 9000001CH (Flash=0FH Required=F8H) !
Contents mismatch at: 9000001DH (Flash=8FH Required=FCH) !
Contents mismatch at: 9000001EH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000001FH (Flash=80H Required=00H) !
Contents mismatch at: 90000020H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000021H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000022H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000023H (Flash=80H Required=00H) !
Contents mismatch at: 90000024H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000025H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000026H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000027H (Flash=80H Required=00H) !
Contents mismatch at: 90000028H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000029H (Flash=8FH Required=FCH) !
Contents mismatch at: 9000002AH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000002BH (Flash=80H Required=00H) !
Contents mismatch at: 9000002CH (Flash=0FH Required=F8H) !
Contents mismatch at: 9000002DH (Flash=8FH Required=FCH) !
Contents mismatch at: 9000002EH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000002FH (Flash=80H Required=00H) !
Contents mismatch at: 90000030H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000031H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000032H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000033H (Flash=80H Required=00H) !
Contents mismatch at: 90000034H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000035H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000036H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000037H (Flash=80H Required=00H) !
Contents mismatch at: 90000038H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000039H (Flash=8FH Required=FCH) !
Contents mismatch at: 9000003AH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000003BH (Flash=80H Required=00H) !
Contents mismatch at: 9000003CH (Flash=0FH Required=F8H) !
Contents mismatch at: 9000003DH (Flash=8FH Required=FCH) !
Contents mismatch at: 9000003EH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000003FH (Flash=80H Required=00H) !
Contents mismatch at: 90000040H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000041H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000042H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000043H (Flash=80H Required=00H) !
Contents mismatch at: 90000044H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000045H (Flash=8FH Required=FCH) !
Contents mismatch at: 90000046H (Flash=CFH Required=F8H) !
Contents mismatch at: 90000047H (Flash=80H Required=00H) !
Contents mismatch at: 90000048H (Flash=0FH Required=F8H) !
Contents mismatch at: 90000049H (Flash=8FH Required=FCH) !
Contents mismatch at: 9000004AH (Flash=CFH Required=F8H) !
Contents mismatch at: 9000004BH (Flash=80H Required=00H) !
Contents mismatch at: 9000004CH (Flash=06H Required=68H) !
Contents mismatch at: 9000004DH (Flash=86H Required=6CH) !
Contents mismatch at: 9000004EH (Flash=C6H Required=60H) !
Contents mismatch at: 9000004FH (Flash=03H Required=3CH) !
Contents mismatch at: 90000050H (Flash=C6H Required=60H) !
Contents mismatch at: 90000051H (Flash=05H Required=5CH) !
Contents mismatch at: 90000052H (Flash=C5H Required=58H) !
Contents mismatch at: 90000053H (Flash=84H Required=4DH) !
Contents mismatch at: 90000054H (Flash=D6H Required=60H) !
Contents mismatch at: 90000055H (Flash=05H Required=5CH) !
Contents mismatch at: 90000056H (Flash=C5H Required=50H) !
Contents mismatch at: 90000057H (Flash=06H Required=6DH) !
Contents mismatch at: 90000058H (Flash=D6H Required=60H) !
Contents mismatch at: 90000059H (Flash=06H Required=60H) !
Contents mismatch at: 9000005AH (Flash=05H Required=50H) !
Contents mismatch at: 9000005BH (Flash=09H Required=9AH) !
Contents mismatch at: 9000005CH (Flash=A5H Required=50H) !
Contents mismatch at: 9000005DH (Flash=05H Required=54H) !
Contents mismatch at: 9000005EH (Flash=45H Required=50H) !
Contents mismatch at: 9000005FH (Flash=0AH Required=A2H) !
Contents mismatch at: 90000060H (Flash=25H Required=50H) !
Contents mismatch at: 90000061H (Flash=05H Required=54H) !
Contents mismatch at: 90000062H (Flash=44H Required=48H) !
Contents mismatch at: 90000063H (Flash=89H Required=9EH) !
Is there something I might do to solve the problem?
Were the demos not intended to be run without changing anything?
Thanks.
2021-04-23 03:05 AM
Hi,
You need to use STM32CubeProgrammer and select the external loader for the STM32F429 disco board in order to flash on target.
/Romain
2021-04-27 06:11 AM
Has this fixed your issue ?
/Romain
2021-04-27 06:19 AM
Make sure the memory is erased before starting
Double check that the algorithm is correct for the board/memory in use here
As I recall the STM32F469I-DISCO had an N25Q128A (16MB) memory, so 0x90000000..0x90FFFFFF
And the STM32F469I-DK a MT25QL128A
The EVAL board has the 32MB device