Hi, We are using T1040RDB based and tried changing the value of GPIO's direction and data registers from u boot using MM and MW command. We were able change the values of direction register but not the data register. We have checked the Reset Configuration word values also and it is appropriate.
Can u help with the issue and what else can be done to change the register values?
Solved! Go to Solution.
You wrote:
> According to our schematics bits 366-368 needs to be 011(referring T1040 RM).
The RM is correct, but in the provided RCW dump the setting is 110.
Correct is:
00000000: 0818000e 0e000000 00000000 00000000
00000010: 69000002 80000002 ec027000 21000000
00000020: 00000000 00000000 00000000 0001a000
00000030: 00000000 00025a8f 00000000 00000000
Thanks. I m able to drive GPIO data register now.
You wrote:
> We were able change the values of direction register but not the data register.
What exactly do you mean? Please provide corresponding log (as text).
> We have checked the Reset Configuration word values also and it is appropriate.
What 'appropriate' means?
Please provide U-Boot log (as text).
Explain which exactly GPIO signals are probed and how this signals are connected (PDF schematics).
> We tried writing on direction register(0xfe130000) and data register(0xfe130008). But on the output data registers is not reflected.
Please find the log follows:
=> md 0xfe130000
fe130000: 00000000 00000000 00000000 00000000 ................
fe130010: 00000000 00000000 00000000 00000000 ................
fe130020: 00000000 00000000 00000000 00000000 ................
fe130030: 00000000 00000000 00000000 00000000 ................
fe130040: 00000000 00000000 00000000 00000000 ................
fe130050: 00000000 00000000 00000000 00000000 ................
fe130060: 00000000 00000000 00000000 00000000 ................
fe130070: 00000000 00000000 00000000 00000000 ................
fe130080: 00000000 00000000 00000000 00000000 ................
fe130090: 00000000 00000000 00000000 00000000 ................
fe1300a0: 00000000 00000000 00000000 00000000 ................
fe1300b0: 00000000 00000000 00000000 00000000 ................
fe1300c0: 00000000 00000000 00000000 00000000 ................
fe1300d0: 00000000 00000000 00000000 00000000 ................
fe1300e0: 00000000 00000000 00000000 00000000 ................
fe1300f0: 00000000 00000000 00000000 00000000 ................
=> mm 0xfe130000
fe130000: 00000000 ? 00002c00
fe130004: 00000000 ? 00000000
fe130008: 00000000 ? 00000c00
fe13000c: 00000000 ? .
=> md 0xfe130000
fe130000: 00002c00 00000000 00000000 00000000 ..,.............
fe130010: 00000000 00000000 00000000 00000000 ................
fe130020: 00000000 00000000 00000000 00000000 ................
fe130030: 00000000 00000000 00000000 00000000 ................
fe130040: 00000000 00000000 00000000 00000000 ................
fe130050: 00000000 00000000 00000000 00000000 ................
fe130060: 00000000 00000000 00000000 00000000 ................
fe130070: 00000000 00000000 00000000 00000000 ................
fe130080: 00000000 00000000 00000000 00000000 ................
fe130090: 00000000 00000000 00000000 00000000 ................
fe1300a0: 00000000 00000000 00000000 00000000 ................
fe1300b0: 00000000 00000000 00000000 00000000 ................
fe1300c0: 00000000 00000000 00000000 00000000 ................
fe1300d0: 00000000 00000000 00000000 00000000 ................
fe1300e0: 00000000 00000000 00000000 00000000 ................
fe1300f0: 00000000 00000000 00000000 00000000 ................
> According to our schematics bits 366-368 needs to be 011(referring T1040 RM). Please find the following dump of RCW.
Reset Configuration Word (RCW):
00000000: 0818000e 0e000000 00000000 00000000
00000010: 69000002 80000002 ec027000 21000000
00000020: 00000000 00000000 00000000 00032000
00000030: 00000000 00025a8f 00000000 00000000
Also check the attached schematic screenshot.
> Pin Numbers Y2, Y1, W4, AA4, Y4, V4 are the GPIO’s of the Processor T1040 (referring T1040 data sheet). Please find the attached signal diagram that explains the signals of the mentioned pins and these signals are probed.
You wrote:
> According to our schematics bits 366-368 needs to be 011(referring T1040 RM).
The RM is correct, but in the provided RCW dump the setting is 110.
Correct is:
00000000: 0818000e 0e000000 00000000 00000000
00000010: 69000002 80000002 ec027000 21000000
00000020: 00000000 00000000 00000000 0001a000
00000030: 00000000 00025a8f 00000000 00000000