[U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

thaoth thaoth at cybersoft-vn.com
Thu Sep 11 09:41:42 CEST 2008




Yoshihiro Shimoda wrote:
> 
> Hi, thaoth.
> 
> I think that your board cannot communicate with USB device at all.
> SH7727 has EXCPGCR register. Do you set this register?
> When I used this CPU before, I did the following setting.
> 
> 	STCBR3 = 0x18;
> 	SRSTR = 0x18;
> 	wait_10msec();
> 
> 	EXCPGCR = 0x28;
> 	wait_10msec();
> 
> 	SRSTR = 0x00;
> 	STCBR3 = 0x00;
> 
Thank you very much,

Following your instruction, I did
int usb_board_init(void)
{
    printf("usb_board_init\n");

    outw(0x18, STBCR3);
    outw(0x18, SRSTR);
    udelay(10);

    outw(0x28, EXCPGCR);
    udelay(10);
	
    outw(0x00, STBCR3);
    outw(0x00, SRSTR);
    return 0;
}



> STCBR3 = 0x18;
> 
I couldn't see this register "STCBR3 ", I only saw STBCR3. Is it correct?

But UBoot didn't work, Would you please tell me more detail ? 
Thank you alot :)



-- 
View this message in context: http://www.nabble.com/-T-Engine--UBoot-configuration-for-T-Engine-SH7727-MS7727CP02-DevKit-tp18868090p19429512.html
Sent from the Uboot - Users mailing list archive at Nabble.com.



More information about the U-Boot mailing list