Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software
- This topic has 21 replies, 3 voices, and was last updated 9 months ago by
Renzo Mischianti.
-
AuthorPosts
-
-
16 July 2024 at 22:04 #30945
I Renzo,
I have some problems to update orginal configuration parameters of my E220 900T20D and E220 900T22D. I am using RF_Setting(E22-E9X(SL)) V3.2 for configuration however I can only to read the parameters and I can’t save new configurations because the software tool send me some errors, such as the images than I share.
I recently bought some new E220 900T22D modules, I configured them at 915 Mhz, but in practice they cannot communicate with other devices that I already have working. In fact, when I want to check the parameters again, they have already been changed. Has something similar happened to you? Right now what occurs to me is to try to get the original firmware to restore the modules because I cannot update them with the tool provided by the supplier.
Attachments:
You must be logged in to view attached files. -
17 July 2024 at 07:44 #30949
Hi Anabel,
How do you connect the device to your PC? Are you using the EByte board or a custom circuit?
Bye Renzo -
17 July 2024 at 18:51 #30951
Hi Renzo!
Thanks for your help.
For configurate the module, I’m using the next:
1.- E220-900T30D (ebyte module)
2.- FTDI Basic (Sparkfun). I have used this device before for configurate other ebyte modules in prototypes.After, I use the “RF_Setting(E22-E9X(SL)) V3.2” to try to update the parameters. (See attachements).
First I open de port without problems. However when I try to change the parameters to confugrate the ebyte module to 915Mhz begin the problems.
Attachments:
You must be logged in to view attached files. -
17 July 2024 at 19:55 #30955
Hi Renzo,
Thinking that the problem was the FTDI, I decide to test with another tool. For the test 2, I used:1. E220-900T30D (Ebyte module)
2. USB to UART module (see images).For example, from the last six modules that I bought, I could configurate only two, but I still can’t get them both to communicate despite being on the same frequency and channel. I think that is a firmware problem but I’m not sure.
For try to communicate both I use:
1. 2 E220-900T30D modules (Ebyte modules)
2. 2 USB to UART modules (See image).
3. XCOM V2.6Attachments:
You must be logged in to view attached files.-
18 July 2024 at 08:22 #30968
Hi Anabel,
If you can’t configure the device with the EByte board and the relative software, I think the devices have some problems.
Try to change the software with the version I put on Git Hub here.
Probably, the FTDI does not have sufficient power to control the device on configuration storing.
Give me a feedback.
Bye Renzo -
18 July 2024 at 23:44 #31016
Hi Renzo,
Now, I used your Ebyte LoRa E220 Library in Arduino IDE. I’m using ESP32 pins as you indicate. I tryed to keep an communication between two devices with the same frequency (915 mhz). A device with SendTransparentTransmission sketch and other with the reveiveMessages sketch. Both using your library but it did’t work the communication. (see pictures). For configure the parameters I used USB UART CP2102. However, for the example the “packet rssi” parameter always remains “disabled” even if I modify it and save it as “enabled” without problem. The next time when I open de port and get parameters it has “disabled” value. That is, it does not save the changes.
Thanks in advance!
Attachments:
You must be logged in to view attached files.
-
-
17 July 2024 at 22:52 #30961
Hi Renzo,
I am also having problems with the 900T22D purchased on Amazon and connected to a breadboard with a NodeMCU.
I followed your schematic, and everything seems fine when reading the configuration. However, when I overwrite the configuration and try to upload it using the library example, the setup goes into an exception.
The problematic code:
oid setup() { Serial.begin(9600); while(!Serial){}; delay(500); Serial.println(); // Startup all pins and UART e220ttl.begin(); //config info ResponseStructContainer c; c = e220ttl.getConfiguration(); // It's important get configuration pointer before all other operation Configuration configuration = *(Configuration*) c.data; Serial.println(c.status.getResponseDescription()); Serial.println(c.status.code); printParameters(configuration); // ----------------------- FIXED RECEIVER ----------------------- configuration.ADDL = 0x03; configuration.ADDH = 0x00; configuration.CHAN = 23; configuration.SPED.uartBaudRate = UART_BPS_9600; configuration.SPED.airDataRate = AIR_DATA_RATE_010_24; configuration.SPED.uartParity = MODE_00_8N1; configuration.OPTION.subPacketSetting = SPS_200_00; configuration.OPTION.RSSIAmbientNoise = RSSI_AMBIENT_NOISE_DISABLED; configuration.OPTION.transmissionPower = POWER_22; configuration.TRANSMISSION_MODE.enableRSSI = RSSI_DISABLED; configuration.TRANSMISSION_MODE.fixedTransmission = FT_FIXED_TRANSMISSION; configuration.TRANSMISSION_MODE.enableLBT = LBT_DISABLED; configuration.TRANSMISSION_MODE.WORPeriod = WOR_2000_011; /////////fin qua tutto ok //Set configuration changed and set to not hold the configuration //questa qui è la riga che genera exception ResponseStatus rs = e220ttl.setConfiguration(configuration, WRITE_CFG_PWR_DWN_SAVE); // Serial.println(rs.getResponseDescription()); // Serial.println(rs.code);
Waiting for your news, thank you very much in advance and sorry for the inconvenience.
-
This reply was modified 10 months ago by
Renzo Mischianti.
Attachments:
You must be logged in to view attached files. -
This reply was modified 10 months ago by
-
17 July 2024 at 22:57 #30963
Here the specified board
https://www.ebyte.com/en/product-view-news.html?id=1212here the module information
22:56:23.825 -> —————————————- 22:56:23.856 -> HEAD: C1 8 3 22:56:23.889 -> Model no.: 10 22:56:23.889 -> Version : B 22:56:23.970 -> Features : 16
the serial on crash:
23:23:45.573 -> ————— CUT HERE FOR EXCEPTION DECODER ————— 23:23:45.607 -> 23:23:45.607 -> Soft WDT reset 23:23:45.607 -> 23:23:45.607 -> Exception (4): 23:23:45.640 -> epc1=0x4000dcf0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000 23:23:45.707 -> 23:23:45.707 -> >>>stack>>> 23:23:45.773 -> 23:23:45.773 -> ctx: cont 23:23:45.773 -> sp: 3ffffd60 end: 3fffffd0 offset: 0160 23:23:45.773 -> 3ffffec0: 00000000 00000a77 7a9fbe76 00001388 23:23:45.840 -> 3ffffed0: 00000a77 00001388 00000a77 40201ea2 23:23:45.906 -> 3ffffee0: 0000000b 00001388 3ffee528 40201f05 23:23:45.939 -> 3ffffef0: 000000c0 00000028 000009cc 00000000 23:23:46.006 -> 3fffff00: 0000000b 3ffee528 0000000f 40201f86 23:23:46.039 -> 3fffff10: 000000c0 00000000 3ffee528 40202245 23:23:46.106 -> 3fffff20: 402031f4 3ffe87f9 3ffee57c 00000000 23:23:46.173 -> 3fffff30: 000800c0 17006203 4c000043 402034c8 23:23:46.206 -> 3fffff40: 0000000b 3ffee528 3ffee57c 402019fb 23:23:46.273 -> 3fffff50: 00000000 0027002f 00000000 00000000 23:23:46.306 -> 3fffff60: 17006203 4c000043 f93fff00 0000000c 23:23:46.406 -> 3fffff70: 3fff003c 00000c00 00000000 fe707300 23:23:46.406 -> 3fffff80: feefeffe feefeffe feefeffe feefeffe 23:23:46.515 -> 3fffff90: 3fff004c feefeffe feefeffe feefeffe
-
This reply was modified 10 months ago by
Marco.
-
This reply was modified 10 months ago by
Marco.
-
This reply was modified 10 months ago by
Marco.
-
This reply was modified 10 months ago by
Renzo Mischianti.
-
This reply was modified 10 months ago by
Renzo Mischianti.
-
This reply was modified 10 months ago by
Renzo Mischianti.
-
18 July 2024 at 08:26 #30972
Hi Marco,
Normally, problems like this one are generated by a low power supply to the module or a problem with the M0 M1 wiring.
Check It and retry.
Bye Renzo
-
This reply was modified 10 months ago by
-
18 July 2024 at 09:20 #30984
Hi Renzo, while programming the board M0 and M1 are on high. power supply from nodemcu is 3/3.3 V. is this the problem? Why getting config all works but trying to write this not?
-
18 July 2024 at 09:47 #30988
im using pull up resistors like the attached photo on the old reply.
The resistors are 5.1k, is a problem?
With 3.3 v can i omit them ? -
18 July 2024 at 09:49 #30989
I could try powering only the VCC and GND pins with 5 volts. is this a sensible thing?
-
18 July 2024 at 15:34 #31011
exception too, using in loop:
ResponseStatus rs = e220ttl.sendFixedMessage(0, DESTINATION_ADDL, 6, String(“Hello, world?”));
I tryed to use 5v but nothing works.
-
18 July 2024 at 15:52 #31012
-
18 July 2024 at 16:51 #31014
Get config with m0 and m1 on high:
16:50:20.241 ->
16:50:20.241 -> AddH : 0
16:50:20.241 -> AddL : 3
16:50:20.241 ->
16:50:20.241 -> Chan : 6 -> 416MHz
16:50:20.280 ->
16:50:20.280 -> SpeedParityBit : 0 -> 8N1 (Default)
16:50:20.280 -> SpeedUARTDatte : 11 -> 9600bps (default)
16:50:20.347 -> SpeedAirDataRate : 10 -> 2.4kbps (default)
16:50:20.414 ->
16:50:20.414 -> OptionSubPacketSett: 0 -> 200bytes (default)
16:50:20.447 -> OptionTranPower : 0 -> 22dBm (Default)
16:50:20.480 -> OptionRSSIAmbientNo: 0 -> Disabled (default)
16:50:20.547 ->
16:50:20.547 -> TransModeWORPeriod : 11 -> 2000ms (default)
16:50:20.613 -> TransModeEnableLBT : 0 -> Disabled (default)
16:50:20.647 -> TransModeEnableRSSI: 0 -> Disabled (default)
16:50:20.680 -> TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
16:50:20.780 -> —————————————-
16:50:21.296 -> Success
16:50:21.296 -> 1
16:50:21.296 -> —————————————-
16:50:21.329 -> HEAD: C1 8 3
16:50:21.362 -> Model no.: 10
16:50:21.362 -> Version : B
16:50:21.395 -> Features : 16
16:50:21.395 -> —————————————- -
18 July 2024 at 18:18 #31015
Hi, i fix the problem with this line in .cpp.
while ((millis() – t) < timeout) { DEBUG_PRINTLN(“wait”);}The metod is void LoRa_E220::managedDelay(unsigned long timeout)
while i wait the end of while i can not do operations on the board like turn on a led
-
18 July 2024 at 23:58 #31021
Hi Renzo,
I continue meanwhile tests.
With this fix, configutation of e220 modules and communication between 2 e220 works.The fix is enable debug mode in lib and add serial print in while cicle of managedDelay method.
im trying to add attached of code diff.But this fix lock all the other operations on the board.
I try explain:Time line
1s————–4s—————–7s————-10s————13s—–Sender
Send cmd——-wait—————wait————-wait——–nothing—-Receiver
nothing——receive———-nothing———-nothing———-nothing-
This reply was modified 10 months ago by
Marco.
Attachments:
You must be logged in to view attached files. -
This reply was modified 10 months ago by
-
29 July 2024 at 10:53 #31153
Hi Marco,
I can’t reproduce your issue; for me, the library works correctly.What version of core do you use?
Bye Renzo
-
31 July 2024 at 12:28 #31175
version 1.0.8
-
31 July 2024 at 14:37 #31178
No, no, the Arduino esp8266 core.
probably the problem is that you don’t connect the AUX pin, and the waiting time is too long.
I’m going to add some tricks to prevent the brownout.
Bye Renzo -
19 August 2024 at 18:42 #31360
Hi Renzo!
Finally, I return the devices and bought news, and they are working now perfectly sending data. But now I have other issues, lol. I’m going to post my issue in the corresponding channel.
Thanks for your support.
-Anabel
-
20 August 2024 at 16:02 #31482
Ahh! perfect!
I am waiting for your news.
Bye Renzo
-
-
AuthorPosts
- You must be logged in to reply to this topic.