Loading...
 

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;


Thanks