Skip to main content
Associate II
September 8, 2024
Question

Target not responding at the End Node Configuration of P-NUCLEO-LRWAN2

  • September 8, 2024
  • 3 replies
  • 7035 views

Hello,

I am configuring Nucleo-L073RZ with I-NUCLEO-LRWAN-1 expansion board in STM-Cube-IDE as the End-Node with the AT-Master Example in the en-cube-lrwan library provided by ST. 

(en.i-cube_lrwan->STM32CubeExpansion_LRWAN_V2.1.0->Projects->NUCLEO-L073RZ->Applications->LoRaWAN->LoRaWAN_AT_Master->STM32CubeIDE->I_NUCLEO_LRWAN1)

Problem

When I Debug the code into the board it is halted at the HAL_INIT() function.

Solutions I tried

1. There are no breakpoints on it and just below it there a function call for clock configuration and I have also checked it.

2. Performed full chip erase after performing booting.

3. Checked on debugger configuration as well. (Reset Behaviour-> Connect under Reset)

I am attaching the log file also.

 

3 replies

STTwo-32
Technical Moderator
September 8, 2024

Hello @2001jolly 

Could you add a screenshot of the project with all the files on the CubeIDE.

Best Regards.

STTwo-32 

2001jollyAuthor
Associate II
September 9, 2024

Hello,

Ok I have added all the screenshots step by step 

1. I-NUCLEO-LRWAN1 file.

2. Project Workspace-> main.c file, in the while loop I am calling Lora_SendData() function with the parameter as structure data containing buffer and the port.

3. This function calls Modem_AT_Cmd() function that takes structure and AT command as the parameter value.

4. This calls AT_Cmd_format() function which makes the AT string and stores it in the AT command buffer.

5. The Modem_AT_Cmd() function calls at_cmd_send() function which again calls HAL_UART_Transmit() which finally transmit the data stored in the huart2 TDR register.

I have attached the screenshot sequentially in the order functions have been called.

STTwo-32
Technical Moderator
September 9, 2024

It seems to work fine on my side. Can you give more details about the problem that you are facing.

Best Regards.

STTwo-32 

srbhktyr
Associate
September 10, 2024

I have faced similar issue on my stm32G491RE nucleo board. The reason was I have configured  pins used for  debugger (PA15 in my case). If this is the case for you just leave those pins as it is and it will work fine.

Regards.

2001jollyAuthor
Associate II
September 10, 2024

Hello,

Thanks for the reply, I have not configured any of the pin it is by default done in the program.

Regards

STTwo-32
Technical Moderator
September 10, 2024

Can You try to restart your PC and perform the same test using another board.

Best Regards.

STTwo-32

 

STTwo-32
Technical Moderator
September 14, 2024

It may be a problem on the board or on the Shield that you are trying to use. Could you try another.

Best Regards.

STTwo-32