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

Hello Giangiacomo,

When I start my program on System Workbench’s Debug perspective, console shows text below.

> Info : flash1 ‘micron n25q128’ id = 0x18ba20 size = 16384kbytes
> Info : Padding image section 0 with 56 bytes
(...snif)

System Workbench seems to program QSPI-Flash. I should debug my program before afraid.

Thanks,
Katsuhiro Mihara


 

Newest Forum Posts

  1. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  2. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  3. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  4. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04
  5. Debugger not working by Daniel Jack Morley, 2019-11-27 21:46
  6. Compiler change problem by Lucian Pop, 2019-11-20 17:41
  7. Sample programs and compiling by jjtimer, 2019-11-20 10:31
  8. Unit test issues for STM32 by Rinkedevries, 2019-11-18 10:32
  9. Ubuntu 19.04 Debug problems by costantino, 2019-11-17 19:17
  10. Compile without eclipse by JSStabl, 2019-11-14 15:55

Last-Modified Blogs