Dear all,
Often, during debug operations, I have the necessity to use many repetitive commands such as clearing breakpoints, assigning values to variables, and so on.
I would like to know if there is the possibility to use a kind of script, similar to a batch file, in which these commands can be written.
Did you have any similar problems?
How did you fix it?
Thank you very much for your help and cooperation.
Regards,
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
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;
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
then should perform a reset simulating a click on the reset icon
Thank you very much for your help and cooperation
regards
Hello, this new request is different from the original petition, I recommend open a new case with appropriate title, to get help from the support or community.
Best regards,
Pavel
Hello, my name is Pavel, and I will be supporting your case, could you elaborate further about what tool are you using? and what command are you typing? on the IDE MCUXPresso could use your own script.
Image example
Best regards,
Pavel