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

Running bootloader + application solution

i run custom bootloader at defautl reset handler that then jump to app reset vector located after in flash
is that what you trying to do ?
i can debug and load the app over eclipse/ac6 without bootloader overwrite
but reset and boot will go by the bootloader (that can be debug also )
I did this on a f407 but the same can aply to any cpu until you relocate vector handler

for this to work your app ld neeed to be addapted and app vector table changed

basiclay in ld file change the app “FLASH” to start after where you boot loader is
fo ex say 128K loader at flash origin
FLASH (rx)  : ORIGIN = 0x8000000, LENGTH = 1024K
come =>
FLASH (rx)  : ORIGIN = 0x8002000, LENGTH = 896K // origin+128K 1size 024K-128K

in the CMSIS driver look at /Drivers/CMSIS/system_stm32f4xx.c or yoru cpu xxxx.c

  1. define VECT_TAB_OFFSET 0x20000 /*!< Vector Table base offset field. */

As your app is offset so does your vector table it need to be relocated to where the app handler are

if shall work ! you boto load must ensure to relad teh proper app reset handler and also disbae irq before to jump on app

eclispe opencocd wil only program the flash that is the in app not the bootlaoder.


Newest Forum Posts

  1. Firmware Installation Process Issue by valkundesuyash@gmail.com, 2019-12-12 16:14
  2. STM32F746-Discovery by stanandrzej, 2019-12-12 13:55
  3. Can't debug by deksnys4life, 2019-12-12 08:16
  4. Can't download StdPeriph library during project creation by klopi90, 2019-12-09 08:46
  5. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  6. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  7. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  8. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04
  9. Debugger not working by Daniel Jack Morley, 2019-11-27 21:46
  10. Compiler change problem by Lucian Pop, 2019-11-20 17:41

Last-Modified Blogs