From mboxrd@z Thu Jan 1 00:00:00 1970 From: thaoth Date: Thu, 11 Sep 2008 00:41:42 -0700 (PDT) Subject: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit In-Reply-To: <48C87F9C.2080202@renesas.com> References: <18868090.post@talk.nabble.com> <29ab51dc0808071835u6248f23fyfc55165edf63497e@mail.gmail.com> <18887349.post@talk.nabble.com> <19411908.post@talk.nabble.com> <20080910211346.c79dbdc8.iwamatsu@nigauri.org> <48C87F9C.2080202@renesas.com> Message-ID: <19429512.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.