Forum Replies Created
-
AuthorPosts
-
31 July 2024 at 12:28 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #31175
version 1.0.8
18 July 2024 at 23:58 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #31021Hi 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, 3 weeks ago by
Marco.
Attachments:
You must be logged in to view attached files.18 July 2024 at 18:18 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #31015Hi, 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 16:51 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #31014Get 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 15:52 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #3101218 July 2024 at 15:34 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #31011exception 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 09:49 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #30989I could try powering only the VCC and GND pins with 5 volts. is this a sensible thing?
18 July 2024 at 09:47 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #30988im 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:20 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #30984Hi 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?
17 July 2024 at 22:57 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #30963Here 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, 3 weeks ago by
Marco.
-
This reply was modified 10 months, 3 weeks ago by
Marco.
-
This reply was modified 10 months, 3 weeks ago by
Marco.
-
This reply was modified 10 months, 3 weeks ago by
Renzo Mischianti.
-
This reply was modified 10 months, 3 weeks ago by
Renzo Mischianti.
-
This reply was modified 10 months, 3 weeks ago by
Renzo Mischianti.
17 July 2024 at 22:52 in reply to: Troubleshooting Firmware Update Issues on E220 900T22D and 900T20D with EByte Software #30961Hi 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, 3 weeks ago by
Renzo Mischianti.
Attachments:
You must be logged in to view attached files. -
This reply was modified 10 months, 3 weeks ago by
-
AuthorPosts