
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 :)