All Forums
 Microsoft Windows CE
 CE Drivers
 Strange USB behavior at boot in custom image
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

thomaskuhn

0 Posts

Posted - 25 Jan 2007 :  11:00:10  Show Profile
I am using a custom image on the BitsyXb (I do not think I removed anything dealing with USB) and am seeing some strage USB behavior. It seems that sometimes the USB client will not load. Sometimes it will. If there is a usb mouse attached, it seems to happen less often. If you are looking at the hyperTerminal output during bootup, you will see:

==================================================
BitsyXb Platform - Bootloader
------------------------------------------------
* Version 2.4
* SDRAM: 64 MB
* Type: Retail
* Built on Nov 30 2006 at 13:15:04
* CPLD Rev: 5
* DIP SW: 1=off, 2=off
* Boot Option: SEALED BOX UPGRADE
* Processor clock (turbo): 512 MHz
==================================================

System ready!
Preparing for download...
PC Cards Inserted: 0
- ATA disk NOT found.

Found resident NK image in FLASH:
- Copying to RAM... Done.

Jumping to image at 0xA0200000(P):0x80200000(V)...


Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:25:00
ProcessorType=0411 Revision=7
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80207414
System DRAM (MB) - Total:64 Extension:None
Sp=ffffc7cc
Datalight FlashFX Pro v1.11 Build 856
Copyright (c) 1993-2004 Datalight, Inc.
Patents: US#5860082, US#6260156.
FFX: B1200000 = CreateStaticMapping( 01200000, 00E00000 )
FlashFX SDK License ID #5B2C08D8
Created Thread E3B96F7E
Datalight Reliance v1.13.0337
Copyright (c) 2003 - 2005 Datalight, Inc.
Registered to #6A48B493
Initializing FLASH Driver... ok
Initializing ADSLOAD.REG Parsing driver... ok (220ms)
Initializing Ethernet Driver... Detected Ethernet(SMC91C111)
Ok
OID_PNP_CAPABILITIES Statistics Query
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
OID_PNP_CAPABILITIES Statistics Query
Initializing POWER Driver... ok
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
Initializing SMARTIO Driver...
SMARTIO Detected : PartType=0x8535 Firmware=0x0010 Revision=4
SMARTIO : SerialClockRate=10 KBits/S(0xa7).
ok
Initializing Serial... UART0 ok. (102ms)
Initializing Serial... UART2 ok. (102ms)
Initializing Serial... UART1 oInitializing USB Client... Data Abort: Thread=83bc6000 Proc=81227460 'device.exe'
AKY=00000005 PC=029f2e04(plat_usbfn.dll+0x00002e04) RA=ffffffff(???+0xffffffff) BVA=fffffff4 FSR=00000007
RaiseException: Thread=83bc6000 Proc=81227460 'device.exe'
AKY=00000005 PC=03f8dfac(coredll.dll+0x0001dfac) RA=80207a5c(NK.EXE+0x00007a5c) BVA=00000001 FSR=00000001
Initializing I2C driver v 1.1...ok (2ms)
Initializing Digital I/O Driver v. 1.2...ok (5ms)
Initializing WAV device... Ok
Initializing SDHC Driver... Ok
Initializing PXA25x Display Driver (v1.2)... Ok (382ms)
Initializing Touch Panel driver v 1.4... Ok (43ms)


Microsoft Windows CE Ver. 5.0 (build 0)

Windows CE Ver.(5.00.27 )


* ADSLOAD.EXE(do-nothing build): Complete
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [LAN90001]

Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Nov 30 2006 13:09:08
Unlocking FLASH blocks.


The regular version of the OS from ADS does not have this problem. One other thing I noticed was that sometimes the screen on the dev kit goes to the white screen, but then just flickers lightly, finally going to a blue (the background color) flickering screen. I am not sure if the two things are related.

Tom





akidder

1519 Posts

Posted - 25 Jan 2007 :  16:56:46  Show Profile  Email Poster
Hi Tom. Thanks for your note.

It does look like your USB Client driver is breaking (data aborting) during boot. It's not clear from the error message if "client" refers to the port (ie. the upstream USB) or the downstream driver that runs on the USB host port. From your description, it sounds like it may be related to the latter.

Your best bet is to see if you can create a standard build from the BSP that doesn't have the failure, then figure out which component(s) may be affecting the USB host driver by adding them back.

We don't offer support for building your own image on the forums, but you can contact us directly for further suggestions.

Cheers, Drew
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000