2008-03-25 01:43:19     ppi1 driver

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-03-25 01:43:19     ppi1 driver

Pranay Upadhyay (INDIA)

Message: 52988   

 

Hello all,

 

            After running the application code for ppi1 driver I am getting following output on uclinux hyperyerminal..

 

 

 

CURRENT PROCESS:

 

COMM=€ € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € € €  áÿwÀ € € € € € € € € € € € € € € € € € € € € € € € € € € € € €€ € € €

 

TEXT = 0x10801080-0x10801080  DATA = 0x10801080-0x10801080

BSS = 0x10801080-0x10801080   USER-STACK = 0x10801080

 

return address: 0x0001de7e; contents of [PC-16...PC+8]:

 

 

RETE:  00000000  RETN: 00263e48  RETX: 0001de7e  RETS: ffa0033e

IPEND: 0070  SYSCFG: 0036

SEQSTAT: 0000c024    SP: 00263d6c

R0: 69a1afb2    R1: 69a1afb2    R2: 00000001    R3: 003d08bb

R4: 7c23c33f    R5: 0f001fbe    R6: d27bd08a    R7: 10801080

P0: ffffff14    P1: 10801080    P2: 69a1aec6    P3: 108011c4

P4: 108011bc    P5: 00000013    FP: 03655040

A0.w: 00000000    A0.x: 00000000    A1.w: 00000000    A1.x: 00000000

LB0: 03001649  LT0: 03001648  LC0: 00000000

LB1: 0001ddd8  LT1: 0001ddac  LC1: 00000000

B0: 00000000  L0: 00000000  M0: 00000000  I0: 00000001

B1: 00000000  L1: 00000000  M1: 00000000  I1: 00000000

B2: 00000000  L2: 00000000  M2: 00000000  I2: fffee145

B3: 00000000  L3: 00000000  M3: 00000000  I3: 00000000

 

USP: 031ffed4   ASTAT: 02002002

DCPLB_FAULT_ADDR=00263e68

ICPLB_FAULT_ADDR=0001de7e

 

 

Hardware Trace:

0 Target : <0x00004594> { _trap_c + 0x0 }

   Source : <0xffa00b58> { _exception_to_level5 + 0xb4 }

1 Target : <0xffa00aa4> { _exception_to_level5 + 0x0 }

   Source : <0xffa00aa2> { _ex_trap_c + 0x4e }

2 Target : <0xffa00a54> { _ex_trap_c + 0x0 }

   Source : <0xffa00bf8> { _trap + 0x28 }

3 Target : <0xffa00bd0> { _trap + 0x0 }

   Source : <0xffa00bce> { _exception_to_level5 + 0x12a }

4 Target : <0xffa00b7a> { _exception_to_level5 + 0xd6 }

   Source : <0xffa00e68> { _ret_from_exception + 0x6c }

5 Target : <0xffa00e62> { _ret_from_exception + 0x66 }

   Source : <0xffa00e18> { _ret_from_exception + 0x1c }

6 Target : <0xffa00dfc> { _ret_from_exception + 0x0 }

   Source : <0xffa00b76> { _exception_to_level5 + 0xd2 }

7 Target : <0xffa00b5c> { _exception_to_level5 + 0xb8 }

   Source : <0x00004662> { _trap_c + 0xce }

Stack from 00263d4c:

        0000001f ffa00b5c 0012c714 0012c714 0012c710 00263d98 00008870 036b100c

        0001de7e 00000070 0000c024 00000000 00263e48 0001de7e 0001de7e ffa0033e

        69a1afb2 02002002 0001ddd8 03001649 0001ddac 03001648 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 fffee145 00000000 00000001 031ffed4 03655040 00000013 108011bc

Call Trace:

[<0001441c>] _update_process_times+0x38/0x54

[<0002523c>] _handle_IRQ_event+0x34/0x5c

[<000261b0>] _handle_simple_irq+0x48/0x78

[<00001000>] __start+0x0/0x130

[<00002000>] _arch_ptrace+0x248/0x400

 

Data access misaligned address violation

- Attempted misaligned data memory or data cache access.

 

Please help .

 

         -Regards

 

        Pranay

 

Actually I am not getting your reply in my forum , But there is showing your reply.

 

                          Thanks &Regards

 

                                  -Pranay

QuoteReplyEditDelete

 

 

2008-03-25 07:53:27     Re: ppi1 driver

Robin Getz (UNITED STATES)

Message: 53010    Pranay:

 

Upgrade to the latest 2008R1 release, and try again.

 

Thanks

-Robin

QuoteReplyEditDelete

 

 

2008-03-26 00:17:04     Re: ppi1 driver

Pranay Upadhyay (INDIA)

Message: 53026   

 

Thanks Robin,

 

                 Without the upgradation and some change in the code I got  video integer value on the hyperterminal. I planned to show this capture data from image viewer. Is ppi1 driver is working ?

 

                          -Regards

 

                             Pranay

QuoteReplyEditDelete

 

 

2008-03-26 13:29:47     Re: ppi1 driver

Robin Getz (UNITED STATES)

Message: 53069    Pranay:

 

I have no idea what you are saying/meaning.

QuoteReplyEditDelete

 

 

2008-03-27 01:50:41     Re: ppi1 driver

Pranay Upadhyay (INDIA)

Message: 53093   

 

Hello Robin,

 

          I have write the Application code which generate the Bar pattern on video screen and also modified ppi1 driver code .From applicatiion code  we have to open the ppi1 driver. At the uClinux hyperterminal bootm 0x2003000 and lissa bf561 we able to print the "ppi1 open successfully  " and after this I am  getting the raw pixel value of  video. This is for NTSC format. At which format ppi1 is able to display on screen , NTSC or PAL format .Please help.

 

                                                        -Thanks & Regards

 

                                                           pranay

Attachments

    Outcomes