Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32


How to flash QSPI-Flash of STM32F746G-Discovery, or to create a binary file for ST-LINK

Hello,

I want to execute large (over 1MB) code on STM32F746G-Discovery. So, I want to flash my code to QSPI-Flash, but I have failed.

I wrote LinkerScript.ld as


/* Specify the memory areas */
MEMORY
{
FLASH (rx)  : ORIGIN = 0x08000000, LENGTH = 1024K
RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 307K
...(snif)
QSPI_FLASH (rx)  : ORIGIN = 0x90000000, LENGTH = 4096K
EXT_RAM (xrw)  : ORIGIN = 0xC0000000, LENGTH = 8192K
}
...(snif)
.genCode :
{
. = ALIGN(4);
*/foobar.o (.text .text*) # sample name
...(snif)
. = ALIGN(4);
} >QSPI_FLASH

.genData : {
. = ALIGN(4);
*/foobar.o (.rodata .rodata*) # sample name
...(snif)
. = ALIGN(4);
} >QSPI_FLASH
...(snif)



I build binary file foobar.bin (sample name) and it’s size is 2,283,945,064 (0x88223C68) bytes. From it, I got an elf file and it’s size is 3,186,360 bytes.

I don’t know how to flash QSPI-Flash by System Workbench for STM32 and don’t know how to create a binary file for ST-Link.

What should I do?

Best Regards,
Katsuhiro Mihara