I have the same basic question as found in this thread:
forum.segger.com/index.php/Thr…S-SYMBOL-value-by-script/
How should I set VAR_BREAK_AT_THIS_SYMBOL in the jdebug project file?
When I have started up the debugging process, the following works in the console.
Edit.SysVar (VAR_BREAK_AT_THIS_SYMBOL, main_dev);
The old jlink script spec says that the type of the symbol should be an integer.
I have tried setting the variable with hopes that it would be overwritten.
unsigned int main_dev = 0;
Then I get:
String argument expected in command "EditSysVar": 0x0 (0)
I would really appreciate better documentation :). There is not a string type specified anywhere.
When define the variable as requested, I get the following.
char* main_dev = "main_dev";
Error (77): Script interpretation failure: expected a base type at line 23, column 27.
The base types as documented include 'char'.
Please instruct me on how to set VAR_BREAK_AT_THIS_SYMBOL in the jdebug-file.
Thank you for the help!
forum.segger.com/index.php/Thr…S-SYMBOL-value-by-script/
How should I set VAR_BREAK_AT_THIS_SYMBOL in the jdebug project file?
When I have started up the debugging process, the following works in the console.
Edit.SysVar (VAR_BREAK_AT_THIS_SYMBOL, main_dev);
The old jlink script spec says that the type of the symbol should be an integer.
I have tried setting the variable with hopes that it would be overwritten.
unsigned int main_dev = 0;
Then I get:
String argument expected in command "EditSysVar": 0x0 (0)
I would really appreciate better documentation :). There is not a string type specified anywhere.
When define the variable as requested, I get the following.
char* main_dev = "main_dev";
Error (77): Script interpretation failure: expected a base type at line 23, column 27.
The base types as documented include 'char'.
Please instruct me on how to set VAR_BREAK_AT_THIS_SYMBOL in the jdebug-file.
Thank you for the help!