Answer the question
In order to leave comments, you need to log in
How to connect other devices to Raspberry Pi via UART?
Hello!
There are several routers such as
TP-Link TL-MR3220v1, TP-Link TL-MR3220v2,
TP-Link TL-MR3020v1, TP-Link TL-MR3020v2,
TP-Link TL-MR3040v1, TP-Link TL-MR3040v2.
On many, the firmware was killed and some of them were restored via failsafe_recovery, MTD, etc.
but the rest can only be reached via UART (of those on which it is available)
There is no PC with a COM port or DKU-5 wires at hand, CA-42 or similar based on PL-2303 chip.
There is only RASPBERRY PI 1 MODEL B+ Can I use it to restore the firmware of routers by connecting via GPIO or other raspberry pins? I’ll figure it out with the pinout of routers, there shouldn’t be any problems with the pinout of the raspberry itself, butwhat utilities to install in the raspberry OS so that through it, via an ethernet channel, to communicate with the hardware connected to the raspberry? On Raspbian (debian-based) or another distribution. It's just that in matters of microcontrollers - a noob, but otherwise I don't see any problems.
Answer the question
In order to leave comments, you need to log in
in raspberry there is a full-fledged uart and not one as far as I remember.
its tx, rx connect accordingly to the uart of the router.
to pile on raspberries some kind of linux. linux access via ssh
ports respectively will be connected to / dev / tty **, etc. read the documentation for raspberry, how to work with the com port in it.
IMHO it will be much less gemorno to find any usb-232 converter
You can connect to the raspberry via ssh and quite brazenly run minicom on it on the desired console. Most likely /dev/ttyAMA0
ttyAMA0 is the only console available on pins. Unfortunately, the kernel usually pours information into it very actively. Therefore, this article will also be useful to you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question