We did not really find a solution to this issue. We think it is related to the manufacturing process, whether it was a bad batch or it was from the board assembler. We did some troubleshooting by modifying our firmware to add print statements to the console for each phase of the initialization process. We found that the startup on these bad chips always hung on the “subGHz_phy” module (and always for about 23 seconds), which as far as we can tell, seems to indicate that there is something physically wrong within the chip. Out of a few hundred, we had something like a 30% failure rate. Pretty rough.
We had our assembler send us back our LoRa chips, and we flashed them before they were assembled. And they all flashed. This seemed to point to the assembler. We let them know, and they must have changed something in their assembly process, or we have moved past the batch that was bad, because now they are pretty reliably working in our latest batches that we did not pre-flash.
It is still a mystery to us, but if your problem is the same one we were having, it seems to have something to do with that “subGHz_phy” module, which from what I understand, is one of the main bridges between the firmware and the hardware.
I hope this helps point you in the right direction.
I’m sorry to tell you.
We have a reminder in the Wiki about brushing your own firmware: If you choose to brush your own firmware, you will no longer be able to brush the factory firmware.
Respected sir,
i wrongly erasing factory firmware , but now i can’t communicate with AT command how to recover the AT command Firmware again into my lorae5 module , any binary file is there for flashing firmware to recover the AT commands
Sorry, if the firmware was deleted incorrectly, you will not be able to revert to the AT firmware. We deeply regret any inconvenience this may have caused you.
Hello Seraphina,
am using lora-e5 (stm32wle5 modules) . how to communicate p2p using two lora-e5 modules without using AT commands. What are all the configuration or config files we need to generate code in stm32cubeide.
thanks,
We are using Custom lora-e5(stm32wle5 series) Board, We have ST link flashing tool in our custom board, how to flash the example arduino code in our custom board.
We are using Custom lora-e5(stm32wle5 series) Board, We have ST link flashing tool in our custom board, how to flash the example arduino code in our custom board.
thanks,
**** For reference ****
When compiled with ArduinoIDE2, the hex file is created in the folder below. Select and write the file with STA32CubeProgrammer.
In case of Windows
C:\Users\username\AppData\Local\Temp\arduino\sketches\32 digit HEX string\sketchname.ino.hex
In case of Linux
/tmp/arduino/sketches/32 digit HEX string/sketchname.ino.hex
hello @msfujino
I compiled with RadioLib 6.6.0 instead of using RadioLib 7.0.0 I doesn’t have no error. I got a Hex file to flash via ST Link using STM32 programmer.
I successfully flashed master and slave Hex files via cube programmer. I am using custom board. how to map the Arduino code to my custom board Serial monitor pins. Above image I will be Giving Serial monitor Pinout mapping. Plz guide me how to interface Serial monitor to mapping Arduino serial print to my custom board.
Let me explain as you may have misunderstood.
In my project, I don’t use a host controller, but use ST-LINK to flash the sketch directly from PA13,PA14 to the module and run it.
There is a setting in CubeProgrammer to use UART instead of ST-LINK, but I have not tried it.