dear all,
since I posted several days ago about 128 sdram configuration,
I did not work it out anymore,there must be some mistakes i have not
found yet,so i need u help guys..
okay,the platform is following:
CPU : Xscale pxa255
OS : Windows CE .Net 4.2
Flash : 32MB
SDRAM : 128MB (32MBX4)

well,to configure my 128M sdram,I modified some files below:
F:\WINCE420\PLATFORM\XSBase255\INC
memmap.inc
F:\WINCE420\PLATFORM\XSBase255\INC
memdefs.h
F:\WINCE420\PLATFORM\XSBase255\FILES
config.bib
F:\WINCE420\PLATFORM\XSBase255\INC
xsc1.inc
xsc1.h
xsc1bd.inc
xsc1bd.h
F:\WINCE420\PLATFORM\XSBase255\KERNEL\HAL\ARM
fwxsc1.s

when all of modifies had done,I download the NK.bin,
and the debug information shows:

rom_offset=0x0.
Found pTOC signature.
ROMHDR at Address 800B8044h
RomHdr.ulRAMStart=81C50000h RomHdr.physfirst=800B8000h.
Done.
Writing 0x80076BD8 to flash address 0xB8340000 (length=0xA40).
Sector=0x200 (Length=0x6) Block=0x1 (Length=0x1).
Handling non-block aligned data...
FlashErase: Unlocking flash block(s) [0x1, 0x1] (please wait): Done.
Erasing flash block(s) [0x1, 0x1] (please wait): .Done.
Writing to flash (please wait): Done.
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
Download successful! Jumping to image at physical 0xA00B9000...
Begin
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
OEMInitDebugSerial using UART2
Windows CE Kernel for ARM Built on Mar 13 2003 at 22:54:19
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
800b9ef4

as u see,my system hung at last,
if in normal,sp=ffffc7cc should be printed behind
OEMAddressTable = 800b9ef4
but now,system hung there....

could u give me some suggestions?
thank u in advance.

Re: pxa255 and the sdram problem by blueYork

blueYork
Sun May 11 18:35:40 PDT 2008

hi everyone,
since I modified the file below,
F:\WINCE420\PLATFORM\XSBase255\KERNEL\HAL\ARM
fwxsc1.s
should I reflash my eboot?
I have not do that yet,is it the problem?

Re: pxa255 and the sdram problem by Rameshchandra

Rameshchandra
Tue May 13 09:48:01 PDT 2008

Hi...

This is your retail message output in serial port...

Build a debug image and then try to connect kitl and then see where it
exactly hangs..
--
Ramesh.c


"blueYork" wrote:

> hi everyone,
> since I modified the file below,
> F:\WINCE420\PLATFORM\XSBase255\KERNEL\HAL\ARM
> fwxsc1.s
> should I reflash my eboot?
> I have not do that yet,is it the problem?
>

Re: pxa255 and the sdram problem by blueYork

blueYork
Tue May 13 17:37:58 PDT 2008

Thank u for your reply,Rameshchandra
I will have a try.
actually,you are the guy which I really looking for,
besides the 128 sdram configuration problem,
I also have to develop my emdoor board of pxa255 from ce4.2 to ce5.0,
since I searched here,I am so surprised that you had done it before.
so I wrote a mail to you which I doubt that u never got it.
now,I am so glad that u amazingly appeared here,
would u please write to me privately if possible?
I really need your help, cos my task are a little more urgent.
thank u very much.
my mail:yaoronger@tom.com

Re: pxa255 and the sdram problem by Rameshchandra

Rameshchandra
Tue May 13 21:39:01 PDT 2008

Hi,

I have not received your mail... I am ready to help you...But you have to
try your level best to solve your problem to maximum.. if it is not possible
and if you are in serious trouble then surely there are lot of peoples around
here to help.

Try to create a debug image and then dump in your boards RAM. Check out
where it really hangs out...I think you probably built a retail image first
before knowing whether your image works or not.

Refer to the Platform builder documentations on how to use the build menu
efficiently. I think your board is up with Eboot....
After building debug image if you get any serious problem and if you can not
solve any more... then post your debug output here... let's see where is your
problem..

Once your board is up with wince 4.2, then migrating it to 5.0 is not a big
task.. get platform builder 5.0, modify your .cec file. and then try to
compile your same wince 4.2 bsp in 5.0 platform builder...Refer to the
Wince5.0 migration documentation in platform builder... There will be only
small issues on compiling and then paths, enviromental variables etc... you
can migrate it easily...

Hope we can discuss here... so that we can get the help of some highly
experienced peoples to get us some deep knowledge...
--
Ramesh.c


"blueYork" wrote:

> Thank u for your reply,Rameshchandra
> I will have a try.
> actually,you are the guy which I really looking for,
> besides the 128 sdram configuration problem,
> I also have to develop my emdoor board of pxa255 from ce4.2 to ce5.0,
> since I searched here,I am so surprised that you had done it before.
> so I wrote a mail to you which I doubt that u never got it.
> now,I am so glad that u amazingly appeared here,
> would u please write to me privately if possible?
> I really need your help, cos my task are a little more urgent.
> thank u very much.
> my mail:yaoronger@tom.com
>

Re: pxa255 and the sdram problem by blueYork

blueYork
Wed May 14 04:55:25 PDT 2008

hi,thank u again.
I am totally agree with u.
since the board was taken away by sb to solve the 100M networks
problem,
so I can not debug it any more,and my teacher thought that i should
modified the related files,and just send the NK.bin to them to
test,then it may works.

and the migration problem,
now I have two ways to start:
one is porting my 4.2 bsp of emdoor to 5.0,
another is using a 5.0 bsp of X-board which the processor is also
pxa255
while the other hardware are different.

which way should i select?

Re: pxa255 and the sdram problem by Rameshchandra

Rameshchandra
Wed May 14 05:31:01 PDT 2008

Migrating from your working 4.2bsp to 5.0 is better.... Their will be only
less changes that you have to do compared to the other way..
--
Ramesh.c


"blueYork" wrote:

> hiï¼?thank u again.
> I am totally agree with u.
> since the board was taken away by sb to solve the 100M networks
> problem,
> so I can not debug it any more,and my teacher thought that i should
> modified the related files,and just send the NK.bin to them to
> test,then it may works.
>
> and the migration problem,
> now I have two ways to start:
> one is porting my 4.2 bsp of emdoor to 5.0,
> another is using a 5.0 bsp of X-board which the processor is also
> pxa255
> while the other hardware are different.
>
> which way should i select?
>

Re: pxa255 and the sdram problem by blueYork

blueYork
Wed May 14 06:20:00 PDT 2008

okay,thank u a lot.
now,I will start my issues.
and to be sincerely,I am a student from Nanjing University of
Aeronautics and Astronautics.
thank u for your suggestions.