Re: Dragino LSN50 and STLink


Erwan Gouriou
 

Hi Gustavo,

Sorry, I'm not familiar with Dragino, nor J-Link, maybe Endre would know better, as he did the board port.

Erwan



On Wed, 8 May 2019 at 19:35, Gustavo F N <gustavofn@...> wrote:
Awesome, thanks! 

On Wed, May 8, 2019 at 6:55 AM Kumar Gala <kumar.gala@...> wrote:
Adding 2 people who might be able to help.

- k

> On May 7, 2019, at 1:29 PM, Gustavo FN <gustavofn@...> wrote:
>
> Hello everyone,
>
> I noticed the Dragino LSN50 board has been ported to Zephyr and that's pretty cool.
>
> I have one of this board and following the page https://docs.zephyrproject.org/latest/boards/arm/dragino_lsn50/doc/index.html#flashing-an-application-to-dragino-lsn50 they say 'Connect the Dragino LSN50 to a STLinkV2...'.
>
> Since the the board has no dedicated connect to JTAG/SWD, I read the stm32l072cz datasheet and found out the the SWDIO is PA13 and SWCLK is PA14.
>
> I connected these pins at my J-Link Ultra in the following way:
> JTAG -> LSN50
> pin 6 -> pin GND
> pin 7 -> pin PA13 (SWDIO)
> pin 9 -> pin  PA14
> pin 19 -> pin VDD (+3.3V)
>
> And tried to connect the Ozone but it did not work. At Ozone, in J-Link Settings I have the target device: STM32L072CZ, Target Interface: SWD:auto speed and Host Interface: USB.
>
> If someone knows how to connect the LSN50 board and could explain me I'll be very grateful.
>
> All the best,

Join users@lists.zephyrproject.org to automatically receive all group messages.