LORA module and ST-Link connection

Hello,
I wrote own application based on I-Cube LPWAN source and I would like to upload it to the Hardwario LORA module by ST-Link. Based on the scheme of LORA module I have connected the ST-Link to the pads on module, but the connection is not working. ST-Link told me “Can not connect to target”. Can you help me how to connect it together?

ST-Link has latest FW version and I use configuration Connect Under Reset

The reason of this is that now I would like to use the LORA module R1.4 without main Core module - only as AT_slave, which will be directly connected to the PC by UART. And default firmware included in module doesn’t support commands AT+SEND and AT+SENB

Thank you very much for your help.

Lukas

Hello, the SWD should normally work. We flash the original Murata firmware over SWD on every module.

  • Check the power source
  • Which version do you have? Older with 10 pin jtag or newer with 2.5mm pin connector?

Hello,
I am using the ST-Link V2

The firmware is the latest:
Current Firmware V2.J35.S7
ST-LINK Utility v4.5.0.0

Connection between LORA module and ST-Link is below
(Power supply 3.3V)

zapojeni

And the configuration of ST-Link

I have also tried different configurations and with/without reset signal connection, but with the same result:

Can not connect to target!
If you’re trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.
If you’re trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
No target connected

P.S. The ST-Link is working without any problems - I am using it on another boards with ST’s MCU…

Hi Lukas,
I’ve checked the schematics of last revision R1.4 and the JTAG connector has the correct schematics and connection to the Murata module. I’ve cross-checked it with other of our designs where we use this module.
From R1.0 we used this JTAG to program modules, now we’ve added serial pins and program modules over serial port. So the JTAG port is not tested by programming now, it’s more like optional feature.

I’ve asked my colleagues to check that JTAG works on theirs R1.4 module to confirm it is electrically correct. I’ll let you know

You can also check schematics here

Can you power on the module and check with your voltmeter state of the pins?
VDD - 3.3V (or your power supply)
SWDIO - 3.3 V
SDIO - 0 V (low)
RESET - 3.3V

This way we can confirm that SWDIO is soldered correctly to the module. Unfortunatelly the SWCLK is low when idle. But I’ve checked wint amperemeter that if you source VDD to SWCLK pin then you get around 85 uA.

Can you check that voltages and current please?

There’s one other thing. The Murata firmware locks the flash in the code itself. So first you need to unlock the protection level otherwise you couldn’t access to flash.