cancel
Showing results for 
Search instead for 
Did you mean: 

P-NUCLEO-LRWAN2 Softwareupdate for endnote

GAM
Associate II

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

18 REPLIES 18

Should be a couple of Gateway firmwares at this point

https://www.st.com/en/evaluation-tools/p-nucleo-lrwan2.html#tools-software

And also the LRWAN package for the End Nodes, but that's at version 2.0.0 now, so probably different from the materials shipped 1-2 years ago

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 can probably find contemporary packages if need be.

Integration into CubeMX/CubeIDE might have improved, but these aren't tools I'm using to develop firmware.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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​ "AT commands not working"

For the 'Sensor' node, that is the expected behaviour: it is an autonomous node - with no "manual" user control.

(in fact, the VCP is disconnected from the MCU on the Nucleo board - because that UART is used for the AT commands with the USI module).

EDIT - See: https://community.st.com/s/question/0D53W00000DHlVaSAL/i-want-to-get-pnucleolrwan2-gateway-source

"the last firmware version referred to in the manual"

Where in the manual are you referring to?

This:

0693W00000BcgK8QAJ.pngis referring to the I-CUBE-LRWAN software expansion pack.

However, it seems that the AT_Master project in the I-CUBE-LRWAN v2.0.0 pack is broken:

https://community.st.com/s/question/0D53W00000vP1XtSAK/icubelrwan-v200-with-nucleol073rz-board-and-inucleolrwan1-shield

:pouting_face:

I have an old download of v1.3.1 - and that works OK.

Mark_px
Associate II

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

https://drive.google.com/file/d/1Y141OfbyeC7fU71ZG7caRJ_xn7j1oe25/view?usp=sharing

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

"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"

OK. There have been others who have missed that the ST-Link's VCOM is not used by this application.

I'm only using the I-NUCLEO-LRWAN1 (USI module) - so don't know about the LRWAN-NS1.

I'm watching the sending and receiving via the debugger, and there seems to be no response to AT commands being sent.

What I'm seeing with the I-NUCLEO-LRWAN1 version is that the commands are never actually sent - the code goes through the motions, but nothing appears on the MCU's Tx pin.

Have you checked this? Clearly, the modem will never respond to commands that were never sent!

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

Likewise with the I-NUCLEO-LRWAN1.

 Do you have a link to version 1.3.1 perhaps?

See the link from @Community member​ !

"Integration into CubeMX/CubeIDE might have improved"

So they claim:

0693W00000BcheEQAR.png

Mark_px
Associate II

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.

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