I am programming the ATMEGA128 using the parallel port of my PC. The pins
from the programmer go to the UART RX / TX of the MCU for downloading the
program. I want to send debug info from the MCU to the PC using the same
UART. I have code with me to send data using this UART .
--The question is that is there a way that the PC can intepret this data and
display it correctly. I am using redhat 9.
-- How do i do this? Is there some terminal software for linux.
-- *Is it at all possible that the parallel port can recieve data from the
UART of the ATMEGA128 ? *
Thanks for ure time
Reply by Hans-Bernhard Broeker●February 6, 20042004-02-06
harshit <hsuri@usc.edu> wrote:
> I am programming the ATMEGA128 using the parallel port of my PC. The pins
> from the programmer go to the UART RX / TX of the MCU for downloading the
> program.
What the parallel port, for Pete's sake? The serial port should have
been by far the more obvious choice, and easier to use, too --- just
run a terminal program like good old Kermit and *see* what comes out
of that port, without any hassles.
--
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
Reply by Lewin A.R.W. Edwards●February 6, 20042004-02-06
> > from the programmer go to the UART RX / TX of the MCU for downloading the
>
> What the parallel port, for Pete's sake? The serial port should have
> been by far the more obvious choice, and easier to use, too --- just
Perhaps because the ISP protocol is synchronous?
Reply by Anton Erasmus●February 7, 20042004-02-07
On Thu, 5 Feb 2004 16:04:43 -0800, "harshit" <hsuri@usc.edu> wrote:
>I am programming the ATMEGA128 using the parallel port of my PC. The pins
>from the programmer go to the UART RX / TX of the MCU for downloading the
>program. I want to send debug info from the MCU to the PC using the same
>UART. I have code with me to send data using this UART .
>--The question is that is there a way that the PC can intepret this data and
>display it correctly. I am using redhat 9.
>-- How do i do this? Is there some terminal software for linux.
>-- *Is it at all possible that the parallel port can recieve data from the
>UART of the ATMEGA128 ? *
>Thanks for ure time
>
Add some circuitry to switch between using the parallel port for
downloading and a RS232 buffer connected to the standard serial
port. Writing a software UART device that can be used with software
expecting to talk via a UART would be far to much work for very little
advantage.
Regards
Anton Erasmus
Signal Processing Engineer Seeking a DSP Engineer to tackle complex technical challenges. Requires expertise in DSP algorithms, EW, anti-jam, and datalink vulnerability. Qualifications: Bachelor's degree, Secret Clearance, and proficiency in waveform modulation, LPD waveforms, signal detection, MATLAB, algorithm development, RF, data links, and EW systems. The position is on-site in Huntsville, AL and can support candidates at 3+ or 10+ years of experience.