Re: Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR)

2007-12-02 Thread Dell Query
TED]> wrote: Hi Dell (???), On Thursday 29 November 2007, Dell Query wrote: > 1. I used the 0x1c0002000 offset because I was referring to the first reply > that I received. Now, I used the address 0x1c0002000 and tried to read from > it. I retrieved 0x0f01c087. May I know what does this

Re: Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR)

2007-11-29 Thread Dell Query
_LED1 (CR4) are activated! This got me confused. May I know why is this so? Could you please refer me to some documents? Thanks for all the assistance. Regards, dell Stefan Roese <[EMAIL PROTECTED]> wrote: On Thursday 29 November 2007, Dell Query wrote: > I see. No wonder I couldn't ge

Re: Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR)

2007-11-28 Thread Dell Query
_LED1 (base address+0x2), to see if I could turn on/off the user LEDS, but still no luck. I think I am accessing the wrong addresses so I need to verify it with them. Thanks! Regards, dell Stefan Roese <[EMAIL PROTECTED]> wrote: On Thursday 29 November 2007, Dell Query wrote: > I don

Re: Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR)

2007-11-28 Thread Dell Query
ister 11 = Performance timer (bits 23-16) Register 12 = Performance timer (bits 15-8) Register 13 = Performance timer (LS Byte, bits 7-0) Regards, dell Stefan Roese <[EMAIL PROTECTED]> wrote: On Wednesday 28 November 2007, Dell Query wrote: > Oh is it 0x1C0

Re: Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR)

2007-11-28 Thread Dell Query
Oh is it 0x1C0002000? Where can I get the document? What I have is 0xC0002000 from ep440xc_um_amcc.pdf file that I get from the accompanying PPC440EPx resource CD. Thanks! dell Josh Boyer <[EMAIL PROTECTED]> wrote: On Tue, 27 Nov 2007 02:47:45 -0800 (PST) Dell Query wrote: > Hi,

Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR)

2007-11-27 Thread Dell Query
Hi, I am creating a simple program which will try to read the board ID of the PPC440EPx thru BCSR but when I load it, it gives me "Data Read PLB Error". I am not sure if I missed out something. I would really appreciate it if somebody could help me on this. I have posted the source code below

Re: How to map addresses beyond 4GB

2007-11-27 Thread Dell Query
Thanks Dan Malek <[EMAIL PROTECTED]> wrote: On Nov 22, 2007, at 2:42 AM, Dell Query wrote: > May I know how to map this one? Just call ioremap() as usual. It will understand the > 4G physical address and return a useful virtual address to y

How to map addresses beyond 4GB

2007-11-23 Thread Dell Query
Hi, I would like to ask if anyone knows how to map addresses beyond 4GB. I am trying to access the GPIO on PPC440EPx by mapping it but the address is 0x1EF600B00, which is way beyond 4GB. May I know how to map this one? Thanks, dell - Get easy, one-clic

Re: PPC440EPx GPIO control help

2007-10-17 Thread Dell Query
Hi David, I'll take a look at the PDF file you sent me. Thanks, dell David Hawkins <[EMAIL PROTECTED]> wrote: Hi Dell, If you do decide to look at kernel drivers, Jeff has sent you code, and I also have a tutorial with example code you are welcome to look at: http://www.ovro.caltech.edu/~dwh/c

Re: PPC440EPx GPIO control help

2007-10-17 Thread Dell Query
Hi Jeff, I read the device drivers part of the LDD3, it's really difficult as I expected. Thanks for the sample codes. I'll develop my own driver basing from your samples. Regarding reading the status of the LED, is it really necessary to use proc? Regards, dell Jeff Mock <[EMAIL PROTECTED]>

PPC440EPx GPIO control help

2007-10-16 Thread Dell Query
Hi, I am a Linux and PPC newbie. I have a PPC440EPx Sequoia Evaluation board that runs on Linux 2.6.21. What I would want to do is to control (write and read values to) its GPIO. Perhaps similar to Turbo C's outputb(0x378,0x01) to write and inportb(0x378) to read. I read the PPC440EPx manual b

PPC440EPx GPIO control help

2007-10-16 Thread Dell Query
Hi, I am a Linux and PPC newbie. I have a PPC440EPx Sequoia Evaluation board that runs on Linux 2.6.21. What I would want to do is to control (write and read values to) its GPIO. Perhaps similar to Turbo C's outputb(0x378,0x01) to write and inportb(0x378) to read. I read the PPC440EPx manual b