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

Suggestion to use a switch in the circuit #14

Open
paulskirk53 opened this issue Nov 27, 2021 · 1 comment
Open

Suggestion to use a switch in the circuit #14

paulskirk53 opened this issue Nov 27, 2021 · 1 comment

Comments

@paulskirk53
Copy link

I have used the circuit here which is a simple modification to the pymcuprog UPDI diagram. You can use an FTDI device as a programming conduit as well as a serial comms device. I've tested this on my AVR4809. Do serial comms in one switch position and program the chip using pymcuprog in the other position. Hope it helps.

@Voncky
Copy link

Voncky commented Jan 30, 2022

Hello,

I found following solution working well in application in which you would like to use FTDI chip for both programming and UART communication. It consists of smart circuit utilizing RTS signal which I tested is being switched at the beginning of programming cycle. This signal is being used to control a relay which re-routes RxD, TxD and UPDI signals. With this solution I can connect via UART immediately just after programming cycle is finished.
It works well in my case - maybe just because by simple coincidence. It works at least with current version of both pymcuprog as well as pyupdi. I hope authors of both programming scripts will not change this behavior in near future :). I hope you can find it working as well :).
updi_FT232_with_switch

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

No branches or pull requests

2 participants