#expresslrs flashing

179 messages · Page 1 of 1 (latest)

harsh zephyr
#
  Trying to initialize COM10 @ 460800

Enabling serial passthrough...
  CMD: 'serialpassthrough rfmod 0 460800'

======== PASSTHROUGH DONE ========

esptool.py v4.2.1
Serial port COM10
WARNING: Pre-connection option "no_reset" was selected. Connection may fail if the chip is not in bootloader or flasher stub mode.
Connecting...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.```
i messed something up on my jumper t20 somehow and now it gets stuck on loading whenever i try to load up the expresslrs lua script
laptop didnt recognize the radio initially and had a yellow triangle in device manager
- tried downloading the CP210x drivers from silicon labs but those did nothing
- tried downloading the STM32 virtual COM port driver from myST which got rid of the yellow triangle but now i get the error above
i dont think the radio settings are wrong, internal RF set to CRSF at 400k and external RF off
dont think i have the v2 / wrong model as i dont have the fan at the back either
#

usb port also works when using it as a joystick instead of the serial usb

#

so im probably not using the charging port

ornate rivet
#

one other thing: open the radio and make sure the wiring for the internal module is still intact and properly wired up to the mainboard of the radio

#

those connecting dots say the configurator cannot find the esp32 device

harsh zephyr
ornate rivet
#

the jumper t20 should be fine up to 1.87M baud rate

harsh zephyr
#

i just got into this sry

ornate rivet
#

if you decide to open up the radio, post a photo of the internal rf module and its wiring

harsh zephyr
#

okay

harsh zephyr
#

do i have to take all this apart?? or is there an easier way

harsh zephyr
#

just realised i mightve been using uart instead of etxpassthrough

#
  Trying to initialize COM10 @ 460800

Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main

  File "runpy.py", line 86, in _run_code
  File "C:\Users\user\AppData\Roaming\ExpressLRS Configurator\firmwares\cloud\ExpressLRS\41daca2a4ff782188c38fbef3c4f1a36e320b1a3\firmware\flasher.pyz\__main__.py", line 3, in <module>

    if __name__ == '__main__':
  File "C:\Users\user\AppData\Roaming\ExpressLRS Configurator\firmwares\cloud\ExpressLRS\41daca2a4ff782188c38fbef3c4f1a36e320b1a3\firmware\flasher.pyz\_bootstrap\__init__.py", line 253, in bootstrap

  File "C:\Users\user\AppData\Roaming\ExpressLRS Configurator\firmwares\cloud\ExpressLRS\41daca2a4ff782188c38fbef3c4f1a36e320b1a3\firmware\flasher.pyz\_bootstrap\__init__.py", line 38, in run
#

    return binary_flash.upload(options, args)
  File "C:\Users\user\.shiv\flasher.pyz_b81ad73652af257cc616d772669414c276740dc65a6bef28ce921f0af6cd0a59\site-packages\binary_flash.py", line 193, in upload

    return upload_esp32_etx(args)
  File "C:\Users\user\.shiv\flasher.pyz_b81ad73652af257cc616d772669414c276740dc65a6bef28ce921f0af6cd0a59\site-packages\binary_flash.py", line 119, in upload_esp32_etx
    ETXinitPassthrough.etx_passthrough_init(args.port, args.baud)
  File "C:\Users\user\.shiv\flasher.pyz_b81ad73652af257cc616d772669414c276740dc65a6bef28ce921f0af6cd0a59\site-packages\ETXinitPassthrough.py", line 24, in etx_passthrough_init

    rl.expect_bytes(b"set: ", timeout=1.0)
  File "C:\Users\user\.shiv\flasher.pyz_b81ad73652af257cc616d772669414c276740dc65a6bef28ce921f0af6cd0a59\site-packages\external\streamexpect.py", line 516, in expect_bytes

    return self.expect(BytesSearcher(b), timeout)
  File "C:\Users\user\.shiv\flasher.pyz_b81ad73652af257cc616d772669414c276740dc65a6bef28ce921f0af6cd0a59\site-packages\external\streamexpect.py", line 666, in expect

    incoming = self._stream_adapter.poll(end - time.time())
  File "C:\Users\user\.shiv\flasher.pyz_b81ad73652af257cc616d772669414c276740dc65a6bef28ce921f0af6cd0a59\site-packages\external\streamexpect.py", line 455, in poll
    raise ExpectTimeout()
external.streamexpect.ExpectTimeout```
#

now its giving me this

#

sorry i had to split it in two

#

hit the discord character limit

ornate rivet
neon fractalBOT
#

See the following image to save a log file from the configurator

ornate rivet
#

I linked the flashing guide above..

harsh zephyr
#

but like

#

i cant even follow the first step

#

because i cant load the lua script

#

ive followed everything afterwards

ornate rivet
harsh zephyr
#

wdym

ornate rivet
#

the internal module is on the back shell

#

reasons why the lua script will be stuck at the loading screen:

  1. baud rate too low for the packet rate set
  2. baud rate too high for the module and radio's mcu/cpu
  3. module is not connected properly to the radio mainboard or external bay pins
  4. the model on the radio is not properly configured (CRSF is not the protocol selected)
  5. you don't have an expressLRS module
harsh zephyr
#

just tried to take it apart but realised i dont have any hex screwdrivers

#

ill buy one this weekend

#

thanks

harsh zephyr
#

uh

#

i rounded one of the screws

#

and i cant open the radio anymore

#

is there a way of getting it out

#

its like really deep

#

and in a narrow hole

#

should i just get an external module

harsh zephyr
#

im sorry 💀

ornate rivet
#

oh.. you don't have to say sorry to me.. it isn't my radio..

harsh zephyr
#

nvm my dads somehow managed to get it out

ornate rivet
#

use the appropriate tool for the job.. else you'd be making more work for yourself

harsh zephyr
#

it wasnt rounded apparently

#

what do i take a picture of

ornate rivet
#

the board mounted to the back case

harsh zephyr
#

this one?

ornate rivet
#

okay, it is the ELRS version
make sure all cables are connected properly

harsh zephyr
#

dont see any loose wires

ornate rivet
harsh zephyr
#

in the configurator?

#

ive only tried v1 in the configurator

ornate rivet
#

if you're following the flashing guide closely, there shouldn't be any issues

#

1.87M baud should be set for the radio

#

Lua Script should load witth the right model set up

harsh zephyr
ornate rivet
#

seems you've skipped a bunch of things at the beginning of the guide

#

e.g. making sure the lua script loads and that the USB-VCP is set with CLI mode

harsh zephyr
#

wait where is that

#

i might be blind

#

this is the first step on the page

#

or do u mean in the general guide

#

not this one

ornate rivet
#

this part, before no. 1

#

this part even before that

harsh zephyr
#

already in cli mode

harsh zephyr
#

thats why ive had to do this

ornate rivet
harsh zephyr
#

the wizard loader?

ornate rivet
#

(unrelated, edited: disabl ADC filter from the hardware page, just below usb-vcp setting)

ornate rivet
harsh zephyr
ornate rivet
#

there's 2.10.4 now

harsh zephyr
#

wait whys it v2

harsh zephyr
ornate rivet
harsh zephyr
#

so i shld flash the one according to the module

harsh zephyr
ornate rivet
harsh zephyr
#

cant detect

#

ill try on a different computer tmr

#

sry for taking up ur time

#

gn

ornate rivet
#

there's a different way to update the radio..

#

it's part of the flashing procedure in an expandable section

harsh zephyr
#

the t20 doesn't have a sd card

ornate rivet
harsh zephyr
#

o

ornate rivet
#

you can plug the usb into the t20, select usb-storage mode

#

transfer firmware binary into the firmware folder
reboot in bootloader menu and flash away

harsh zephyr
#

okay

#

ill try again in abt 10 hours

harsh zephyr
#

are the card sounds compulsory

#

the newest version is 2.10.3

ornate rivet
harsh zephyr
#

do i download v2 or v1

#

cuz u said model was v2 but elrs is v1?

ornate rivet
#

i.e. T20 V2 on EdgeTX side

harsh zephyr
#

its not letting me press flash bootloader

#

should i try v1

ornate rivet
#

you do not have to flash the bootloader

#

just follow the steps already outlined

harsh zephyr
#

or am i supposed to follow this part

ornate rivet
harsh zephyr
#

what is the trim switch

#

is it the little buttons inside

#

nvm i found it

#

updateed

#

do i flash it now

#

with expresslrs

ornate rivet
#

recheck the model settings and the radio settings, in particular, the hardware settings

#

more so if you formatted your sd card (which you shouldn't have to do)

harsh zephyr
#

just check if internal rf is on crsf 1.87m, external rf is off, adc filter is off

#

?

ornate rivet
#

yes.. if you didn't format the sd card, then you don't have to do much.. just make sure those relevant settings are intact and correct

harsh zephyr
#

okay

#

then now i flash?

ornate rivet
#

yes

harsh zephyr
#

still the same error 💀

#

the dots

#

should i just put it in the sd card directly

ornate rivet
harsh zephyr
ornate rivet
#

can you try the v2 target if that would work?

harsh zephyr
#

okay

ornate rivet
harsh zephyr
ornate rivet
harsh zephyr
#

no

#

v1 gives me the dots

#

the one where u said it couldnt connect to the esp32 device

ornate rivet
#

could you try a second time with v2 please

harsh zephyr
#

okay

#

i dont have to press force flash or anything right

harsh zephyr
ornate rivet
#

let them know deadbyte is the one who advised you to do so. you can link this convo.

#

ask them to send at least the tx module

harsh zephyr
#

do i need like warranty for that

ornate rivet
#

no

#

prepare a copy of the receipt/invoice at least

harsh zephyr
#

okay

#

thanks for all the help!

ornate rivet
harsh zephyr
#

does this mean i flash edgetx for the v1 version or did they mean the elrs firmware

harsh zephyr
#

wouldnt the radio be bricked if it had the wrong edgetx firmware

ornate rivet
#

it won't get bricked.. t20 v2 and v1 is using the same mcu

harsh zephyr
#

cant write the v1 edgetx firmware

ornate rivet
#

or update the bootloader first?

harsh zephyr
#

just did it with the buddy

#

dunno why it suddenly works now

#

now i flash elrs again?

#

it worked

#

what

#

why

#

why did i have the v2 firmware in the first place???

#

i didnt touch it 💀

#

thank you so much for putting up with my incompetence 😭