Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi, I'm developing a customized flash memory programmer for our project. It is based on external loader examples available under the ST-LINK Utility / STM32CubeProgrammer ExternalLoader directory. We have to define a flag (global variable or static variable) to indicate whether some initialization has been done or not. But from some other forum, external loader project does not support global variable or interrupt definition. In fact from my debugging experience a static variable is always set to initial value even it is increased in every function call. Can someone give some detailed description or some other solution for this? Thanks in advance.