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_source=google&utm_medium=cpc&gclid=CjwKCAiAlO7uBRANEiwA_vXQ-5LfXaVZ19mdNVQKMTOJJEXE6SCTlQl2y1ToYL7E06ebBwaEOUdy9xoC7W4QAvD_BwE  

 

Regards,

Dhanunjaya. P

 

 

On Sat, Nov 23, 2019 at 9:37 PM Kumar Gala <kumar.gala@linaro.org> wrote:



> On Nov 21, 2019, at 11:06 PM, dhanu msys <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/35a5bcbc01780638e6fd5e126bdfe18098c4ae77/lava_scheduler_app/tests/device-types/frdm-k64f.jinja2

Andrei,

Did you have a test job example to go along with this?

- k