Skip to main content
February 1, 2020
Question

STM32F746G-DISCO+TOUCHGFX+QSPI - Problem

  • February 1, 2020
  • 2 replies
  • 834 views

Hello! Sorry for my bad English...

I have board STM32F746-DISCO.

I generated project with CUBEMX and TouchGFX Designer. It works very well - I can see background picture and buttons. Pictures are located in "ExtFlashSection".

But today, while uploading firmware to DISCO by Keil, I look to left bottom corner, there programmed adresses are displayed. And I saw, that programmed adresses are 0x8xxxxxxx only. Adresses of qspi (0x9xxxxxxx) are not programmed.

I looked at configuration of automatically generated project. I opened .SCT file

LR_IROM1 0x08000000 0x00200000 { ; load region size_region
 intflash.bin 0x08000000 0x00200000 { ; load address = execution address
 *.o (RESET, +First)
 *(InRoot$$Sections)
 .ANY (+RO)
 }
 RW_IRAM1 0x20000000 0x00030000 { ; RW data
 .ANY (+RW +ZI)
 }
}
 

I added next code

LR_EROM1 0x90000000 0x01000000 { ; load region size_region
 extflash.bin 0x90000000 0x01000000 { ; load address = execution address
 *.o (ExtFlashSection)
 }
}
 

I added flash algoritm STM32F746G-DISCO_N25Q128

Good! while firmware loading I see addresses 0x9xxxxxxx. Good, pictures are in qspiflash,

But then code started, pictures are not loaded.

Program halt at

 static portTASK_FUNCTION( prvIdleTask, pvParameters ) 

on strings

 if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ tskIDLE_PRIORITY ] ) ) > ( UBaseType_t ) 1 )
 {
 taskYIELD();
 }

Help me to create project, which use qspi correctly.

This is my project https://cloud.mail.ru/public/3kwT/49vbFpq5i.

Help me, please.

This topic has been closed for replies.

2 replies

February 1, 2020

Вот по�?ледний вариант https://cloud.mail.ru/public/3kwT/49vbFpq5i

Он при прошивке шьет по адре�?ам 0x90000000, но при запу�?ке ви�?нет на указанных выше �?троках.

По�?мотрите на sct файл и на на�?тройки дебаггера, подозреваю проблемы там.

И еще - когда запу�?каю дизайнер - у мен�? нет кнопки дл�? прошивки платы дизайнером. Когда �? открываю в �?амом дизайнере проект под ди�?кавери, така�? кнопка е�?ть. Е�?ли �? генерирую проект �? помощью куба и из куба жму "execute" - такйо кнопки нет.

Karl Yamashita
Principal
February 8, 2020

Look at this video to get a project started to see if that helps

https://www.youtube.com/watch?v=12KXreXaLp0&t=11s

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source