Hi
I want to test the GPIO function for LS1021ATWR for uboot, After I check schematic, I choose GPIO3_03 pin to test it. first I change EC1=1 in rcw file. then compile the rcw file and modify the uboot image. the RCW during start is as following:
00000000: 0608000a 00000000 00000000 00000000
00000010: 30000000 00007900 60040a00 21046000
00000020: 00000000 00000000 00000000 20000000
00000030: 00080000 281b7340 00000000 00000000
So the GPIO3[2:14]pin had been set as GPIO pin. The B42 pin of primary connector is GPIO3_03,
The GPIO3 direction register is 0x2320000, the data regsiter is 0x2320008. so I use command
mw 0x02320000 8 1 to set GPIO3_03 as output. ,the 0x02320004 is 0x00000000, then I use command
mv 0x02320008 8 1
but I check the voltage of B42. The voltage of B42 is still low. I don't know if there is error in my operations. Who can give me some suggestions? Thank you!