STM-STUDIO-STM32 - Snapshot acquisition mode
This STM software allows to monitor and modify the value of some variables in real-time using the SWD or JTAG connection in a non-intrusive way.
In the documentation for the use of this software (https://www.st.com/resource/en/user_manual/cd00291015.pdf) we talk about the "Snapshoot" mode (Par.2.5.2): using the code to be integrated into your firmware you can perform sampling of the variables at a given time. This is very useful, because in "Direct acquisition mode" (the standard one) there are some cases in which the variables assume non-coherent values.
Following the instructions for the operation in "Snapshot mode", I have integrated in my firmware the necessary code ("softTrace" subdirectory), but by compiling the program I always get an error:
'_FAR_DATA_' undeclared (first use in this function)
This error is in the source "acqTrigger.c" line 310, one of the files to be included in the project, made by STM.
Now my question is: has any of you already used STM Studio in this mode? Did you succeed? Problems? What do you advise to do?
Andrea.
