Skip to content
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

Add serial passthrough for T-Pro #1573

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

pkendall64
Copy link
Contributor

@pkendall64 pkendall64 commented Feb 7, 2022

The Jumper T-Pro has a small 2 pin (unpopulated) header on the main board right next to the SD card holder. The pin closest to the SD card holder is connected to PF11 on the MCU.

This PR adds PF11 as the GPIO_BOOTCMD_PIN and also enables serial-passthrough and CLI on the T-Pro.

Adding a transistor (any NPN transistor should work) and 4k7 resistor as shown in the schematic and photo below, the Jumper T-Pro can do full ETX passthrough flashing of the internal ELRS module.

The hardware mod is optional and a user can still perform ETX passthrough flashing of the module with the PR if they hold the GPIO0 button down on the internal module just prior to flashing until the flashing progress starts.

Screen Shot 2022-02-08 at 7 49 40 AM

IMG_0060

Add PF11 as boot pin handler
@pfeerick pfeerick added this to the 2.6.1 milestone Feb 7, 2022
Copy link
Member

@pfeerick pfeerick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was able to flash T-Pro ELRS master branch using PlatformIO using _via_ETX. Added a socket, and used a 2N3904 NPN + 4k7 resistor. Thank you for the hard work that went into figuring this out and getting it to work!! :)

IMG_20220209_145837

@JyeSmith
Copy link
Contributor

All good here as well. I pinched this NPN from the beeper curcuit of an old FC, and coupled with a 10k resistor I found on the ground.

image

@pfeerick
Copy link
Member

pfeerick commented Feb 10, 2022 via email

@pfeerick pfeerick merged commit c725508 into EdgeTX:main Feb 11, 2022
rotorman pushed a commit to rotorman/edgetx that referenced this pull request Feb 13, 2022
@pfeerick pfeerick modified the milestones: 2.6.1, 2.7 Mar 16, 2022
@Ivosch
Copy link

Ivosch commented May 15, 2022

Hello guys, thanks for your work!
Unfortunately this hw patch doesn't work for me. I tried 2 types of transistors - BC548c and BC337, emitter connected to the ground. But PF11 signal seems to be weak/low:
remote control ON - PF11 ~0V
remote control ON and USB connected - PF11 ~2.4V
remote control ON, USB connected and transistor with resistor installed - PF11 ~0.5V and this is not enough to open transistor
Also I tried 3k-47k resistors. Edge TX 2.7.1 installed.
any ideas?

@pkendall64
Copy link
Contributor Author

pkendall64 commented May 15, 2022

Hello guys, thanks for your work! Unfortunately this hw patch doesn't work for me. I tried 2 types of transistors - BC548c and BC337, emitter connected to the ground. But PF11 signal seems to be weak/low: remote control ON - PF11 ~0V remote control ON and USB connected - PF11 ~2.4V remote control ON, USB connected and transistor with resistor installed - PF11 ~0.5V and this is not enough to open transistor Also I tried 3k-47k resistors. Edge TX 2.7.1 installed. any ideas?

The only thing I can suggest is to check your wiring of the transistor as the BC337 pinout is the opposite to the S8050 I used. Also when you plug in the USB you have to select "USB Serial (VCP)" from the menu to enable the code for passthrough.

EDIT: It would be better to connect on the ELRS discord in the #help-and-support channel.

@pkendall64 pkendall64 deleted the t-pro-etx-passthrough branch July 3, 2022 09:56
@Meldinov
Copy link

Meldinov commented Mar 3, 2023

sadly, my t-pro board is different and does not have that 2pin header
imagen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants