|
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
|