Cannot Launch WinCE6.0 OS in 9261EK

This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.

Moderator: nferre

judy
Location: Taiwan
Posts: 5
Joined: Thu Jun 12, 2008 3:29 am

Cannot Launch WinCE6.0 OS in 9261EK

Thu Jun 12, 2008 3:38 am

Hi,

We are developing an Application on Atmel9261_EK.
We install the OS based on the Sample Downloaded from
ftp:\\81.252.41.10, it is an Envalation Version.
It works fine in Atmel9261_EK, however when we try to add
more wince6.0 OS categories, like International categories or
add subprojects it shows ."jumping to starting address 0x2005a000"
and never run properly.

After we built the OS with International Categories, there is no any
warning from PB, it is success! The Image is not over than 32MB.
Can anybody know what's wrong with it ?

I tried to adjust Config.bib to 03000000 of RAMING, but get the same
error.

Judy
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Fri Jun 13, 2008 8:19 am

Dear Judy,

Can we have more information on your environment?

You have built a new NK.bin and then are you downloading it via ethernet or do you flash the new .nb0 binary file with SAM-BA?

Can you attach us the output log from your debug serial port for more information on your system?

Kind Regards
Adeneo Support Team
judy
Location: Taiwan
Posts: 5
Joined: Thu Jun 12, 2008 3:29 am

Sat Jun 14, 2008 4:48 pm

The Procedures I have Done as Follow:

1.I copy At91SAM9261EK_BIN_DEMO file to C:\Wince600\OSDesign\At91SAM9261EK_BIN_DEMO
2. I add some OS Categories, like International,
3. At Project Properties :
(a) Build Type: Release
(b) Local: Chinese-Taiwan, Default Local: Chinese-Taiwan
(c) Build Option: Only Check "Enable eboot space in memory"
(d) Environment: fake_strongarm = 1, fake_idle = 1
(e) Custom Build Option: //None
(f) Subject Image Settings: //None

4. Then, Build the OS, it is success.
5. I follow the procedures downloaded from Atmel WebSite: "WinCE6_demo.ppt"
(a) Use SAM-BA to download firstboot.nb0 at dataflash
(b) type 0x5000 to download eboot.nb0 at Dataflash
(c) Init, Clear NandFlash and download NK.nb0 which I just customed.
(d) Close SAM-BA, remove USB cable.
(e) Connect the Serial Debug Port,
Select 5: enter 181, enter 2
Select 7: Launch existing flash resident image at startup
Select n, "Nand Flash menu" --- Select 2: Physical start address: enter, Starting Ip: enter,, Total ROM Size: 0x01707b7c
(f) Select 7--> Lanch from existing flash.....

Then I got the error message: jumping to starting address 0x2005a000" , and nothing happend.

Actually, I tried many times to add other OS components, I got the same error message.
However if I just add very little OS compoents, it works fine again in the same procedures.
But the platform builder do not warn me that my OS over than 32MB.

Below is the Debug Information for your reference.
===================================================
dwNRD_SETUP 0
dwN
dwNCS_RD_SETUP 0
dwN
dwNWE_PULSE 28
dwN
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 40
dwNCS_WR_PULSE 60
dwNRD_PULSE 40
dwNCS_RD_PULSE 60
dwNRD_CYCLE 60
dwNWE_CYCLE
FMD_GetBlockStatus::Logical block 0x43C is marked as bad
FMD_GetBlockStatus::Logical block 0x43C is marked as bad
Master Clock is 49925541 Hz
Master Clock is 49925541 Hz
Display mode #0, 240x320x16bpp @ 0hz
Frame buffer is Uncached
Master Clock is 49925541 Hz
TOUCH:ThrdPrio = 100, ThrdHighPrio = 100
M 1
2002,2078 24,-15M 3109,1065 3102,1042 -7,-23M 3098,1039 3123,1038 25,-1M
927,3302 948,3299 21,-3M 948,3299 949,3278 1,-21Maximum Allowed Error 16:
Maximum Allowed
RomBOOT
>
INFO : Low Level Init : OK
Dataflash init OK
Starting eboot ...
aster Clock is 48060170 Hz
Press [ENTER] to launch image stored in flash or [SPACE] to cancel.
Initiating image launch in 4 seconds

Ethernet Boot Loader Configuration :

0) Mac address .......... (00:12:72:72:20:20)
1) Ip address ........... (192.168.111.11
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Enabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 181, bus divider 2)
6) Download image to
7) Launch existing flash resident image at startup

l) Launch flash resident image now
d) Download from ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>
Ethernet Boot Loader Configuration :

0) Mac address .......... (00:12:72:72:20:20)
1) Ip address ........... (192.168.
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Enabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 181, bus divider 2)
6) Download image to SDRAM
7) Download new image at startup

l) Launch flash resident image now
d) Download from ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>
Enter new Core Frequency (old frequency is 181 MHz)
Enter new Bus divider (old divider is 2)
Ethernet Boot Loader Configuration :

0) Mac address .......... (00:12:72:72:20:20)
1) Ip address ........... (192.168.111.115)
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Enabled)
4) Boot delay (seconds).. (5
5) Frequency settings ... (core at 181, bus divider 2)
6) Download image to SDRAM
7) Download new image at startup

l) Launch flash resident image now
d) Download from ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>Master Clock is 49925541 Hz
---------------------------------------
--- Configuring Chip Select 3 ---
---------------------------------------
--- Desired timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 28
dwNCS_WR_PULSE 42
dwNRD_PULSE 28
dwNCS_RD_PULSE 42
dwNRD_CYCLE 56
dwNWE_CYCLE 56
dwClockPeriod_ns 20
---------------------------------------
--- Real timings ---
-------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 40
dwNCS_WR_PULSE 60
dwNRD_PULSE 40
dwNCS_RD_PULSE 60
dwNRD_CYCLE 60
dwNWE_CYCLE 60
->LoadBlocksInfo
LoadBlocksInfo::g_pBlocksInfo : 0x80050000
<-LoadBlocksInfo

Image Flash Menu :
1) Erase all sectors
2) Enter manually the image parameters
3) Quit...
>2
Enter the information found in the build report of the 'Make Image'. [entering 0
keeps present value]
Physical Start Address : (0x80059000) : 0x
Starting ip : (0x8005a000) : 0x
Total ROM size : (0x1707b7c) : 0x

Image Flash Menu :
1) Erase all sectors
2) Enter manually the image parameters
3) Quit...
>3

Ethernet Boot Loader Configuration :

0) Mac address .........
1) Ip address ........... (192.168.111.115)
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Enabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 181, bus divider 2)
6) Download image to SDRAM
7) Download new image at startup

l) Launch flash resident image now
Starting ip : (0x8005a000) : 0
d) Download from ethernet now
l) Launch flash re
s) Save configuration now: (0x75144c) : 0x01707b7c
r) Restore default configuration and save now
n) Image flash menu
New Image
>System ready!tart 0x8005900
Preparing for download...
Initialize image flash .......OKnfiguration and
Launching windows CE image by jumping at address 0x2005a000RomBOOTac address .......... (00:12:72:72:20:20)
>
INFO : Low Level Init : OK.
>3

Ethernet
Dataflash init OK
1) Ip ad
Starting eboot ...192.168.111.115)
aster Clock is 48060170 Hz

0) Mac addre
Press [ENTER] to download now or [SPACE] to cancel.Subnet Mask address .. (255.255.255.0)
Initiating image download in 1 secondss ........
3) DHCP

Ethernet Boot Loader Configuration
2) S
d) Dow
7) Download new image at startup
------------

l) Launch flash resident image now
---
d) Download from ethernet now ---el Init : OK
s) Save configuration now

---------
r) Restore default configuration and save now
n) Image flash menudwNWE_SETUP 40
>a
Ethernet Boot Loader Configuration :
dwNCS_WR_SETUP 2

4) Boot delay (seconds).. (5)S_WR_SETUP 20
5) Frequency settings ... (core at 181, bus divider 2) 40
dwNCS_RD_SETUP 20t delay
6) Download image to SDRAM
dwN
7) Launch existing flash resident image at startupS_WR_PULSE 80 (core at 200, bus

l) Launch flash resident image now 80
dwNCS_RD_P
d) Download from ethernet now) Download i
dwN
s) Save configuration now
7
dwNWE_CYCL
r) Restore default configuration and save now
*** Initialization of the DM9000 Etherne
n) Image flash menu
>System ready!
Preparing for dod f
dwNWE_PULSE 28
dw
dwNCS_WR_PULSE 42er Configuration
dwNRD_PULSE 28
dwN
dwNCS_RD_PULSE 42


dwNRD_CYCLE 56160... (00:12:72:72
dwNWE_CYCLE
dwClockPeriod_ns 20ns 20
--------------------------------------------.168.
dwNCS_RD_SETUP 0
dwNWE_PULSE 400
dwNCS_WR_PULSE 60ETUP 40 (core
dwNRD_PULSE 40
dwNCS_RD_PULSE 60ETUP 20
dwNRD_CYCLE 60E 80
dwNWE_CYCLE 60d i
dw
->LoadBlocksInfo
LoadBlocksInfo::g_pBlocksInfo : 0x80050000
dwNC
<-LoadBlocksInfo
OKwN
Launching windows CE image by jumping at address 0x2005a000RomBOOT
dwNWE_CYCLE 160
>Ma
Check if the ch
>
INFO : Low Level Init : OKized
Dataflash init OK
-------
Starting eboot ...-------------
aster Clock is 48060170 Hz

1) Ip address ........... (192.168.111.115)
2) Subnet Mask address .. (255.255.255.0)P 0
Initiating ima
3) DHCP ................. (Enabled)
dwNR
4) Boot delay (seconds).. (5)
Master Clock is 49925541 H
5) Frequency settings ... (core at 181, bus divider 2)--------------------------------ULSE 42
6) Download image to SDRAM
dwNRD_PULS
7) Launch existing flash resident image at startup
dw

l) Launch flash resident image nowLSE 80
dwN
n) Image flash
dwNWE_CYCLE
>Master Clock is 49925541 Hz_CYCLE
dwClockPer
---------------------------------------
---------------------------
--- Configuring Chip Select 3 ---
LoadBlocksInfo::g_
---------------------------------------ings ---
--- Desired timings ---
------------------------------------
---------------------------------------
1) Erase all sectors
dwNWE_SETUP 0 40
dwNCS_WR_SETUP 0ually
dwNRD_SETUP 0 20
dwNCS_RD_SETUP 0 403) Quit...
dwNWE_PULSE 28
>
INFO :
dwNCS_WR_PULSE 42
dwNRD_PULSE 28_ns 20
dwNCS_RD_PULSE 42t OK
dwNRD_CYCLE .
---
dwNCS_RD_SETUP 0ystem ready!------
dwNWE_PULSE 40
Prepa
dwNCS_WR_PULSE 60
dwNRD_PULSE 40
Initialize image
dwNCS_RD_PULSE 60Clock is 49925541 H
dwNRD_CYCLE 60
dwNWE_CYCLE 60
->LoadBlocksInfo default
LoadBlocksInfo::g_pBlocksInfo : 0x80050000-------
<-LoadBlocksInfo
--- Configuring

Image Flash Menu : ---rnet Boot Load
1) Erase all sectors
2) Enter manually the image parameters
dwNCS_WR_PULSE 42
3) Quit..
4) Boot delay (seconds).. (5)UP 0
d
5) Frequency settings ... (core at 181, bus divider 2)
dwNCS_RD_SETUP 0
6) Download image to SDRAM
dwNCS_WR_PULS
7) Launch existing flash resident image at startup
dwNCS_RD_PULSE 60

l) Launch flash resident image now
dwNWE_CYCLE 60
d) Download from ethernet now
LoadBlocksInfo:
s) Save configuration now0
r) Restore default configuration and save now
OK

4) Boot delay (seconds).. (5)

Press [ENTE
5) Frequency settings ... (core at 200, bus divider 4)
Initiating image
6) Download image to SDRAM
7) Download new image at startupConfiguration :

l) Launch flash resident image now.......... (00:12:72:72:20:20)
d) Download from ethernet now
1) Ip address ...
s) Save configuration now
r) Restore default configuration and save now255.255.255.0)
7
2) Subnet Mask address .. (255.255.255.0)

l) Launch flash re
3) DHCP ................. (Enabled)
d) Download from ethernet no
4) Boot delay (seconds).. (5)
s) Save configuration now
5) Frequency settings ... (core at 200, bus divider 4) and s
6) Download image to SDRAM
>
Enter
7) Launch existing flash resident image at startup

l) Launch flash resident image nower is 4) 2
d) Download from ethernet nowot Loader Configuration :
s) Save configuration now

0) Mac address ..
r) Restore default configuration and

2) Subnet Mask address .. (255.255.255.0)Launch flash resident image now
3) DHCP ................. (Enabled) from ethernet now
4) Boot delay (seconds).. (5)tion now
5) Frequency settings ... (core at 181, bus divider 2)
n) Image flas
6) Download image
Ethernet Boot Loader censored
7) Launch existing flash resident image at startup) Mac address .......... (00:12:72:72:20:20)

l) Launch flash resident imag

n) Image flash menu
>4
Image Flash Menu :ds).. (5)
1) Erase all sectors5) Frequency setting
2) Enter manually the image parameters
3) Quit...
6) Downlo
>2im
Enter the information found in the build report of the 'Make Image'. [entering 0 startup

l) Launch flash resi
keeps present value]
Physical Start Address : (0x80059000) : 0x
s) Save configuratio
Starting ip : (0x8005a000) : 0x) Restore default configuration
Total ROM size : (0x75144c) : 0x01707b7c
n) Image flash menu
New Image parameters : Start 0x80059000 Entry 0x8005a000 Length 0x1707b7c---------------------------------------

Image Flas
0) Mac address .......... (00:12:72:72:20:20)------------
1) Ip address ........... (192.168.111.115)dwNCS_WR_SETUP 0
dwNRD_
2) Subnet Mask address .. (255.255.255.0)
dwNWE_PULSE 28
3) DHCP ................. (Enabled)
dwNRD_PULSE 28
4) Boot delay (seconds)..
dwN
5) Frequency settings ... (core at 181, bus divider 2)
dwClockPeriod_ns 20
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>
Ethernet Boot Loader Configuration :

0) Mac address .......... (00:12:72:72:20:20)
1) Ip address ........... (192.168.111.115)
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Enabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 181, bus divider 2)
6) Download image to SDRAM
7) Launch existing flash resi

l) Launch flash resident image now
d) Download from ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>System ready!
Preparing for download...
Initialize image flash .......OK
Launching windows CE image by jumping at address 0x2005a000
RomBOOT
>
INFO : Low Level Init : OK
Dataflash init OK
Starting eboot ...
aster Clock is 48060170 Hz
Press [ENTER] to launch image stored in flash or [SPACE] to cancel.
Initiating image launch in 4 seconds

Ethernet Boot Loade

0) Mac address .......... (00:12:72:72:20:20)
1) Ip address ........... (192.168.111.115)
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Enabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 181, bus divider 2)
6) Download image to SDRAM
7) Launch existing flash resident image at startup

l) Launch flash resident image now
d) Download from ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>Master Clock is 49925541 Hz
---------------------------------------
--- Configuring Chip Select 3 ---
---------------------------------------
--- Desired timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 28
dwNCS_WR_PULSE 42
dwNRD_PULSE 28
dwNCS_RD_PULSE 42
dwNRD_CYCLE 56
dwNWE_CYCLE 56
dwClockPeriod_ns 20
---------------------------------------
--- Real timings ---
-------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 40
dwNCS_WR_PULSE 60
dwNRD_PULSE 40
dwNCS_RD_PULSE 60
dwNRD_CYCLE 60
dwNWE_CYCLE 60
->LoadBlocksInfo
LoadBlocksInfo::g_pBlocksInfo : 0x80050000
<-LoadBlocksInfo

Image Flash Menu :
1) Erase all sectors
2) Enter manually the image parameters
3) Quit...
>2
Enter the information found in the build report of the 'Make Image'. [entering 0
keeps present value]
Physical Start Address : (0x80059000) : 0x
Starting ip : (0x8005a000) : 0x
Total ROM size : (0x1707b7c) : 0x

Image Flash Menu :
1) Erase all sectors
2) Enter manually the image parameters
3) Quit...
>3

Ethernet Boot Loader Configuration :

0) Mac address .......... (00:12:72:72:20:20)
1) Ip address ........... (192.168.111.115)
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Enabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 181, bus divider 2)
6) Download image to SDRAM
7) Launch existing flash resident image at startup

l) Launch flash resident image now
d) Download from ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>System ready!
Preparing for download...
Initialize image flash .......OK
Launching windows CE image by jumping at address 0x2005a000
JohnKing
Posts: 1
Joined: Mon Jun 16, 2008 2:29 am

Mon Jun 16, 2008 2:37 am

Hi,I met the same question.
Who can tell me the reason?
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Mon Jun 16, 2008 8:10 am

Hi everybody,

First of all, why are you using SAM-BA to flash the Windows CE image in the Nandflash and not the Platform builder download over ethernet?

The best way to flash a new NK.nb0 is to select option 6) "Download image to Flash" in the bootloader and then press d) to download a new image and write it in the Nandflash.

The other question is which version of the SAM-BA software are you using? The Adeneo BSP is not compatible with SAM-BA v2.6 or earlier, you have to use an older version to write in the Nandflash.

Kind Regards
Adeneo Support Team
judy
Location: Taiwan
Posts: 5
Joined: Thu Jun 12, 2008 3:29 am

Mon Jun 16, 2008 2:04 pm

Hi,
Thank you for your recommends, but I still have problems installing OS.
I uninstall SAM-BA 2.6, and install SAM-BA 2.7.

I rebuild the OS copy from WinCE6_Demo, and uncheck all the compoents
of Media category.

I tried to download image from PlatformBuilder, select 6)"Download &
d) to download image.... Waiting to messages of "BOOTME to
255.255.255.255". In PB Select Target->Target Device Connectivity
-> both download/transport select Ethernet, and setting -> SAM9261_xx
then Target -> Attach Device.

Then In the PB Output Windows:
"PB Debugger Warning: Debugger service map is set to none. If your
image has debugging support it may not boot properly.." And Nothing
downloaded from PB.

I have no choice but use SAM-BA 2.7 to flash my customed NK.nb0.
It works fine in this version.

But when I try to localize the OS, I got the same error message.
.....Jumping to 0x2005a000 and nothing happen.

Can you help to custom the OS by adding the following components:

-International
* Input Method Manager
* National Language Support
- Local Specific Support
- Chinese(Tradition)
* East Asia Edit Control
* East Asia Word Wrap
-Fonts
* MingLinU & PMingLiu
-Input Method Editor
* Pocket IME
- Input Method
* Phonetic Input

and Look for does it works in your site?
Very much thanks for this great help.

Best Regards,
Judy
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Wed Jun 18, 2008 9:34 am

Hello,

If you want to use SAM-BA you have to use SAM-BA v2.5 or inferior.

In order to download your image via Ethernet, can you try to select KdStub in the field Debugger in your Target->Connectivity Options. After that you should be able to download your image using KITL.

Kind Regards,
Adeneo support team

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 1 guest