LS1043a-RGW Debug Uboot Console Port Input.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1043a-RGW Debug Uboot Console Port Input.

跳至解决方案
10,754 次查看
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

标签 (1)
0 项奖励
回复
1 解答
10,494 次查看
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 项奖励
回复
11 回复数
10,494 次查看
ufedor
NXP Employee
NXP Employee

Please provide:

1) U-Boot booting log

2) the processor connection schematics as searchable PDF

0 项奖励
回复
10,490 次查看
tmorrison
Contributor III

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

t

0 项奖励
回复
10,490 次查看
ufedor
NXP Employee
NXP Employee

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

0 项奖励
回复
10,490 次查看
tmorrison
Contributor III

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

0 项奖励
回复
10,490 次查看
tmorrison
Contributor III

correction the character was "A"

0 项奖励
回复
10,490 次查看
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 项奖励
回复
10,489 次查看
tmorrison
Contributor III

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

Attached is the register dump

0 项奖励
回复
10,489 次查看
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 项奖励
回复
10,495 次查看
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 项奖励
回复
10,489 次查看
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 项奖励
回复
10,489 次查看
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 项奖励
回复