Hello,
I am using SAM ICE debugger in Jlink SWD interface to connect with SAML21J18 xplained pro board,
I want to read a particular memory address of the RAM of the target device (SAML21) using Jlink SWD.
I use a commandscript command.jlink with the following commands
device ATSAML21J18B
speed 4000
if SWD
mem 0x20007FFF 1
I face a problem When I pass the command file to jlink.exe, the target device goes to an unknown state.
This problem exists only when the commands "mem 0x20007FFF 1" or "w1 0x20007FFF 1" ( commands to read/write memory address) are used.
I don't face the same when I manually type the command in jlink.exe
Is there a reason for this behavior? Please let me know how to read / write a memory address (RAM) of the target device with commander script
I am using SAM ICE debugger in Jlink SWD interface to connect with SAML21J18 xplained pro board,
I want to read a particular memory address of the RAM of the target device (SAML21) using Jlink SWD.
I use a commandscript command.jlink with the following commands
device ATSAML21J18B
speed 4000
if SWD
mem 0x20007FFF 1
I face a problem When I pass the command file to jlink.exe, the target device goes to an unknown state.
This problem exists only when the commands "mem 0x20007FFF 1" or "w1 0x20007FFF 1" ( commands to read/write memory address) are used.
I don't face the same when I manually type the command in jlink.exe
Is there a reason for this behavior? Please let me know how to read / write a memory address (RAM) of the target device with commander script