AT91SAM9G45 EK: WinCE6 doesn't launch

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

Moderator: nferre

feinle
Posts: 3
Joined: Fri Apr 03, 2009 12:58 pm

AT91SAM9G45 EK: WinCE6 doesn't launch

Fri Sep 10, 2010 1:52 pm

Hello,

using the adeneo bsp 1.4.0 for the AT91SAM9G45 (AT91SAM9G45M10EK_SRC_CE6_v140.msi), I built a winCE6 Image for
the evaluation board AT91SAM9G45-EKES.

I stored the bootloader into dataflash, and downloaded the image to NAND flash using the bootloader-routines and tftp transfer.

When the board reboots, I get data abort exceptions just after the kernel is started.
I added the debug output to provide additional information.

Do I have to adapt the bsp to run on the evaluation board hardware?
What else can be the reason for this?
Btw. the binary image provided with the BSP is working fine.


Thanks in advance.




==============================================

Press [ENTER] to launch image stored in flash or [SPACE] to cancel.
Initiating image launch in 0 seconds
System ready!
Preparing for download...
dwFlashLogicalAddress: e0200000
OK
dwFlashLogicalAddress: e0200000
OK
Launching windows CE image by jumping at address 0x7006d000Windows CE Kernel for ARM (Thumb Enabled) Built on Oct 20 2009 at 18:39:19
Exception 'Data Abort' (4): Thread-Id=005e0002(pth=850eb4d4), Proc-Id=00400002(pprc=81b58308) 'NK.EXE', VM-active=00400002(pprc=81b58308) 'NK.EXE'
PC=c004c1dc(k.coredll.dll+0x0002c1dc) RA=00000000(???+0x00000000) SP=d00af91c, BVA=00000000
Exception 'Data Abort' (4): Thread-Id=01ce0002(pth=84f1960c), Proc-Id=00400002(pprc=81b58308) 'NK.EXE', VM-active=01c40002(pprc=84f0f3c0) 'udevice.exe'
PC=c004c1dc(k.coredll.dll+0x0002c1dc) RA=00000000(???+0x00000000) SP=d068fb70, BVA=00000000
Exception 'Data Abort' (4): Thread-Id=01ce0002(pth=84f1960c), Proc-Id=00400002(pprc=81b58308) 'NK.EXE', VM-active=01c40002(pprc=84f0f3c0) 'udevice.exe'
PC=c004c1dc(k.coredll.dll+0x0002c1dc) RA=00000000(???+0x00000000) SP=d068f298, BVA=00000000
....
....
....
and so on....
feinle
Posts: 3
Joined: Fri Apr 03, 2009 12:58 pm

Re: AT91SAM9G45 EK: WinCE6 doesn't launch

Mon Sep 13, 2010 5:07 pm

I built a debug image. Here are some excerpts. Unfortunately, I don't have the referred source files (e.g. private\winceos\COREOS\filesys)


14358 PID:400002 TID:680002 FSDMGR!AutoLoadFileSystems: CurrentBootPhase=2, LoadFlags=1
14363 PID:400002 TID:680002
Initializing Database
14367 PID:400002 TID:680002 Exception 'Data Abort' (4): Thread-Id=00680002(pth=850cfb08), Proc-Id=00400002(pprc=81dd8aa0) 'NK.EXE', VM-active=00400002(pprc=81dd8aa0) 'NK.EXE'
14368 PID:400002 TID:680002 PC=c012377c(k.coredll.dll+0x0006377c) RA=c0123734(k.coredll.dll+0x00063734) SP=d00bf650, BVA=00000000

14961 PID:400002 TID:9f0002 FSDMGR!AutoLoadFileSystems: CurrentBootPhase=2, LoadFlags=2
14964 PID:400002 TID:680002 ERROR: C:\ymzki\private\winceos\COREOS\filesys\dbase\.\dbase.c line 697:
14964 PID:400002 TID:680002 FS: Heap Exception Handler
14964 PID:400002 TID:680002 ERROR: C:\ymzki\private\winceos\COREOS\filesys\dbase\.\initdb.c line 516:
14965 PID:400002 TID:680002 Couldn't create DB DB_notify_events on line 335
14965 PID:400002 TID:680002 Filesystem initialized!


PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\G45-01\G45-01\RELDIR\G45-01_ARMV4I_DEBUG\NOTIFY.DLL'
18244 PID:400002 TID:1de0002 APISCreateAPIHandle: pvData == NULL
18244 PID:400002 TID:1de0002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 9 (Name="$udevice_0003", MountFlags=0x101)
18249 PID:400002 TID:c20002 OSAXST1: >>> Loading Module 'notify.dll' (0x8379C4C8) at address 0x40150000-0x4016C000 in Process 'NK.EXE' (0x81DD8AA0)
18284 PID:1dd0002 TID:c20002 OSAXST1: >>> Loading Module 'notify.dll' (0x8379C4C8) at address 0x40150000-0x4016C000 in Process 'udevice.exe' (0x8378A3C0)
18673 PID:1dd0002 TID:c20002 [NOTIFY] Module loaded
18677 PID:1dd0002 TID:1f70002 [NOTIFY] Initializing.
18679 PID:400002 TID:1f70002 Exception 'Data Abort' (4): Thread-Id=01f70002(pth=8379c82c), Proc-Id=00400002(pprc=81dd8aa0) 'NK.EXE', VM-active=01dd0002(pprc=8378a3c0) 'udevice.exe'
18680 PID:400002 TID:1f70002 PC=c012377c(k.coredll.dll+0x0006377c) RA=c0123734(k.coredll.dll+0x00063734) SP=d069f918, BVA=00000000

21935 PID:400002 TID:1f70002 ERROR: C:\ymzki\private\winceos\COREOS\filesys\dbase\.\dbase.c line 1500:
21935 PID:400002 TID:1f70002 FS: Heap Exception Handler
21935 PID:400002 TID:1f70002 DB:OpenDB fail: DB DB_notify_censored not found
21936 PID:400002 TID:1f70002 Exception 'Data Abort' (4): Thread-Id=01f70002(pth=8379c82c), Proc-Id=00400002(pprc=81dd8aa0) 'NK.EXE', VM-active=01dd0002(pprc=8378a3c0) 'udevice.exe'
21936 PID:400002 TID:1f70002 PC=c012377c(k.coredll.dll+0x0006377c) RA=c0123734(k.coredll.dll+0x00063734) SP=d069f09c, BVA=00000000

24215 PID:400002 TID:1f70002 ERROR: C:\ymzki\private\winceos\COREOS\filesys\dbase\.\dbase.c line 697:
24216 PID:400002 TID:1f70002 FS: Heap Exception Handler
24216 PID:400002 TID:1f70002 Exception 'Data Abort' (4): Thread-Id=01f70002(pth=8379c82c), Proc-Id=00400002(pprc=81dd8aa0) 'NK.EXE', VM-active=01dd0002(pprc=8378a3c0) 'udevice.exe'
25766 PID:400002 TID:1f70002 ERROR: C:\ymzki\private\winceos\COREOS\filesys\dbase\.\dbase.c line 1500:
25766 PID:400002 TID:1f70002 FS: Heap Exception Handler
25766 PID:400002 TID:1f70002 DB:OpenDB fail: DB DB_notify_censored not found
25766 PID:1dd0002 TID:1f70002 [NOTIFY] MakeDatabases::Could not create or open database for timing notifications
25767 PID:1dd0002 TID:1f70002 [NOTIFY] Initialization : Did not initialize properly / system disabled
25768 PID:1dd0002 TID:c20002 Unknown: DEBUGCHK failed in file C:\ymzki\private\winceos\COREOS\device\udevice\.\udevimp.cpp at line 150
28067 PID:400002 TID:c20002 CReflector::InitEx: return FALSE!
28068 PID:1dd0002 TID:c20002 [NOTIFY] Module unloaded

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 2 guests