getting its source maybe give you some help :)
Mark Co-Dyre wrote:
> Thanks Richard,
>
> I'm going to try it when I get home.
> Quick question
> I used Haret version 0.3.2(with usart support; fisherss ver), 0.3.4
> and 0.3.6. When using haret 0.3.4 I get a boot screen that shows a
> penguin. But, with the others I get nothing other than the Haret
> screen. Confused... could someone enlighten me on where this little
> penguin is coming from?
>
> Regards...
>
> Mark
>
> On 9/8/05, *Richard Bateman* <taxilian_at_zzt.net
> <mailto:taxilian_at_zzt.net>> wrote:
>
> A few things:
>
> 1. you must be using fisherss' haret, as it initializes the serial
> port
> 2. here is my default.txt:
>
> print "Setting GPIOs for serial port..."
> set GAFR(34) 1
> set GAFR(35) 1
> set GAFR(37) 1
> set GAFR(39) 2
> set GAFR(40) 2
> set GAFR(41) 2
> set GPDR(34) 0
> set GPDR(35) 0
> set GPDR(37) 0
> set GPLR(34) 1
> set GPLR(35) 1
> set GPLR(37) 1
> set GPLR(39) 1
>
> set kernel "zImage"
> set initrd "initrd"
> set mtype 740
> set cmdline "root=/dev/ram0 rw ramdisk_size=16384 keepinitrd
> init=/linuxrc console=tty0 console=ttyS0,115200n8"
> boot
>
> this works for me.
>
> When you wire up the serial cable, the pin that reads +- 3v with
> ground
> on a voltmeter is the tx pin from the x50 itself. it should be labeled
> which pin this should go to on the max232 chip. On the pc side, it's
> +9v, and the +9v from the max232 that comes from the max232 should
> go to
> the RX pin on your computer.
>
> Similarly, the +9v from your computer rs232 cable is the tx from the
> computer, and should go through the max232 to the rx on the other
> side.
>
> if you aren't using fisherss' haret, however, it probably won't work,
> because his haret is modified to initialize the serial port.
>
> Richard
>
> Mark Co-Dyre wrote:
>
> > Hello all,
> >
> > I'm new to this project and would greatly appreciate a couple of
> > pointers on how to get the serial port console working on the
> x50v. I
> > got the penguin to display itself and the thermometer in the graphic
> > to rise (freezes after the penguin eyes go all funny). But, I can't
> > seem to get any output from the serial cable. When I scope out the
> > Serial TX pin on the my Dell I seem to get a partial
> initialization of
> > the port because It changes state from a 0 to a 1 right after
> starting
> > Haret and then pressing run. Linux never actually boots. I'm just
> > hoping to get some more info to make it easier to debug what is
> > actually happening.
> >
> > I've built the serial cable that fisher had so kindly documented.
> > Although in the documentation, I do suspect that the pin outs
> for Dell
> > pin number 10-Rx(dell in) and 11-TX(dell out) are reversed on the
> > practical serial cable making method; I think it should be 11-Rx,
> > 10-TX. if someone has a cable handy could they double check this
> for
> > me? Fisherss am I correct? For now I just hook a scope probe up to
> > both the pins (10 and 11) and try to make data come out of
> either or.
> >
> > Did you have to modify the haret program to get the serial port
> of the
> > dell up and running? Or will just modifying General Purpose I/O
> > Alternate Function Select Registers by adding the appropriate
> info the
> > default.txt file work just fine (set GAFR(34) 1 and so on)
> >
> > I Hope that makes sense... any help would be greatly appreciated...
> >
> > Regards..
> >
> > Mark
> >
>
> --
> _______________________________________________
> Aximx50-port mailing list
> Aximx50-port_at_handhelds.org <mailto:Aximx50-port_at_handhelds.org>
> https://www.handhelds.org/mailman/listinfo/aximx50-port
>
>
Received on Thu Sep 08 2005 - 22:00:48 EDT
This archive was generated by hypermail 2.2.0 : Thu Sep 08 2005 - 22:00:53 EDT