Date
1 - 4 of 4
West Flash not supports JLinkScriptFile option for Jlink programming
Srinivasan Tamilarasan
Hi All,
I need to use the custom Jlink script file, after flashing and resetting the target using -JLinkScriptFile command in jlink. This custom script is needed for our application to start executing.
When I use the zephyr west flash command to program our device, there is no option to add the JLinkScriptFile. Kindly help me to resolve the issue.
Regards,
Srinivasan
Bolivar, Marti
This is not currently possible.
You are welcome to send a pull request adding the feature.
toggle quoted message
Show quoted text
You are welcome to send a pull request adding the feature.
On Wed, Sep 14 2022, Srinivasan Tamilarasan via lists.zephyrproject.org wrote:
Hi All,
I need to use the custom Jlink script file, after flashing and resetting the target using -JLinkScriptFile command in jlink. This custom script is needed for our application to start executing.
When I use the zephyr west flash command to program our device, there is no option to add the JLinkScriptFile. Kindly help me to resolve the issue.
Regards,
Srinivasan
Hi
Actually, it is possible. We are using this in our board.cmake downstream:
board_runner_args(jlink "--device=foo" "--tool-opt=-jlinkscriptfile /path/to/foo.JLinkScript")
Brgds,
Brix
--
Henrik Brix Andersen
toggle quoted message
Show quoted text
Actually, it is possible. We are using this in our board.cmake downstream:
board_runner_args(jlink "--device=foo" "--tool-opt=-jlinkscriptfile /path/to/foo.JLinkScript")
Brgds,
Brix
--
Henrik Brix Andersen
On 17 Sep 2022, at 00.10, Bolivar, Marti via lists.zephyrproject.org <marti.bolivar=nordicsemi.no@...> wrote:
This is not currently possible.
You are welcome to send a pull request adding the feature.
Bolivar, Marti
Neat! Thanks for the correction.
toggle quoted message
Show quoted text
On Thu, Sep 29 2022, Henrik Brix Andersen wrote:
Hi
Actually, it is possible. We are using this in our board.cmake downstream:
board_runner_args(jlink "--device=foo" "--tool-opt=-jlinkscriptfile /path/to/foo.JLinkScript")
Brgds,
Brix
--
Henrik Brix AndersenOn 17 Sep 2022, at 00.10, Bolivar, Marti via lists.zephyrproject.org <marti.bolivar=nordicsemi.no@...> wrote:
This is not currently possible.
You are welcome to send a pull request adding the feature.