2020-06-16 03:19 AM
I have doubt that the bandwidth of the internal memory which is 1536MB/s is too fast. i am using stm32h743 at 480 MHz and the AXI bus speed is 240MHz.
2020-06-16 06:42 AM
Problem was solved
2020-06-16 08:05 AM
Good =)
Can you explain how you solved it ? It might help others.
Thank you in advance.
/Alexandre
2020-06-24 01:18 AM
@Alexandre RENOUX
Hi,
Sorry for late reply. i disabled the cache which solved the problem.
I have another question. how can i Create a loader for parallel nor flash to store the assets there?
Regards
Mahmoud
2020-06-24 01:42 AM
Hello,
Which IDE are you using ? Depending on the IDE the loader file will be different.
/Alexandre
2020-06-24 01:49 AM
@Alexandre RENOUX
I am using the CUBE IDE
Mahmoud
2020-06-24 02:02 AM
You need to change the *.ld file in the STM32CubeIDE folder.
In this file you will see something similar to :
MEMORY
{
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 256K
RAMFB (xrw) : ORIGIN = 0x24040000, LENGTH = 768K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
OSPI (xrw) : ORIGIN = 0x90000000, LENGTH = 64M
// If not already written, add you memory with the origin address and the size
}
You create your memory label with the right origin address and size if it is not already written in the file.
Then further in the file, you will find something like :
ExtFlashSection :
{
*(ExtFlashSection ExtFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >OSPI //modify this label if necessary
ExtFlashSection is the Section for the assets. Here it is stored in the OctoSPI Flash memory. Just modify the label to match your NOR parallel Flash.
/Alexandre
2020-06-24 02:03 AM
@Alexandre RENOUX
Dont i need to write loader if the memory is not supported in the st link utility folder?
2020-06-24 02:13 AM
You are using ST Link Utility ?
If so, you should use STCubeProgrammer. ST Link Utility is not maintained anymore and we advise everyone to use the currently supported software CubeProgrammer. Can you see if it your NOR Flash is supported by CubeProgrammer ?
This memory is an external memory you added to your custom board, isn't it ?
/Alexandre
2020-06-24 02:27 AM
@Alexandre RENOUX
Yes, i am using one in custom board but sadly its not supported. so if i used another flash which is supported can i use the loader in the cube programmer?