2023-12-22 02:50 AM - edited 2023-12-22 02:51 AM
I lost debug messages from my LoraWAN end device. I made some changes using MX on my project, and this way, I lost debug messages displayed on a serial wire monitor (for example, on Arduino serial monitor). I think it was the cause of this problem. No, I see that red and blue LEDs stopped blinking. Usually, red links when a concentrator doesn't accept a join, and blue blinks when sending messages).
I checked the settings responsible for logging and debugging, and I see that they have the right values:
Is there anybody who can explain how to revert my end device to its former state?
2023-12-22 03:18 AM
Hello @markpow
Can you try to mass erase your board using CubePragrammer and upload the firmware again. If the issue persists, add your .ioc file here and give more details about the changes you've made on the example.
PS: make sure to use the last version of the tools (CubeMX V6.10.0 & CubeIDE V1.14.0) and the firmware (STM32CubeWL V1.3.0).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-12-22 03:38 AM - edited 2023-12-22 03:54 AM
Yes, I have the latest version of MX, WL and IDE. I will try your suggestions.
What do you mean "upload the firmware again" in the contex of usage of CubeProgrammer?
2023-12-22 04:45 AM
Use CubeProgrammer for the mass erase and CubeIDE as to upload your code to the board.
Best Regards
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-12-22 04:50 AM
I usually only upload .hex code to the board using Cube Programmer.
Do you mean this erase as in the picture above?
2023-12-22 05:01 AM
Yes.
After that, upload your code to the MCU.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-12-22 05:18 AM
Nothing changed.
End device sends up messages to the concentrator as below:
But there are no debug messages on the serial monitor.
A few days ago, I saw debug messages from Lora WAN the end device.
2023-12-22 05:22 AM
Can you add your.ioc file and give a description on what exactly have you changed?
Best Regards
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-12-22 06:28 AM - edited 2023-12-22 06:32 AM
2023-12-22 07:04 AM
I think the device behaves as it was in the low power mode. Hoewer settings in the .ioc file show that the board shouldn't be in this state.