scripts: jlink: Don't reset after load
The mimxrt1052 does not have any internal flash, therefore a reset after load blows away the code when loaded into sram. Reverse the order of the jlink commands such that the load follows the reset. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
ec11279645
commit
2358df2647
1 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ class JLinkBinaryRunner(ZephyrBinaryRunner):
|
|||
[self.elf_name] +
|
||||
['-ex', 'target remote :{}'.format(self.gdb_port),
|
||||
'-ex', 'monitor halt',
|
||||
'-ex', 'load',
|
||||
'-ex', 'monitor reset'])
|
||||
'-ex', 'monitor reset',
|
||||
'-ex', 'load'])
|
||||
self.print_gdbserver_message()
|
||||
self.run_server_and_client(server_cmd, client_cmd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue