Skip to main content
GAM
Associate II
November 13, 2019
Question

P-NUCLEO-LRWAN2 Softwareupdate for endnote

  • November 13, 2019
  • 6 replies
  • 7361 views

I got the package P-NUCLEO-LRWAN2

It consists of an endnode and a gateway for sending date from endnote to gateway and further to an application.

In the manual (UM2587) "Getting started with the P-NUCLEO-LRWAN2 and P-NUCLEO-LRWAN3 starter packs" on page 10 is that statemaent:

0690X00000As0bUQAR.jpg

My endnode NUCLEO-L073RZ falls into that range, and therefor I have to change the sotfware. In the softwarepackage of i-cube-lrwan are parts related to different MCU and also to different 'cases' (AT_Master and End_Node).

I guess I have to select the part STM32-L073RZ, but what case (AT-Master or End-Note).

in the documentation i found no hit what is preloaded for the endnode.

An other question why can't be used for reprogramming the endnote the STM CUBE IDE?

Has anyboddy a answer?

Best regards

Georg

This topic has been closed for replies.

6 replies

Tesla DeLorean
Guru
November 13, 2019

>>I guess I have to select the part STM32-L073RZ, but what case (AT-Master or End-Note). in the documentation i found no hit what is preloaded for the endnode.

Could you send AT commands via the VCP? Observe the output stream?

Perhaps download the current binary image with ST-LINK Utilities, or STM32 Cube Programmer, and inspect?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
GAM
GAMAuthor
Associate II
November 14, 2019

I couldn't sent AT commands (by Realterm) to the endnote, but sending AT commands to the gateway is OK.

Also I couldn't detect any output stream on the endnote.

I have no idea to inspecte the binary

Georg

SYoo.1
Visitor II
July 4, 2020

Hi Georg,

do you have any update for the problem? I have the same problem. I could any output from gateway, but nothing from the sensor device. After doing something, I missed even the VCP for the gateway, and now I can't open any comport for the gateway.

Timmy
Associate
September 8, 2020

The sensors node shield was made in China. Their source code is published on github with many broken links. Manuals are badly written badly structured. I suspect they have folded already during the China pandemic.

The gateway works, but the firmware is not open. You have to ask ST for a fresh copy if you have corrupted it with mistake.

GAM
GAMAuthor
Associate II
July 4, 2020

Hi SYoo,

unfortunatly I still the problem. No progress.

Georg

Timmy
Associate
September 8, 2020

Me too!

I have also bought a new package of this:

P-NUCLEO-LRWAN2

STM32 Nucleo pack LoRa™ HF band sensor and gateway

The node does not respond to AT command. The gateway do.

ST's quality control is very bad! They do not verify it before they ship this product.

ST's support is also horrible. They tell you to read large amount of books and manuals.

Tesla DeLorean
Guru
June 30, 2021

>>They tell you to read large amount of books and manuals.

This is how the world worked pre-internet, served me pretty well.

Not sure you'd really want to pay the hourly rates good support actually costs. The cost of the kit barely covers the hardware.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Mark_px
Visitor II
June 30, 2021

I'm having the same problem. Has anybody got one of these boards working? I'm having the same problems - AT commands not working.

Does the last firmware version referred to in the manual refer to the software pack

LoRaWAN software expansion for STM32Cube

or does it refer to something else? If it refers to something else, where can I find it?

Thanks,

Mark

Tesla DeLorean
Guru
June 30, 2021

Unless I'm mistaken the "End Node" would be an I-NUCLEO-LRWAN1 with a USI WM-SG-SM-42 Module on it.

For the "LoRaWan" end of the connectivity you might want to check what USI firmware is current.

The code running on the NUCLEO-64 is going to be interfacing with the USI module via one of the UARTs using the AT Commands provided. How this interacts, and how the NUCLEO-64 manages UART and VCP side code would be the AT Master software if I'm not mistaken.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Mark_px
Visitor II
June 30, 2021

Thanks Tesla.

It's a LRWAN_NS1 module, with a RisingHF chip. It's the P-NUCLEO-LRWAN3 pack - the warning mentioned by the OP applies to upgrade firmware applies specifically to that board. See the bottom of page 10 of this document:

https://my.st.com/content/ccc/resource/technical/document/user_manual/group1/01/0e/9a/df/16/73/42/51/DM00620948/files/DM00620948.pdf/jcr:content/translations/en.DM00620948.pdf

Regarding the AT command - yes, that's where the problem is. The AT commands to the LRWAN module are not working. I'm using the latest software downloaded from https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/i-cube-lrwan.html

I'm running the sample code at STM32CubeExpansion_LRWAN_V2.0.0\Projects\NUCLEO-L073RZ\Applications\LoRaWAN\LoRaWAN_AT_Master\STM32CubeIDE\LRWAN_NS1

The gateway firmware isn't an issue (at this stage anyway).

Mark

Mark_px
Visitor II
July 2, 2021

Hi Andrew,

Thanks for your answer.

Just to answer some of your questions:

The manual I'm referring to is page 10 of this document:

https://my.st.com/content/ccc/resource/technical/document/user_manual/group1/01/0e/9a/df/16/73/42/51/DM00620948/files/DM00620948.pdf/jcr:content/translations/en.DM00620948.pdf

Specifically, the warning at the bottom of page 10 which says:

P-NUCLEO-LRWAN3 starter pack known limitation The serial number of the NUCLEO-L073RZ MB1136 reference board is indicated on a sticker under the MB1136. If the number is within the range from A191400001 to A191402004, the board must be updated with a new firmware before use. Download the last firmware version available at www.st.com/i-cube-lrwan.

0693W00000Bch8IQAR.png 

The project I'm trying to get running is indeed the AT-Master example that you mention.

The AT Commands that I'm referring to are AT commands being sent from the NUCLEO-LO73RZ board (in the AT-Master code) to the LRWAN-NS1 module. This is not via the STLink. I'm watching the sending and receiving via the debugger, and there seems to be no response to AT commands being sent. They're being sent from uart1 on the NUCLEO board to the LRWAN-NS1 module.

We have managed to send AT commands via a usb to uart bridge from the PC to the pins on the LSWAN-NS1 module.

Regarding v2.0.0 being broken - thanks. That probably explains things. Do you have a link to version 1.3.1 perhaps?

Thanks,

Mark

Tesla DeLorean
Guru
July 2, 2021
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Mark_px
Visitor II
July 5, 2021

Thanks Tesla and Andrew. I've downloaded the zip and I'll give it a try later.

Andrew, I haven't checked the pins - you may be right.

We have since manged to get our own code running and sending AT commands (from the Nucleo to the LRWAN-NS1) successfully, so things are looking up.

CMack.1
Visitor II
December 22, 2021

Hi Mark_px, did you manage to get a build of 1.3.1 running? I can't seem to get anything working LRWAN3, the gateway at least seems to be working but not the sensor