section placement failed
STM32H7S78-DK
linker error occured.
estimated minimum size of 0x1'3456 bytes ...
Using IAR EWARM 9.60.2.
What should I do?
STM32H7S78-DK
linker error occured.
estimated minimum size of 0x1'3456 bytes ...
Using IAR EWARM 9.60.2.
What should I do?
Hello,
@sfukui-wbj wrote:
unable to allocate space for sections/blocks with a total estimated minimum size of 0x1'3456 bytes (max align 0x8) in <[0x800'0000-0x800'ffff]> (total uncommited space 0xfd50).
That indeed means you exceeded the internal Flash size which is 64KB. So you need either to split your program between the internal and an external memory or simply use the internal flash to boot and the external memory for your application. Here you need to handle the linker file and the flash loader of the external flash memory.
@sfukui-wbj wrote:
I would like to be able to place the code in memory exceeding that and execute it. Since the SYSTEM FLASH is 128KB, I set ,
Sorry, which System Flash? the system flash has 64KB size.
@sfukui-wbj wrote:
I am using the serial flash connected to xspi2, but since it is a software that operates it, I do not want to use it in XIP, but I will consider it if I should use it. Also, there are Template_XIP_ExtMemLoader, Template_XIP_Boot, and Template_XIP_Appli in the subprojects of the project, and I am only using the Template_XIP_Boot subproject. I do not know how to use the other subprojects.
If you have an issue with the external memory, you need to open a new thread as it's a new question ad close this thread by marking Accepted as Solution the comment that answered your original question.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.