Meet a Trouble upload a ce Image without using Platform Buil

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

Moderator: nferre

misswhile
Posts: 8
Joined: Thu Jul 29, 2010 1:21 pm

Meet a Trouble upload a ce Image without using Platform Buil

Fri Aug 06, 2010 9:32 am

I have install AT91SAM9260EK_CE6.0_Source_v110 and after compile,get FIRSTBOOT.nb0 EBOOT.nb0 and nk.bin nk.nb0,
first,i program FIRSTBOOT.nb0 EBOOT.nb0 to nand flash, nand load nk.bin using Platform Builer. Then reboot the board,every thing is ok,the startup message as belown:
Press [ENTER] to download now or [SPACE] to cancel.
Initiating image download in 1 seconds

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 180, bus divider 2)
6) Download image to Flash
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
>System ready!
Preparing for download...
Initialize image flash .......OK
Launching windows CE image by jumping at address 0x20068000Master Clock is 48049-?I5??偅с5)
1.1.0 for the AT91SAM9260EK board (built Aug 4 2010)
Adaptation performed by ADENEO (c) 2005
+OALIntrInit
+SOCPioIntrInit()
-SOCPioIntrInit()
-OALIntrInit(rc = 1)
Initialize driver globals Zeros area...
pDrvGlobalArea 0x80058000 size 0x800 (0x80058800 -0x80058000)
Initialize driver globals Zeros area...done
iter Clock is 89846016 Hz
---------------------------------------
--- Configuring Chip Select 1 ---
---------------------------------------
--- Desired timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 0
dwNCS_WR_PULSE 0
dwNRD_PULSE 0
dwNCS_RD_PULSE 0
dwNRD_CYCLE 0
dwNWE_CYCLE 0
dwClockPeriod_ns 12
---------------------------------------
--- Real timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 0
dwNCS_WR_PULSE 0
dwNRD_PULSE 0
dwNCS_RD_PULSE 0
dwNRD_CYCLE 0
dwNWE_CYCLE 0
OALTimerInit
+OALTimerInit
Master Clock is 89846016 Hz
Test : 0x15ef
g_oalTimer.msecPerSysTick : 0x1
g_oalTimer.countsPerMSec : 0x15ef
g_oalTimer.countsMargin : 0x0
g_oalTimer.maxPeriodMSec : 0xb9
g_oalTimer.countsPerSysTick : 0x15ef
g_oalTimer.actualMSecPerSysTick : 0x1
g_oalTimer.actualCountsPerSysTick : 0x15ef
g_oalTimer.curCounts : 0x0
Master Clock is 89846016 Hz
-OALTimerInit
pDrvGlobalArea->bEboot == TRUE. Forcing Clean Object store
+OEMPowerManagerInit
-OEMPowerManagerInit
OALKitlStart
Firmware Init Done.
+OEMInitWatchDogTimer
AT91SAM926x_DispWatchDog 3fff2fff!
AT91SAM926x_SetWatchDogConfiguration 20000 => 5120
Clipping The Watchdog period to the maximum : 0xFFF (15996 ms)
-OEMInitWatchDogTimer (result = 15996)
+OALIoCtlHalInitRTC(...)
setrealtime 3062694400
-OALIoCtlHalInitRTC(rc = 1)
Handle Event:0x1530003, sysintr=0x10Master Clock is 89846016 Hz
---------------------------------------
--- Configuring Chip Select 3 ---
---------------------------------------
--- Desired timings ---
---------------------------------------
dwNWE_SETUP 20
dwNCS_WR_SETUP 0
dwNRD_SETUP 20
dwNCS_RD_SETUP 0
dwNWE_PULSE 28
dwNCS_WR_PULSE 80
dwNRD_PULSE 28
dwNCS_RD_PULSE 60
dwNRD_CYCLE 94
dwNWE_CYCLE 56
dwClockPeriod_ns 12
---------------------------------------
--- Real timings ---
---------------------------------------
dwNWE_SETUP 24
dwNCS_WR_SETUP 0
dwNRD_SETUP 24
dwNCS_RD_SETUP 0
dwNWE_PULSE 36
dwNCS_WR_PULSE 84
dwNRD_PULSE 36
dwNCS_RD_PULSE 60
dwNRD_CYCLE 96
dwNWE_CYCLE 84
FMD_GetBlockStatus::Logical block 0xF9 is marked as bad
FMD_GetBlockStatus::Logical block 0x1D2 is marked as bad
FMD_GetBlockStatus::Logical block 0x1F8 is marked as bad
FMD_GetBlockStatus::Logical block 0xF9 is marked as bad
FMD_GetBlockStatus::Logical block 0x1D2 is marked as bad
FMD_GetBlockStatus::Logical block 0x1F8 is marked as bad
SPIDriver - SPI_Init - Context: Drivers\Active\03
SPIDriver - SPI_Init - Context: Drivers\Active\04
SPIDriver - SPI_Init - Context: Drivers\Active\05
SPIDriver - SPI_Init - Context: Drivers\Active\06
USB:OhcdPdd_Init
++InitializeOHCI
--InitializeOHCI
ERROR: OALIoCtlHalGetDeviceInfo: Device doesn't support IOCTL_HAL_GET_DEVICE_INFO::SPI_GETUUID
UfnClientLib!UfnCheckPID: WARNING -- using MS reference platform VID/PID 0x045e/0x00ce (not allowed in shipping platforms)
Master Clock is 89846016 Hz
PLLA Clock is 179692032 Hz
Master Clock is 89846016 Hz
cable attached
NDISPWR:: Found adapter [EMACB1]



but if i program the FIRSTBOOT.nb0 EBOOT.nb0 as above,but load the nk.nb0 to nand addresss at 0x60000 using SAMBA. reboot the borad ,in eboot, i have edit the image parameters as given at the end of a “Make A run time image”, aftern this step, reboot the board,and get the message as belown:
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 180, 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
IsValidBlock_Sect : Invalid blockFMD_DirectRead: Invalid block at sector 100IsValidBlock_Sect : Invalid blockFMD_DirectRead: Invalid block at sector 140IsValidBlock_Sect : Invalid blockFMD_DirectRead: Invalid block at sector 180IsValidBlock_Sect : Invalid blockFMD_DirectRead: Invalid block at sector 1c0IsValidBlock_Sect : Invalid blockFMD_DirectRead: Invalid block at sector 200IsValidBlock_Sect :
misswhile
Posts: 8
Joined: Thu Jul 29, 2010 1:21 pm

Re: Meet a Trouble upload a ce Image without using Platform Buil

Fri Aug 06, 2010 9:41 am

I alse try upload ce iamge using tftp ,and use pumpKin, i got this mseeage in the pumpKin:
Invalid opcode in initial connection requres

if you have any idea, pls help me.
Thank you!
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: Meet a Trouble upload a ce Image without using Platform Buil

Tue Aug 10, 2010 12:01 pm

Hi misswhile,

For the first issue (download via VS2005) please note that if you have enabled KITL (in release or debug), you must deselect the Ethernet driver in the catalog because KITL uses its own Ethernet driver which conflicts with the BSP driver.

For the second issue (SAM-BA programming), before trying booting from Flash, you must set the image settings in the 'n' menu of EBOOT. You can find these information in the output window, after an image build.

HTH

If this answer solves your problem, please edit the subject of this post by adding [Solved] at the beginning of the subject.

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 0 guests