STMicroelectronics / STM32CubeWL

STM32Cube MCU Full FW Package for the STM32WL series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on boards provided by ST (Nucleo boards)
Other
103 stars 53 forks source link

LoRaWAN end node issue in dual core and single core project with CubeIDE #7

Closed CandraSN closed 3 years ago

CandraSN commented 3 years ago

v 1 0 0 + cubeide (dev board) dual core

Hi I'm using Nucleo-WL55JC1 STM32WL development board for LoRaWAN end node dual core and i have a custom board with MCU STM32WLE5CBU6 for LoRaWAN end node single core.

I have configured LoRaWAN end node protocol parameters like this documentation (https://www.st.com/resource/en/application_note/dm00660451-how-to-build-a-lora-application-with-stm32cubewl-stmicroelectronics.pdf).

The program from the example project has been uploaded successfully. After I uploaded the LoRaWAN end node program to the STM32WL55JC1 (dual core) development board, it said "WARNING: There is a difference between the MAPPING_TABLE placement in memory: 0x20008000 and the address calculated according to the IPCCDBA option byte: 0x2003FFF0 The execution enters now in a while(1){} please check the CM4\MbMux\mbmuxif_sys.c or update the scatter file" on the external terminal via serial usb and couldn't send data to the server / gateway with OTAA. I have followed the solution steps given from this topic: (https://community.st.com/s/question/0D53W00000VgqmvSAB/trouble-with-the-stm32cubewl-dual-core-example-projects) and I still have problems like that

Meanwhile, for the single core STM32WLE5CBU6 MCU end node, the program was successfully uploaded with the Lora protocol configured. But there is no response / action from the node sending data to the server / gateway with OTAA. On this board, I'm not using TCXO and DCDC.

So, from the problem I got, is there a solution or configuration that I missed so that the nodes can send data with OTAA to the server / gateway with dual core or single core. I really appreciate your attention, thank you.

ASELSTM commented 3 years ago

Hi @CandraSN,

Thank you for you contribution.

Please allow me to introduce @YoannBo who will comment your post and provide you with more details about this point.

With regards,

CandraSN commented 3 years ago

Hi @CandraSN,

Thank you for you contribution.

Please allow me to introduce @YoannBo who will comment your post and provide you with more details about this point.

With regards,

Hi @ASELSTM

Maybe i want to add something So, I have tried using Firmware Package v.0.4.0 + EWARM (IAR) toolchain and the result is that I can transmit data in OTAA and ABP modes with end node single core program. But, by using Firmware Package v.1.0.0 + cubeIDE toolchain with single core mcu, I have not succeeded in using it for data transmission to the gateway. I've configured it based on the following documentation (https://www.st.com/resource/en/application_note/dm00660451-how-to-build-a-lora-application-with-stm32cubewl-stmicroelectronics.pdf). After I uploaded the single core end node program to my custom board (STM32WLE5CBU6), there was no response from the board or gateway.

I focus on development with a single core STM32WL with this firmware package.

I'm really looking forward for your reply, thank you.

YoannBo commented 3 years ago

Hi @CandraSN,

if you don't mind, let's exchange in https://community.st.com/s/question/0D53W00000hRQINSA4/lorawan-end-node-issue-in-dual-core-and-single-core-project-with-cubeide

ASELSTM commented 3 years ago

Hi,

@YoannBo thank you for your reply and for the provided details.

@CandraSN since the same issue has already been reported and answered in the ST Community, please allow me then to close this thread. Thank you for you understanding.

With regards,