Many applications have input parameters on the command line, conventionally called argc and argv.
For example, the Linux command 'ls' has many command-line parameters: 'ls -l' or 'ls *.c'....
In my case, I have an application divided into two parts:
Program_A
Program_B
_Ferrari__4-1733483406892.png
Program_A calls Program_B passing a parameter written in memory argv (4 bytes) inserted into a segment that is not cleared
__SECTION(noinit,RAM4) int32_t argv;
_Ferrari__0-1733482490070.png
When I debug Program_B, I must first assign a value to argv and then execute the debug.
Therefore, I was wondering if there is a way to write a script in MCUXpresso that can assign a value and perform a reset of the program
For example the script should assign a value to argv
_Ferrari__2-1733483256196.png
then should perform a reset simulating a click on the reset icon
_Ferrari__3-1733483302776.png
Thank you very much for your help and cooperation
regards