Re: To test the Flash

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks Paul,
As per ur discussion that is also one option but the area where the code
resides will not get tested.

Using EJDebug emulator now 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(0x00). Is there
any procedure to Change the PC (Program counter) value to be that of SDRAM
and run from there?How to start running from SDRAM?

Kindly help me.
Jeyanthi


"Paul G. Tobey [eMVP]" wrote:

*Some* code is going to have to be running on the device to download
anything. I suppose that you could have a little piece of code that resides
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
(I'd skip the area where the program was already stored, I think!), and do
something. Or it could arrange for any test code you want to be downloaded
over the network into RAM to be executed. There is no support in Windows CE
for any of this, so you're on your own. Do it any way you want.

Another possibility would be to use JTAG to test the flash. It would be a
complicated operation, since you'd have to program the address lines out
from the processor to the flash and then the data lines to tell the flash to
erase a given block, write new data to each location, read back each
location, etc.

Paul T.

"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
    ... however I don't know anything about the EJDebug tool. ... 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. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Checksum Failure on OS download to Flash
    ... To download the kernel to flash and TRY to XIP, ... > Eboot comes configured to download the OS to RAM. ... >; @CESYSGEN ENDIF NK_NKNOCOMP ...
    (microsoft.public.windowsce.embedded)
  • Re: lots of easy questions about eboot/nk startup
    ... > You can activate compression in your image for some modules, ... not when loading from flash to RAM. ... > support download on eboot without activating kernel debugging on CE ...
    (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
    ... 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)