Re: To test the Flash



I'm sure there is, however I don't know anything about the EJDebug tool. I
know you can do it with the Macraigor tools, thats what I've got. With
those tools, I simply set the PC to the SDRAM location and tell it to Go.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Jeyanthi Jayakumar" <JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:064250D8-C20E-4487-9A0A-E95F746EE7BA@xxxxxxxxxxxxxxxx
Thanks Dean,

Using EJDebug emulator i have downloaded the eboot into SDRAM. But now i
want it to run from the SDRAM location where it is downloaded.I have tried
with the option set PC value during reset. Even if i give the address of
PC
as the location of SDRAM it goes to the Flash start address. Is there any
procedure to Change the PC (Program counter) value to be that of SDRAM and
run from there?

Kindly help me.
Jeyanthi

"Dean Ramsier" wrote:

Use a jtag tool. You'll need a real one that allows you to configure
device
registers, download code into ram etc. The simple programs like jflash
just
manipulate CPU pins.

If you have a Macraigor jtag device, you can use their free OCD Commander
tool. You'll need to write a script that configures sdram, but then you
can download code into the sdram and run it.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Jeyanthi Jayakumar" <JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in
message news:65481EC3-474D-4433-AA54-EB3D81C1EABA@xxxxxxxxxxxxxxxx
Thanks Paul. In my application usually i will load the eboot into the
flash
using EJDebug or JFlash and after that downloading my WinCE image
(NK.bin)
into the Flash. Once it is reset Flash will launch the process from
SDRAM
which is residing outside the PXA270.

But before downloading the eboot i want to test the Flash and the
Address
and data lines.AS per ur discussions even if write a program to write
some
pattern into Flash where to run that code. Because once reset, the
Program
counter will get loaded with 0x00 which happened to be Flash area.

So i want to download this testing code to run from SDRAM. But how to
do
that?

Regards,
Jeyanthi

"Paul G. Tobey [eMVP]" wrote:

Where are your bootloader and OS stored? In the flash that you want
to
test? You realize that writing values to every location will destroy
them,
right? Generally, for testing RAM, you'd do that in the bootloader,
before
you have a full OS running, before the MMU is turned on, etc. I
suppose
that you could destroy the contents of flash as part of that same
testing
process, if you wanted to. Seems like maybe you haven't thought this
out,
though...

Paul T.

"Jeyanthi Jayakumar" <JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote
in
message news:8B1D103A-E263-4414-9482-AC913C1CA2ED@xxxxxxxxxxxxxxxx
In my application, I want to test the Flash and SRAM memory for
their
proper
working. So what we thought was to write 0xAA to all the locations
and
read
it back the values and if it is right then we can understand that
Flash
is
working fine.

But my doubt is to execute this process i need to download the code
to
SDRAM
and run from SDRAM. Is it possible to download the code to SDRAM and
run
from
ti to test the FLASH. Because i don't want to write anything into
the
flash
before it is tested. Can anyone suggest me the best method?

Thanks in advance,
Jeyanthi Jayakumar.








.



Relevant Pages

  • Re: To test the Flash
    ... Using EJDebug emulator now i have downloaded the eboot into SDRAM. ... in flash and which, on boot, copies itself to RAM and jumps to the copy. ... The code, now running from RAM, could then scan the flash for bad locations ... So i want to download this testing code to run from SDRAM. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: To test the Flash
    ... The simple programs like jflash just ... You'll need to write a script that configures sdram, ... can download code into the sdram and run it. ... into the Flash. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: To test the Flash
    ... Using EJDebug emulator i have downloaded the eboot into SDRAM. ... as the location of SDRAM it goes to the Flash start address. ... can download code into the sdram and run it. ... But before downloading the eboot i want to test the Flash and the Address ...
    (microsoft.public.windowsce.platbuilder)
  • Re: regarding boot.bib and config.bib
    ... as you said, you are able to download atleast 300 packets, that is proved. ... > boot.bib I need to give Flash address OR SDRAM Address? ... > Is nk.bin configuration in config.bib should follow eboot configuration in ...
    (microsoft.public.windowsce.embedded)
  • Re: regarding boot.bib and config.bib
    ... as you said, you are able to download atleast 300 packets, that is proved. ... > boot.bib I need to give Flash address OR SDRAM Address? ... > Is nk.bin configuration in config.bib should follow eboot configuration in ...
    (microsoft.public.windowsce.platbuilder)