public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: thaoth <thaoth@cybersoft-vn.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit
Date: Thu, 11 Sep 2008 00:41:42 -0700 (PDT)	[thread overview]
Message-ID: <19429512.post@talk.nabble.com> (raw)
In-Reply-To: <48C87F9C.2080202@renesas.com>




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.

  reply	other threads:[~2008-09-11  7:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 11:03 [U-Boot-Users] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit thaoth
2008-08-08  1:35 ` Nobuhiro Iwamatsu
2008-08-08  7:51   ` thaoth
2008-08-08  8:59     ` Nobuhiro Iwamatsu
2008-08-20  4:02       ` [U-Boot] " thaoth
2008-08-20  7:40         ` Nobuhiro Iwamatsu
2008-08-21  7:26           ` thaoth
2008-08-21  9:54             ` thaoth
2008-08-21 11:27               ` thaoth
2008-09-03  3:48           ` thaoth
2008-09-10 11:51       ` thaoth
2008-09-10 12:13         ` Nobuhiro Iwamatsu
2008-09-11  2:17           ` Yoshihiro Shimoda
2008-09-11  7:41             ` thaoth [this message]
2008-09-11 12:00               ` Yoshihiro Shimoda
2008-09-12  5:46                 ` thaoth
2008-09-12  6:44                   ` Yoshihiro Shimoda
2008-09-12 10:05                     ` thaoth
2008-09-12 10:53                       ` Yoshihiro Shimoda
2008-09-12 10:58                         ` thaoth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19429512.post@talk.nabble.com \
    --to=thaoth@cybersoft-vn.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox