2020-02-01 01:24 AM
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.
2020-02-01 02:12 AM
Вот по�?ледний вариант https://cloud.mail.ru/public/3kwT/49vbFpq5i
Он при прошивке шьет по адре�?ам 0x90000000, но при запу�?ке ви�?нет на указанных выше �?троках.
По�?мотрите на sct файл и на на�?тройки дебаггера, подозреваю проблемы там.
И еще - когда запу�?каю дизайнер - у мен�? нет кнопки дл�? прошивки платы дизайнером. Когда �? открываю в �?амом дизайнере проект под ди�?кавери, така�? кнопка е�?ть. Е�?ли �? генерирую проект �? помощью куба и из куба жму "execute" - такйо кнопки нет.
2020-02-08 12:54 AM
Look at this video to get a project started to see if that helps
https://www.youtube.com/watch?v=12KXreXaLp0&t=11s