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,
Hi SYAMALA,
If you prefer ArduinoIDE, which is easier to write than stm32cubeide, the following link may be helpful.
‘Programming LoRa-E5 with Arduino, LoRa-E5 mini Point to Point Comminucation over 24 km - #8 by msfujino’
hello msfujino,
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,
hello @msfujino,
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,
With “STM32CubeProgrammer”, you can flush.
**** 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 ,
When i compiled The example code with Arduino IDE2, i got a error message like this,
i will be replace the error code to getStatus(); i compile the example code again it will shows error code like
how to recover the issues.
thanks,
Have you selected a board as shown below?
// Borad select : STM32 based boards / LoRa boars
// Board part number : LoRa-E5 mini (Board to be selected from Tools submenu ‘Board part number’)
i have select the Board and part number refer below image,
that time also getting error code like this. i can’t edit radio files because it is in protected file.
how to recover from this error.
thanks,
hello @msfujino ,
i have select the Board and part number refer below image,
that time also getting error code like this. i can’t edit radio files because it is in protected file.
how to recover from this error.
thanks,
The boards I am using are Wio-E5 mini and Grove-LoRa-E5.
I believe they both have the STM32WLE5JC.
Please try to compile the board with the following selections.
Borad select : STM32 based boards / LoRa boars
Board part number : LoRa-E5 mini
Note that once you upload something, you cannot use the AT command.
hello @msfujino
i have selected the above mentioned same configuration,
The same error will be shows. Is it possible to support via online(any disk).
Also check BSP and library versions. Use ArduinoI DE’s Board Manager and Library Manager to check.
Board Support Package : STM32 MCU based boards by STMicroelectronics 2.7.1 or 2.8.1
library : RadioLib by Jan Gromes 6.6.0
- What is the exact model number or link to the module you are using?
- Please post all lines of the error message as a text file </> or attach a ZIP file.
- What sketch are you compiling?
- Do you have SX126x in the following locations on your PC?
/Documents/arduino/libraries/radiolib/src/module/SX126x
I compiled with RadioLib 7.0.0 and got the same error as yours. 6.6.0 does not have the error.
Please check the version of RadioLib.
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.
I am glad you are able to compile.
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.
It can be compiled in 7.0.1. For your information.
hi @msfujino ,
In my project am also using PA13,PA14 to flash the sketch with the help of ST_LINK it will be Running successfully. In my custom board PC0,PC1 uart pin are used for serial monitoring the output. In case by using this PC0,PC1 uart pin I need to change any updates for your example code . Is it possible to Monitor the serial print by using this. or Any other possibilities are there to monitor the output.
If the serial ports are PB6 = TX and PB7 = RX, a serial monitor can be used.
If you use PC0 and PC1, you need to use software serial. Search for “Arduino Software Serial” and you should be able to find the information
Setting example of Grove-LoRa-E5.
edit:
File–>Examples–>SoftwareSerial–>SoftwareSerialExample