-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldnt find backpack #1
Comments
What board(s) are you using again? Is it just the standard DevKitC? |
Just a standart NodeMCU ESP32 boards, I dont think the problem is with boards because if flashes well and it worked well on previous versions. |
The plugin has been primarily been developed on a Windows PC, so initially I don't think the code base is the issue right now. You've mentioned having issues with other beta versions in the past, especially on Windows, so I wonder it if could be a driver issue. Drivers for the typical USB to serial converter chips that are used on the ESP32s can be found here |
Another thing to try is to add a logging line here It could be closing the port because it wasn't receiving the right message from the esp32 |
Loaded plugin module VRxC_ELRS Added logger to line Line 170 in 8fc3968
|
I dont think its a driver issue, I cant flash esp any time no problem. |
Does adding |
Yes Loaded plugin module VRxC_ELRS |
So it looks like its an issue with the backpack. the proper response should be |
This is from another ESP module Loaded plugin module VRxC_ELRS |
If you change I thought that the firmware in the beta 2 was suppose to support that, but it looks like I forgot about the config changes I made for the elrs pull request. I'll just those update, thanks for the help! |
Yes, it works now: v1.0.0-beta.3 |
Maybe you need to leave that extra loggers in code just for future user debugging :) |
yup you are right, they are going to be pushed up to |
Flashed with https://github.com/i-am-grub/VRxC_ELRS/releases/download/v1.0.0-beta.3/firmware-esp32.zip Line 160 in 8fc3968
Loaded plugin module VRxC_ELRS |
Hmm now its connected.. Didnt change anything Loaded plugin module VRxC_ELRS Another ESP too (reflashed) v1.0.0-beta.3 |
Every time the esp is rebooted, it will send out a bunch of messages over serial during it's startup process. If Windows tries to communicate too early, it receives a bunch of junk back as a response as shown in one of your earlier messages. |
I can test esp8286 too, shoud I build it from you PR ExpressLRS/Backpack#114 ? |
yes please. I don't have any firmware currently compiled for the 8266 yet |
Esp8266 works too didnt actually test osd messages yet, will test later, but it was working with diferent code before |
Windows + esp32 (fresh fw) + beta3 plugin
Start log:
v1.0.0-beta.3
Attempting to find backpack
Attempting to find backpack on COM6 - It detects port correctly
Could not find connected backpack. Ending connector thread.
I added extra logger to see if it detect a port
Tried to replug esp several times, didt help
For some reason it didnt fall back to
logger.warning('Failed to write to open serial device. Attempting to connect to new device...')
Only straight to closing port
The text was updated successfully, but these errors were encountered: