I'm using a JLink EDU under Linux. With the command line
Now I want to use a jlinkscript and to start I wrote a small test.
If I try to start this with
What is wrong with my script?
Other unclear things:
- The prototype for function InitTarget in the documentation is
- The documentation of global DLL constants state there are values like "ARM926EJS" for the CPU variable. These do not appear in the selection dialog for unspecified targets. Are these values still valid?
JLinkGDBServer -device ARM9 -endian little -speed 15000 -port 2331
I can connect to the device and debug it.Now I want to use a jlinkscript and to start I wrote a small test.
JLinkGDBServer -endian little -speed 15000 -port 2331 -jlinkscriptfile "Test.JLinkScript"
it doesn't work. It complains about an unspecified device and the "Test" string is nowhere to be seen.What is wrong with my script?
Other unclear things:
- The prototype for function InitTarget in the documentation is
int InitTarget(void)
but it is also used as void InitTarget(void)
. Can these uses be exchanged freely?- The documentation of global DLL constants state there are values like "ARM926EJS" for the CPU variable. These do not appear in the selection dialog for unspecified targets. Are these values still valid?