Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Possible to use USB host pins as device for teensy 4.1

  1. #1
    Junior Member
    Join Date
    Aug 2021
    Posts
    2

    Possible to use USB host pins as device for teensy 4.1

    Hi all,

    I have a similar question to the one related here: https://forum.pjrc.com/threads/61379...-on-teensy-4-1. Essentially I am designing a pcb for the teensy which will ultimately sit inside a custom box, and I want to have a usb port on the exterior of the box so that I can reprogram the teensy firmware without taking the box apart. Of course, I could use a male to female cable, but I was wondering if this was possible just via soldering.

    In particular, I know that the device D+ and D- connections are the little exposed pads under the main usb port on the teensy, but these seem difficult to access for the pcb I am making, and so I am wondering if the "USB host" (available via 5 through hole pins) can be used to program the device. My first thought would be to just leave the ID pin floating rather than connecting to GND, but I'm guessing the problem is more subtle than this? If so, is there another way to achieve the functionality I'm looking for, of essentially "extending" the usb programming port purely through a pcb?

    Thanks.

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    17,145
    Only those Device USB pins common to the connector have PJRC Programming support.

    The USB Host pins are not available to the bootloader for uploading.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •