STM32MP1 support available in SW4STM32

   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 download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32

Access ETM of Nucleo F401RE without using a debug kit

Now i’m using System Workbench for STM32.

I have to physically change the contents of the ETM_LAR log. I can make this change via pointers in this way:

  1. define ETM_LAR 0xE0041FB0 // Address of ETM_LAR

  1. define UNLOCK 0xC5ACCE55 // Value to write in ETMLAR useful to unlock the ETM

unsigned int *p_2 = (unsigned int*) ETM_LAR;

  • p_2 = UNLOCK;