LS1043a-RGW Debug Uboot Console Port Input.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043a-RGW Debug Uboot Console Port Input.

Jump to solution
1,866 Views
tmorrison
Contributor III

Hi,

I am bringing up custom LS1043a-RGW board and in u-boot- I see 

serial output, but I have not been able to get serial Input...

  1) Is there any configuration option that makes it impossible? 

  2) My hardware engineer swears the input is coming to edge of board.

  3) It looks like it is using DUART1 - and I've gone through the NS16550_init() - where it is pointing at

       this device. Although I'm confused that it is configuring registers and such, but when I look at 

        those peripheral registers in CodeWarrior - the values aren't there?

  4) I am wondering what ISR is reading this register and how I can instrument it to prove that 

      interrupts are occurring for inbound data? 

  5) I am looking at the polling loop from u-boot (tstc()) waiting for console input, and that is NOT set. 

      But, again, when I dump the rest of registers, it seems that it is NOT initialized?

      See attached dump from CodeWarrior Peripheral Registers for DUART1:

Thanks in advance.

Tom

Labels (1)
0 Kudos
1 Solution
1,606 Views
tmorrison
Contributor III

We got some new boards in - and the problem seems to have been our hardware - thank you for all the help!

View solution in original post

0 Kudos
11 Replies
1,606 Views
ufedor
NXP Employee
NXP Employee

Please provide:

1) U-Boot booting log

2) the processor connection schematics as searchable PDF

0 Kudos
1,606 Views
tmorrison
Contributor III

Here is a image of the part of schematic. It goes straight from the connector to the cpu...

t

0 Kudos
1,606 Views
ufedor
NXP Employee
NXP Employee

Please provide a digital scope trace showing behaviour of all UART1 signals.

0 Kudos
1,606 Views
tmorrison
Contributor III

Here is a capture of input - I think it is hitting enter!

0 Kudos
1,606 Views
tmorrison
Contributor III

correction the character was "A"

0 Kudos
1,606 Views
ufedor
NXP Employee
NXP Employee

Was the trace captured right at the processor's pin?

How many boards were tested?

Is DVDD=3.3V?

Please provide raw memory dump of the UART1 CCSR registers.

0 Kudos
1,606 Views
tmorrison
Contributor III

We have no "via" to probe at the ls1043a. It was done at the connector.

Attached is the register dump

0 Kudos
1,606 Views
ufedor
NXP Employee
NXP Employee

How many boards were tested?

Is DVDD=3.3V?

Example of raw memory dump (required similar for the UART CCSR memory area):

fe008000: 000000ff 00000000 0200023f 00000000    ...........?....
fe008010: 00000000 00000000 00000000 00000000    ................

0 Kudos
1,607 Views
tmorrison
Contributor III

We got some new boards in - and the problem seems to have been our hardware - thank you for all the help!

0 Kudos
1,606 Views
tmorrison
Contributor III

that will be tomorrow morning to get the trace. 

when talking to the hardware engineer,  he indicated that only TX and rx were connected.  is there any concern with floating pins(even when the uart should be configured to ignore those? 

0 Kudos
1,606 Views
tmorrison
Contributor III

see attached log.

Not sure I can provide schematics...the ones I have are non-searchable.

and the entire schematic is proprietary.

Let me see what I can "snip out" and give you from the edge to the CPU.

Tom

0 Kudos