I’ve tested lava+jlink on Cortex M with both onboard debugger and external debugger, like the one you referenced. You should change the following if needed:
address: 0x00000000 options: - '-device MK64FN1M0xxx12' - '-if SWD' - '-speed 4000'
The interface SWD is supported, not JTAG, that can be easily changed if you need to.
Regards, Andrei
From: Lava-users lava-users-bounces@lists.lavasoftware.org On Behalf Of dhanu msys Sent: Tuesday, November 26, 2019 7:49 AM To: Kumar Gala kumar.gala@linaro.org Cc: Andrei Gansari andrei.gansari@linaro.org; lava-users lava-users@lists.lavasoftware.org Subject: [EXT] Re: [Lava-users] Test jobs to boot the target through JLink
Caution: EXT Email Hi Kumar,
Thanks for sharing the reference.
It's better to have some references for the test jobs submission also.
Currently we are in initial phase to make use of LAVA , so we wants to check the feasibility to deploy through JLink based test jobs.
Here I have provided the JLink Interface , which we are going to use for the development.
https://www.thingbits.net/products/segger-j-link-base-jtag-swd-debugger?utm_...https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.thingbits.net%2Fproducts%2Fsegger-j-link-base-jtag-swd-debugger%3Futm_source%3Dgoogle%26utm_medium%3Dcpc%26gclid%3DCjwKCAiAlO7uBRANEiwA_vXQ-5LfXaVZ19mdNVQKMTOJJEXE6SCTlQl2y1ToYL7E06ebBwaEOUdy9xoC7W4QAvD_BwE&data=02%7C01%7Candrei.gansari%40nxp.com%7C98744916fcc64502aaee08d772347bf3%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637103442052415357&sdata=CfJeEKhiueckVp%2BktqM1a03ifAmEEbPQNFHv%2FFCFU3Q%3D&reserved=0
Regards, Dhanunjaya. P
On Sat, Nov 23, 2019 at 9:37 PM Kumar Gala <kumar.gala@linaro.orgmailto:kumar.gala@linaro.org> wrote:
On Nov 21, 2019, at 11:06 PM, dhanu msys <dhanuskd.palnati@gmail.commailto:dhanuskd.palnati@gmail.com> wrote:
Hi Team,
Can you please share some reference test jobs to run the tests using J-Link boot method.
Here’s a reference to the board cfg side change for J-Link:
https://github.com/agansari/lite-lava/blob/35a5bcbc01780638e6fd5e126bdfe1809...https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fagansari%2Flite-lava%2Fblob%2F35a5bcbc01780638e6fd5e126bdfe18098c4ae77%2Flava_scheduler_app%2Ftests%2Fdevice-types%2Ffrdm-k64f.jinja2&data=02%7C01%7Candrei.gansari%40nxp.com%7C98744916fcc64502aaee08d772347bf3%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637103442052415357&sdata=4mRnDcD0%2FqaCYVqAEGQcMwRfCGJpr1nR8cmyzsBF%2FJ4%3D&reserved=0
Andrei,
Did you have a test job example to go along with this?
- k