public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] RE: Rattler Board Flash access Problem
@ 2005-03-16 13:59 Srivatsan
  2005-03-16 14:26 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Srivatsan @ 2005-03-16 13:59 UTC (permalink / raw)
  To: u-boot

Dear all,

      We are trying to port u-boot onto Rattler board(MPC8280). We had
done the relevant porting and but are unable to test the same due to the
problem mentioned below:

We are using BDI2000 to program the Rattler board. Our configuration
file for BDI2000 (which we had written) seems ok as we were able to
access the board using INFO, RES and also was able to dump the memory
starting from the PC (program counter). But when I tried to erase the
Flash, it erased for the first time. But subsequent erase is not
happening, it says

                        COP status is 0xAD
                        #PPC:unexpected response from target
                        Check running state failed
                        Target PVR is 0x0000 0000
                        Resetting target failed  

After this error I am unable to do anything with the board. Can anyone
give me some pointers for analyzing this problem? BDI2000 didn't have
support for AM29LV641D Flash chips so I had selected AM29F type chips.
Please do excuse me if this is off the topic but I thought some people
might have faced similar problems. Hence I had mailed to this group.
Please do help me out with this problem?

I can share the BDI2000 configuration file which we had modified.

Thanks.
srivats                           

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] RE: Rattler Board Flash access Problem
  2005-03-16 13:59 [U-Boot-Users] RE: Rattler Board Flash access Problem Srivatsan
@ 2005-03-16 14:26 ` Wolfgang Denk
  2005-03-16 16:31   ` Srivatsan
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2005-03-16 14:26 UTC (permalink / raw)
  To: u-boot

In message <000301c52a30$61255300$1269cb0a@bgcw301> you wrote:
> 
> We are using BDI2000 to program the Rattler board. Our configuration
> file for BDI2000 (which we had written) seems ok as we were able to
> access the board using INFO, RES and also was able to dump the memory
> starting from the PC (program counter). But when I tried to erase the
> Flash, it erased for the first time. But subsequent erase is not
> happening, it says

You probably erased the HRCW, and then power cycled the system.

> After this error I am unable to do anything with the board. Can anyone
> give me some pointers for analyzing this problem? BDI2000 didn't have

Check your hardware documentation how to enable the default processor
configuration to allow it to come up without a valid HRWC  in  flash.
There is probably some RSTCNF jumper or similar...

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Life would be so much easier if we could  just  look  at  the  source
code.                                                   -- Dave Olson

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] RE: Rattler Board Flash access Problem
  2005-03-16 14:26 ` Wolfgang Denk
@ 2005-03-16 16:31   ` Srivatsan
  2005-03-16 16:41     ` Wolfgang Denk
  2005-03-16 17:01     ` Jerry Van Baren
  0 siblings, 2 replies; 6+ messages in thread
From: Srivatsan @ 2005-03-16 16:31 UTC (permalink / raw)
  To: u-boot

Thanks Mr.Wolfgang. That input really helped us out.

But when we power up the target (MPC8280 based Rattler board), it is
getting continuous reset. Previously with the same configuration file it
wasn't so. Do we need to make any change in the configuration file?
Again Thanks for the input.

With Thanks and Best Regards,
C.R.Srivatsan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] RE: Rattler Board Flash access Problem
  2005-03-16 16:31   ` Srivatsan
@ 2005-03-16 16:41     ` Wolfgang Denk
  2005-03-16 17:32       ` Srivatsan
  2005-03-16 17:01     ` Jerry Van Baren
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2005-03-16 16:41 UTC (permalink / raw)
  To: u-boot

In message <001001c52a45$8dbb4ea0$1269cb0a@bgcw301> you wrote:
> 
> But when we power up the target (MPC8280 based Rattler board), it is
> getting continuous reset. Previously with the same configuration file it
> wasn't so. Do we need to make any change in the configuration file?

How could I guess? I don't know your hardware,  I  don't  know  which
changes you made to port U-Boot to that hardware, I don't know if you
configured  the  BDI  correctly - I don't even know if you're talking
about the configuration file for the BDI2000 or for U-Boot...

Sorry...

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Power is danger.
	-- The Centurion, "Balance of Terror", stardate 1709.2

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] RE: Rattler Board Flash access Problem
  2005-03-16 16:31   ` Srivatsan
  2005-03-16 16:41     ` Wolfgang Denk
@ 2005-03-16 17:01     ` Jerry Van Baren
  1 sibling, 0 replies; 6+ messages in thread
From: Jerry Van Baren @ 2005-03-16 17:01 UTC (permalink / raw)
  To: u-boot

Srivatsan wrote:
> Thanks Mr.Wolfgang. That input really helped us out.
> 
> But when we power up the target (MPC8280 based Rattler board), it is
> getting continuous reset. Previously with the same configuration file it
> wasn't so. Do we need to make any change in the configuration file?
> Again Thanks for the input.
> 
> With Thanks and Best Regards,
> C.R.Srivatsan

I assume you are saying that you were successful in asserting RSTCONF 
and programming the HRCW back in.
* Is it the _correct_ HRCW?  Do you know what it was previously?
* Did you _power cycle_ the board with RSTCONF deasserted? (the HRCW 
only is read on a _power cycle_)

My experience (not with the Rattler) is that boards don't run well with 
RSTCONF asserted.  In my experience, I assert RSTCONF, program the HRCW 
(and optionally u-boot), and then _power cycle_ the board.  At that 
point, the board should be functional enough to program u-boot (or 
whatever) into it, reset, and run.

gvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] RE: Rattler Board Flash access Problem
  2005-03-16 16:41     ` Wolfgang Denk
@ 2005-03-16 17:32       ` Srivatsan
  0 siblings, 0 replies; 6+ messages in thread
From: Srivatsan @ 2005-03-16 17:32 UTC (permalink / raw)
  To: u-boot

Thanks for your help Mr.Wolfgang.

The problem was in the BDI2000 configuration file. IMMR was not
reconfigured to 0x00000000 (I was using the default value). I am really
grateful to you for the support extended.

Regards,
C.R.Srivatsan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-16 17:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 13:59 [U-Boot-Users] RE: Rattler Board Flash access Problem Srivatsan
2005-03-16 14:26 ` Wolfgang Denk
2005-03-16 16:31   ` Srivatsan
2005-03-16 16:41     ` Wolfgang Denk
2005-03-16 17:32       ` Srivatsan
2005-03-16 17:01     ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox