Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

epp mode on laptop

epp mode on laptop

2006-01-28 by G B

Hello,

I cannot get my HP Pavilion ZE4200 into EPP mode.  The bios
will not allow port settings, and I cannot seem to do it from
windows xp home.

Anyone else had this problem?  I am assuming will NOT work from
ECP mode as I have been told.  I just got my olimex dev boards in.

Thanks

Glen

Re: [lpc2000] epp mode on laptop

2006-01-28 by Tom Walsh

G B wrote:

>Hello,
>
>I cannot get my HP Pavilion ZE4200 into EPP mode.  The bios
>will not allow port settings, and I cannot seem to do it from
>windows xp home.
>
>  
>

And, you though that someone on this mailing list could help you 
because: ... ?

TomW


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Re: [lpc2000] epp mode on laptop

2006-01-28 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "G B" <microsys@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, January 28, 2006 8:28 PM
Subject: [lpc2000] epp mode on laptop


> Hello,
> 
> I cannot get my HP Pavilion ZE4200 into EPP mode.  The bios
> will not allow port settings, and I cannot seem to do it from
> windows xp home.
> 
> Anyone else had this problem?  I am assuming will NOT work from
> ECP mode as I have been told.  I just got my olimex dev boards in.

It should work in any mode other than ECP, if that helps.

Leon

Re: [lpc2000] epp mode on laptop

2006-01-29 by G B

Tom Walsh wrote:


> 
> And, you though that someone on this mailing list could help you 
> because: ... ?
> 
> TomW
> 
> 

Perhaps someone else is developing ARM7 with the wiggler on their hp 
laptop.  Took a shot...

Glen

Re: epp mode on laptop

2006-01-30 by rtstofer

Glen,

Actually, not a bad shot.  I have some VB code that uses a driver in 
Windows XP to change the port from SPP to EPP.  The basis for the 
command string is "Parallel Port Complete by Jan Axelson.

I have lost your email address, contact me off list and I'll send 
you the code.  It's only a very few lines.

You could just write a small utility that made the change.  I don't 
know how to change it back but that shouldn't be difficult to figure 
out.

Richard

--- In lpc2000@yahoogroups.com, G B <microsys@a...> wrote:
>
> 
> 
> Tom Walsh wrote:
> 
> 
> > 
> > And, you though that someone on this mailing list could help you 
> > because: ... ?
> > 
> > TomW
> > 
> > 
> 
> Perhaps someone else is developing ARM7 with the wiggler on their 
hp 
Show quoted textHide quoted text
> laptop.  Took a shot...
> 
> Glen
>

Re: [lpc2000] Re: epp mode on laptop

2006-01-30 by G B

Richard,

I need to go from ECP to EPP.  I am wondering if my laptop's
motherboard even supports EPP at all.

Thanks,

Glen


rtstofer wrote:
Show quoted textHide quoted text
> Glen,
> 
> Actually, not a bad shot.  I have some VB code that uses a driver in 
> Windows XP to change the port from SPP to EPP.  The basis for the 
> command string is "Parallel Port Complete by Jan Axelson.
> 
> I have lost your email address, contact me off list and I'll send 
> you the code.  It's only a very few lines.
> 
> You could just write a small utility that made the change.  I don't 
> know how to change it back but that shouldn't be difficult to figure 
> out.
> 
> Richard
> 
> --- In lpc2000@yahoogroups.com, G B <microsys@a...> wrote:
> 
>>
>>
>>Tom Walsh wrote:
>>
>>
>>
>>>And, you though that someone on this mailing list could help you 
>>>because: ... ?
>>>
>>>TomW
>>>
>>>
>>
>>Perhaps someone else is developing ARM7 with the wiggler on their 
> 
> hp 
> 
>>laptop.  Took a shot...
>>
>>Glen
>>
> 
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
>

Re: [lpc2000] Re: epp mode on laptop

2006-01-30 by K B Shah-lascaux

Guys,
I think HP should have utility to do this  for you.
Go to HP's web and look for such utility /patch..
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: G B 
  To: lpc2000@yahoogroups.com 
  Sent: Monday, January 30, 2006 11:03 AM
  Subject: Re: [lpc2000] Re: epp mode on laptop


  Richard,

  I need to go from ECP to EPP.  I am wondering if my laptop's
  motherboard even supports EPP at all.

  Thanks,

  Glen


  rtstofer wrote:
  > Glen,
  > 
  > Actually, not a bad shot.  I have some VB code that uses a driver in 
  > Windows XP to change the port from SPP to EPP.  The basis for the 
  > command string is "Parallel Port Complete by Jan Axelson.
  > 
  > I have lost your email address, contact me off list and I'll send 
  > you the code.  It's only a very few lines.
  > 
  > You could just write a small utility that made the change.  I don't 
  > know how to change it back but that shouldn't be difficult to figure 
  > out.
  > 
  > Richard
  > 
  > --- In lpc2000@yahoogroups.com, G B <microsys@a...> wrote:
  > 
  >>
  >>
  >>Tom Walsh wrote:
  >>
  >>
  >>
  >>>And, you though that someone on this mailing list could help you 
  >>>because: ... ?
  >>>
  >>>TomW
  >>>
  >>>
  >>
  >>Perhaps someone else is developing ARM7 with the wiggler on their 
  > 
  > hp 
  > 
  >>laptop.  Took a shot...
  >>
  >>Glen
  >>
  > 
  > 
  > 
  > 
  > 
  > 
  > 
  >  
  > Yahoo! Groups Links
  > 
  > 
  > 
  >  
  > 
  > 
  > 



  SPONSORED LINKS Microcontrollers  Microprocessor  Intel microprocessors  
        Pic microcontrollers  


------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "lpc2000" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------




------------------------------------------------------------------------------


  Internal Virus Database is out-of-date.
  Checked by AVG Free Edition.
  Version: 7.1.375 / Virus Database: 267.14.21/235 - Release Date: 19/01/2006


[Non-text portions of this message have been removed]

Re: epp mode on laptop

2006-01-30 by rtstofer

--- In lpc2000@yahoogroups.com, G B <microsys@a...> wrote:
>
> Richard,
> 
> I need to go from ECP to EPP.  I am wondering if my laptop's
> motherboard even supports EPP at all.
> 
> Thanks,
> 
> Glen

Most motherboards, laptops included, use a Super I/O chip of one 
sort or another.  These chips combine serial, parallel, floppy and 
sometime IDE all in one package.  I don't KNOW that your laptop will 
respond to the code but I do know that if the port doesn't show up 
at 0x378 (as an ISA port) there is no hope.  Strictly PCI ports 
can't be manipulated with the driver/setup code I use.

And, I had a heck of a time finding another ISA card for my desktop.

I would think you could look in Device Manager and find out what 
address the parallel port uses.  By default, mine uses 0x378 in ECP 
mode.  I change it to EPP when I run the logic analyzer and I don't 
think I change it back.  I don't have an attached printer, 
everything is networked.

The code is trivial:

    Public Sub PortSetup(ByVal PortBaseAddress As Integer)

        SPPDataPort = PortBaseAddress
        StatusPort = PortBaseAddress + 1
        ControlPort = PortBaseAddress + 2
        EPPAddressPort = PortBaseAddress + 3
        EPPDataPort = PortBaseAddress + 4
        ECPConfigPort = PortBaseAddress + &H402
        ECPEIR = PortBaseAddress + &H403
        ECPControl2 = PortBaseAddress + &H404

        Out(ECPConfigPort, &H94)
        Out(ECPEIR, &H2)
        Out(ECPControl2, &H10)
        Out(ControlPort, &HC4)

    End Sub
 
but it relies on a driver named 'inpout32.dll' declared as:

    Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" _
        (ByVal PortAddress As Integer) _
        As Integer

    Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" _
        (ByVal PortAddress As Integer, _
        ByVal Value As Integer)

The driver is available here: http://www.lvr.com/parport.htm  Look 
about 2/3 the way down the page.

Your mileage may be all over the map...

Richard

Re: [lpc2000] Re: epp mode on laptop

2006-01-30 by David Hawkins

>>I need to go from ECP to EPP.  I am wondering if my laptop's
>>motherboard even supports EPP at all.
>>

Hi Glen,

I haven't been following the whole thread, but what options
does your BIOS give?

If you want to learn lots about the parallel port, take
a look at Craig Peacocks web site (there's lots of other
interesting h/w stuff there too):

http://www.beyondlogic.org

If you have a Linux system, or can use a Linux boot CD, you
try the Linux parallel port user-space driver (ppdev).

Tim Waugh wrote the driver, and there is a PDF document
describing it in various places around the web. The
user-space driver has a negotiation phase where you
can ask it to select the parallel port mode.

You can see if that can get you into ECP mode.

Watch-out for this though:
On the HP Omnibook 6100 the parallel port is also used for
the floppy drive. It uses a Super I/O chip that can multiplex
a parallel port or floppy drive on the DB25. The mode
pin of the chipset is driven in an 'application specific'
(i.e., HP defined) way to determine when a floppy is connected.
It turns out that the Cypress CPLD JTAG programming cable
matches that definition, so promptly crashes windows when
you plug the cable in - since it fails to find a floppy
drive attached.

Of course to figure this out, I used Linux :)

Cheers
Dave

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.