How to migrate BSP from Platform Builder 4.2 to 5.0
Hi everyone,
I want to migrate my BSP from Platform Builder 4.2 .Net to Platform Builder
5.0.
My device is PXA255 Base.
Anyone can show me the steps? since I new here.
thanks n best regards. Tag: Tools for analyzing content of WiNCE PE files Tag: 115010
TFT LCD color bits
Hi,
I have 18Bit (6:6:6) color TFT,but i want to use it as 16 bit (5:6:5) color
mode.
for RED and Blue components which bit should i skip MSB or LSB.
--
Software Developer
Johari Digital Healthcare LTD.
INDIA Tag: Tools for analyzing content of WiNCE PE files Tag: 115008
Queries about complier
In my project I'm use ARM 1176JZF-S processor, the chip provided by Samsung
(S3C6400).
My queries are:
1. Does Microsoft WinCE Platform builder supports ARMv6?
2. Can I use ARMâ??s Real View Complier (RVCT3.0) or GNU complier for ARM with
Microsoft SDK? Tag: Tools for analyzing content of WiNCE PE files Tag: 115003
SD host spec & Compliance
[Win CE 5.0]
[MIPSII]
Question:-
Our CPU has SD 1.0.1 spec compliant hardware.
1. Is it possible to update our drivers to support SDHC
without needing HW change ?
2. With SD 1.0.1 host (HW compliance) , can SD host
driver can be upgraded to support bigger SD cards of size (4GB etc., ) ??
FAT 16 --> FAT32 will do the trick ?
3. SDHC support required SD 2.0 compliant Hardware
(mandatory) ? Is there any way to work around using old SD 1.0.1 hardware
and support SDHC ? (atleast detect) ?
Thanks,
Siddarth Tag: Tools for analyzing content of WiNCE PE files Tag: 115001
A question from new user?
I developed a SD card. My develop board is based on xscale. I want to
directly access registers in SD host controller for debugging SD card and
send the content to PC by using Serial port. How to do it? Thanks,
I downloaded WinCE 5.0 platform builder. I can send information by using API,
but I don't know how to access registers in SD host. It seems WinCE provide
API to access SD as a disk only, so I can not access any register defined in
xScale. Do I have to develop a device driver? Is there any easy way to do
this simple job? Thanks, Tag: Tools for analyzing content of WiNCE PE files Tag: 115000
About customizing OS Chinese Language
Hi ,all
I chose the "Chinese(China)" in locales catalog ,and chose "Chinese" in
default locale.
I built the os and downloaded it to the target.I found messy code for
Chinese.
How can I resolve it.
Thanks a lot Tag: Tools for analyzing content of WiNCE PE files Tag: 114993
PB5.0: Difficulty cloning USB function client driver (ufnmdd.dll)
Hello all,
I am trying to clone the MDD code from the USB function client driver in
PUBLIC\COMMON to add a few things to pipe.cpp, and the various instructions
of Steve Maillet, Bruce Eitman, etc. published on the web don't seem to map
very well to this case. I've copied the contents of
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CONTROLLER\MDD to my platform,
modified SOURCES appropriately to write output to the platform, and verified
that UFNMDDBASE.LIB is built in the expected PLATFORM\FOO\LIB\ARMV4I\RETAIL
directory.
Problem is, the instructions to clone a driver seem to assume that all the
ingredients are contained in a folder which can be copied to the platform so
that sysgen_capture can be run. That isn't the case here; the product
UFNMDDBASE.LIB appears to be linked into UFNMDD.DLL by the following block in
the big cesysgen makefile at PUBLIC\COMMON\CESYSGEN\MAKEFILE:
ufnmdd:: ufnmddbase ceosutil defbuslib
@set TARGETNAME=$@
@set RELEASETYPE=OAK
@set SOURCELIBS=$(SG_OUTPUT_OAKLIB)\ufnmddbase.lib
$(SG_OUTPUT_SDKLIB)\ceosutil.lib $(SG_OUTPUT_OAKLIB)\defbuslib.lib
@set TARGETTYPE=LIBRARY
$(MAKECMD) /NOLOGO $(SG_OUTPUT_OAKLIB)\$@.lib
I am a little leery of the prospect of cloning this monster, or worse the
entire public\common trunk! But I am at an impasse here, and modifying
public\common code is looking like the only feasible way to modify this
stuff. Can anyone advise how to proceed before I "back it up and hack it up"?
Best regards,
Craig Blome Tag: Tools for analyzing content of WiNCE PE files Tag: 114988
Windows Mobile Compilation.....
hi!
I am having a WinCE platform builder 5.0 and got the CE image for my
development platform.(Pxa270 arm based processor)
I compiled my driver using debug build environment.
Everything works fine in my development platform.
but when i try to install the same Cab file in "Windows mobile 5.0 arm
based processor..Omap2420" based PDA.
I am getting error as the installation file is not intended for that
device.
Any one can advice me about this.
How do i compile my driver for Windows Mobile 5.0 using wince 5.0
platform builder.
Do i need to get some other build environment for windows mobile 5.0
omap based processor which is again arm based processor????
Your help is highy appreciated.
Thanks. Tag: Tools for analyzing content of WiNCE PE files Tag: 114980
Boot problem Windows CE 6.0
Hi,
I'm trying to bring up a Windows CE 6.0 image.
To do this I have a 4 GB compact flash, with a 256 mb primairy partition.
I copied all the bootdisk files and nk.bin to the compact flash.
When I start the computer it shows the dos startup menu.
If I select load local nk.bin, it starts loading a lot of files and then it
hangs on a jumping to (hex-value)..
If I disable the KITL options it doesn't even give this announcement.
If I try the eboot option and I can start the upload.
But after a few seconds it goes wrong, the computer then resets and thats it.
What am I doing wrong?
Thanks in advance,
Chris Tag: Tools for analyzing content of WiNCE PE files Tag: 114978
Bootup Problem
Hi,
i am using 128MB RAM.
it is working fine till OEMInit function after that it got stucked.
The following Message is appearing o the serial:
Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built
Aug 20
2008 13:53:41
Microsoft Windows CE Bootloader for the Samsung SMDK2410 Version 2.5 Built
Aug 2
0 2008
Press [ENTER] or [SPACE] to launch Boot Menu.
Starting auto-download ...
Initiating image download System ready!
Preparing for download...
Download file information
-------------------------------------------------------------------------------
[0]: Address=0x80001000 Length=0x687F74 Name=
****** OEMVerifyMemory Checking Range [ 0x80001000 ==> 0x80688F73 ]
****** RAM address ******
rom_offset=0x0.
ROMHDR at Address 80001044h
AM29LV800_EraseFlash: Start Sector 0x12 ...
AM29LV800_EraseFlash: Requested 0x20 bytes, Erasing 0x1 sectors (0x10000
bytes)
(offset 0xf0000 bytes)...
Erasing sector 18 Addr b50f0000 !
AM29LV800_WriteFlash: Writing 0x20 bytes to flash (offset 0xf0000 bytes)...
INFO: OEMLaunch: Jumping to Physical Address 0x37007ABCh (Virtual Address
0x8000
7ABCh)...
--Watchout - here we go on WinCE exec point...Windows CE Kernel for ARM
(Thumb E
nabled) Built on Jun 24 2004 at 18:25:00
ProcessorType=0920 Revision=0
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8000796c
DCache: 8 sets, 64 ways, 32 line size, 16384 size
ICache: 8 sets, 64 ways, 32 line size, 16384 size
Test from WinCE
After OALIntrInit
After Timer init
After KitlStart
--
Software Developer
Johari Digital Healthcare LTD.
INDIA Tag: Tools for analyzing content of WiNCE PE files Tag: 114972
LCD Display Driver Problem
Hi
I am working on wince5.0(ARM).i am using 640x480 LCD.
My LCD is working fine at boot time but as soon as display driver loads
nothing will appear on the LCD(Black).
--
Software Developer
Johari Digital Healthcare LTD.
INDIA Tag: Tools for analyzing content of WiNCE PE files Tag: 114967
Rheap.cpp Debugchck: 1413 and DLL Heap
I was wondering if there was the need to match up the code generation
options from within Platform Builder like you have to do with Visual
Studio 2005.
I am running an ARM platform on Windows CE 6.0. I've updated all QFEs
up until July 2008. I've recently noticed that while I am running
our .Net CF 2.0 Application (under a debug build of Windows CE.) that
we are getting the following debug check while the application is
running (and platform builder is loading modules.)
227405 PID:4470002 TID:54d0002 Coredll: DEBUGCHK failed in file D:
\yamafp-1\private\winceos\COREOS\core\lmem\.\rheap.cpp at line 1413
The comments aroudn the debug check itself basically mentions that it
will fire the DEBUGCHK if the dll heap is not being used (it checks
g_ModuleHeapInfo.nDllHeapModules)
Normally under VS2005 you would use /MD or /MDd to specify whether to
use the Multi-Threaded DLL or Multi-Threaded Debug DLL code generation
options, as you can't really do conditional options under the SOURCES
files I figured that this was not necessary.
Am I missing something, doing something wrong, or is this not actually
an issue?
I would appreciate any comments, issues or insights that others may
have into this.
Thank you,
Brad. Tag: Tools for analyzing content of WiNCE PE files Tag: 114965
Making an application non-pageable
Hi
I was wondering if there is a way to tell the kernel to not page a specific
application.
I have read this article
http://blogs.msdn.com/ce_base/archive/2008/01/19/Paging-and-the-Windows-CE-Paging-Pool.aspx
And, it suggests a method for making all applications non-pageable or a
method for making a section or sections of a specific application
non-pageable.
I have tried the first method, but I find that the system memory consumption
is too high.
The second method may be acceptable, but I would perfer to make the entire
application non-pageable instead of doing this by sections.
Is there a method for doing this?
Thank you,
Tom Tag: Tools for analyzing content of WiNCE PE files Tag: 114963
doc on clock/ SetLocalTime date limits
I'm using a custom build ver CE5.0.
it doesn't matter if I use the MS build datetime GUI or my own program call
to SetLocalTime(),
there seems to be a limit on the date I can change(year only?). But I
cannot find any documentation on it.
it seems like year over 2099 and under 1980. If I enter a date outside this
range, the date set fails and the clocks
show some time in year 2046/2047.
is this true, there is a limit and if so what is it.
a pointer to the actual documentation would be nice.
Thanks. Tag: Tools for analyzing content of WiNCE PE files Tag: 114957
Porting from linux BSP to WinCE 6.0 BSP
Hello,
I am working on i.MX31 based Board with BSP from Freescale. Linux is working
well on our board, everything works fine. So I tried to port WinCE 6.0 on our
board.
Now I have the following problem under Linux we added for the GPIOs the
following definition:
(mx31_pins.h)
MX31_PIN_GPIO1_28 = _MXC_BUILD_GPIO_PIN(0, 28, 79, 0, 107, 0),
and we changed (I now it is very dirty *g*) (mx31ads.c):
static int __init _mxc_expio_init(void)
{
/*
CHD: FIXME
dirty hack used expio routine for ethernet IRQ!
*/
int i;
initialized = 1;
/* printk(KERN_INFO "MX31ADS EXPIO(CPLD) hardware\n");*/
printk("\n\nEnable Interrupt for Ethernet\n\n");
/*
* Configure INT line as GPIO input
*/
//CHD changed GPIO1_4 to 1_28 for Ethernet IRQ
mxc_request_iomux(MX31_PIN_GPIO1_28, OUTPUTCONFIG_GPIO,
INPUTCONFIG_GPIO);
mxc_set_gpio_direction(MX31_PIN_GPIO1_28, 1);
set_irq_type(MXC_ETH_IRQ, IRQT_RISING);
//set_irq_chained_handler(MXC_ETH_IRQ, mxc_expio_irq_handler);
/* disable the interrupt and clear the status */
//__raw_writew(0xFFFF, PBC_INTMASK_CLEAR_REG);
//__raw_writew(0xFFFF, PBC_INTSTATUS_REG);
/*for (i = MXC_EXP_IO_BASE; i < (MXC_EXP_IO_BASE + MXC_MAX_EXP_IO_LINES);
i++) {
set_irq_chip(i, &expio_irq_chip);
set_irq_handler(i, do_level_IRQ);
set_irq_flags(i, IRQF_VALID);
}
set_irq_type(EXPIO_PARENT_INT, IRQT_HIGH);
set_irq_chained_handler(EXPIO_PARENT_INT, mxc_expio_irq_handler);
*/
return 0;
}
Now I need to know how to change this settings:
MX31_PIN_GPIO1_28 = _MXC_BUILD_GPIO_PIN(0, 28, 79, 0, 107, 0),
so that it is compatible with the definitions under WinCE 6.0:
for example
DDK_IOMUX_PIN_GPIO1_2 = (2536),
DDK_IOMUX_PIN_GPIO1_1 = (2544),
DDK_IOMUX_PIN_GPIO1_0 = (2552),
I hope somebody could help me
Thanks Tag: Tools for analyzing content of WiNCE PE files Tag: 114947
Ask About BSP
Hi guys,
I'm working on Windows CE .net 4.2 Platform Builder.
I have a BSP that support my board.
I want to ask, can I use the BSP on Platform Builder 5.0?
thanks a lot.... Tag: Tools for analyzing content of WiNCE PE files Tag: 114935
CoFileTimeNow API call Return value on CE 5
I am completely new to the Windows CE / Platform builder. I am trying to test
the API call CoFileTimeNow:
http://msdn.microsoft.com/en-us/library/aa908568.aspx
So far I have the following code in my Application project in my platform
builder:
#include "stdafx.h"
int main (int argc, TCHAR *argv [], TCHAR* envp [])
{
HRESULT CoFileTimeNow(
FILETIME* lpFileTime
);
printf("finished running the program\n");
return 0;
}
The above program compiles and run fines (without any errors) on my target
platform but I am not sure if it actually returned something from the
CoFileTimeNow API call. How do I verify it? Can I do some printf statement to
actually see the time value?
Thanks Tag: Tools for analyzing content of WiNCE PE files Tag: 114931
Win CE Update releases for the month of July 2008
As you may know, updates for Microsoft® Windows® CE are now available as a
monthly rollup. The Microsoft® Windows® CE update rollup will be released
the second Tuesday of every month, the latest release occurring on or around
July 12th, 2008.
The following updates for Windows CE have been recently released and are
available for download. More information for each update is provided in the
Readme document available after the individual update(s) has been installed.
Windows CE 5.0
Update name: Windows CE 5.0 Platform Builder Monthly Update (July 2008)
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=FB405FD9-983C-4D3F-91EB-6B58CC504604&displaylang=en
Description: This is a set of updates for Windows CE 5.0 Platform Builder
released during the period of July 1 - July 31st, 2008. These Microsoft
Windows CE 5.0 updates are fixes for Windows CE operating system problems
you run into during the development and maintenance of your custom platform.
Windows Embedded NavReady
Update name: Windows Embedded NavReady Monthly Update (July 2008)
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=10479D0C-43D2-4E31-9BC1-D813A987F830&displaylang=en
Description: This is a set of updates for Windows Embedded NavReady released
during the period of July 1 - July 31st, 2008. These Microsoft Windows CE
updates are fixes for Windows CE operating system problems you run into
during the development and maintenance of your custom platform.
Windows Embedded CE 6.0
Update name: Windows Embedded CE 6.0 Platform Builder Monthly Update (July
2008)
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=991A6EF3-7035-4D71-B424-1FB393AF8A26&displaylang=en
Description: This is a set of updates for Windows Embedded CE 6.0 Platform
Builder released during the period of July 1 - July 31st, 2008. These
Microsoft Windows CE updates are fixes for Windows CE operating system
problems you run into during the development and maintenance of your custom
platform.
Download Link - directs you to the Microsoft Download Center page associated
with each update. Each update is contained in a self-extracting compressed
file.
Component - displays the module(s) updated in each update
Description - provides more information on the issue(s) fixed
**DO NOT REPLY - THIS E-MAIL IS BEING SENT TO YOU FROM AN UNMONITORED
ACCOUNT. Due to Microsoft's security requirements, the hyperlink(s)
contained in this e-mail may not automatically open your browser. If you
experience any difficulty, please copy the link and paste into your browser.
** Tag: Tools for analyzing content of WiNCE PE files Tag: 114925
InitLocale in coredll.dll/map
Hello All,
I wud like to know the various cases in which InitLocale wud fail and
cause a Data Abort.
Warm Regards
Yash Tag: Tools for analyzing content of WiNCE PE files Tag: 114891
USB Interrupt pipe time out problem
Hi ,
We experience a mind boggling problem during development of a USB
driver for a monitor running WinCE 5.0.
Our host computer is an ETX board Pentium Mobile 800 Mhz which
includes a USB controller.
Other hardware is developed in-house.
Our monitor communicates with an in-house developed sensor via USB
1.1, passing data at 200 Hz over an interrupt pipe. This has been
working satisfactory for some time.
We now want to add a 3rd party USB device that also uses USB 1.1 to
pass data at 2000 Hz to the monitor. Data communication with this
device falls into two stages:
a. a small header is sent over an interrupt pipe.
b. actual data samples are collected from a bulk pipe. The header
indicates how many samples to receive on the bulk pipe.
Capturing the data is done through a thread in a stream driver
implementation by ping-ponging between querying the 2 pipes for data.
The monitor application in return has a thread running to scoop out
the acquired data to the application.
Thread priorities are set such that:
Priority Driver thread > Priority Application Thread > Priority
Application GUI thread
Running both sensors at the same time in a normal state works OK.
However, if we stress the host computer by creating a lot of GUI
activity (signal drawing) the connection with the 3rd party device at
a particular point interrupts. Our own device keeps functioning as
normal.
When we inspect the signals in our USB protocol analyzer it appears
that the querying process to the 3rd party device suddenly stops.
We added some logging code in our driver which, together with USB
logging output, reveiled the following:
1. Our reading thread in the driver still loops after the interruption
of collecting sample data
2. In the driver, at some point we see a time out on an IN transfer on
the interrupt pipe
3. After that the interrupt IN pipe keeps returning time outs ( to the
driver )
4. the last 1 or 2 packes observed in the USB log are non-corrupt
interrupt IN transfers
5. the host does not flip to reading the associated bulk pipe packet,
possibly caused by the failing read (i.e. the time out on the
interrupt package)
6. if a 2nd package IN transfer is fired after the first time out it
comes after the time out period that we specified in the
interruptreadpipe function
Our conclusion is that even though a complete interrupt package was
transferred through the interrupt IN pipe (as we saw in the USB log)
WinCE did not "recognize" it as a valid transfer and fired a timeout.
Our driver code is designed to continue attempting to read the
interrupt IN pipe. We see the loop running and thus expect continuing
Interrupt IN transgers. However, after that point no additional
transfers are detected in the USB analyzer log. The driver keeps
receiving time outs...
My questions are:
- is it possible that the USB driver stuff in WinCE comes into a state
where a request to initiate an IN transfer is not passed to the lower
level drivers / hardware after such time out?
- can heavy load on the CPU (even when present in a lower priority
threads) indeed jeoperdize USB stability
We would appreciate your help....
Hans Tag: Tools for analyzing content of WiNCE PE files Tag: 114887
Using Ce Registry notification functions problem!
Hello,
I am trying to use the registry notification function and get the
notification info without success -
non of the CeRegGetNotificationInfo info succeeded and GetLastError()
does not return an error code.
byte buff[1000];
code:
hndChangeHandle =
CeFindFirstRegChange(HKEY_LOCAL_MACHINE,TRUE,REG_NOTIFY_CHANGE_LAST_SET);
dwErr = WaitForSingleObject(hndChangeHandle,INFINITE);
lng = CeRegGetNotificationInfo(hndChangeHandle,
0,0,0,&dwReturnedBytes,&dwReturnedBytesAvailable);
lngErr = CeRegGetNotificationInfo(hndChangeHandle,0,(PVOID)buff,
1000,&dwReturnedBytes,&dwReturnedBytesAvailable);
Thanks in advance,
John. Tag: Tools for analyzing content of WiNCE PE files Tag: 114873
Question about activesync connection
Dear All,
I met a problem. It is about activesync connection. When the activesync
is trying to create a connection between PC and device and the icon of
activesync has turned green, you reset the device. Then the device will try
to create a connection again when startup, but error happens. The error
message is
!!!!!!!CeEventHasOccurred NOTIFICATION_EVENT_RS232_DETECTED!!!!!!!!!!!!!!!
AUTORAS:: Dialer notifies: [1] [Dialer Start]
ERROR: OALIoCtlHalGetDeviceInfo: Device doesn't support
IOCTL_HAL_GET_DEVICE_INFO::SPI_GETUUID
RASCS_Disconnected: Ecode=619
Posting WM_NETCONNECT(FALSE) message, ErrorCode = 619(0x26B)
If you plug-off usb cable and plug-in again, the activesync works again.
Anybody knows this problem and has the solution?
Thanks. Tag: Tools for analyzing content of WiNCE PE files Tag: 114862
BSPin PB for CE6.0 - Not Recognised After Installation & Usage...
Hello All,
I had previously successfully installed a BSP, created an ODDesign, Built
the project, Executed the Image on Target H/W - All successfully in the last
few weeks.
But now, for some reason, when I try to create a new OSDesign, PB does not
recognize my existing BSP. However, it is listing other BSPs in my system
that are installed (by default, when I install CE 6.0).
What could be the problem? I really don't want to uninstall PB, my installed
SDKs, and re-install everything - I have already done that many many times -
although for other reasons. Its a very laborious process....
Is there a file (some confg file, xml file...etc), that PB looks for when it
searches for installed BSP?
The funny part is, I can load my existing OSdesign, build and play with it -
just fine. And this OS design is based on the BSP that I'm interested in. But
I cant seem to create a new OSDesign that uses the same BSP (as above)....
Thanks. Tag: Tools for analyzing content of WiNCE PE files Tag: 114858
Exception 'Data Abort'(4) ... When booting driver
Hi,
I have a wince6 driver. I am running the driver on an ARM11 platform. On
Debug mode the driver works fine and boots up.
On release mode the driver doesn't boot. I get the following exception:
Exception 'Data Abort'(4) Thread-Id=03530002(pth=880aa000) PC=8403185c
BVA=d3acafc4, dwInfo = 0000080f
R0=8403dffc R1=d3acb034 R2=d3acb0ac R3=00000000
R4=8403e0e0 R5=00000004 R6=848e64b8 R7=880aa000
R8=00000000 R9=00000000 R10=d3acb0ac R11=8403dffc
R12=00000000 SP=d3acb014 Lr=84031a68 Psr=8000001f
Can you help me figure out what is causing this, and how can I fix it?
Thank you Tag: Tools for analyzing content of WiNCE PE files Tag: 114857
(NOR) FAT/TFAT problem.
Hello All,
My device uses Intel StrataFlash P30 (32 and 64 MB). It stores Eboot,
NK, other configurations and Filesystem. TFAT support is activated.
Following are the registry settings.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
;"Flags"=dword:600034 ; FATFS_DISABLE_AUTOSCAN,
FATFS_ENABLE_BACKUP_FAT, FATFS_FORCE_WRITETHROUGH
;FATFS_TFAT_ALWAYS, FATFS_FORCE_TFAT
"Flags"=dword:00290014
"FormatTFAT"=dword:1
"EnableWriteBack"=dword:1
"CheckForFormat"=dword:1
"TfatMarkAlways"=dword:1
"NonatomicSector"=dword:1
"DisableAutoScan"=dword:1
"Util"="fatutil.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for P30FLASH"
"Folder"="NOR Flash"
"FileSystem"="fatfsd.dll"
"PartitionDriver"="mspart.dll"
"Util"="fatutil.dll"
"AutoPart"=dword:1
"AutoFormat"=dword:1
"AutoMount"=dword:1
"MountFlags"=dword:2
"Flags"=dword:00290014
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"Paging"=dword:0
"EnableCache"=dword:0
;For PowerManagement
"ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\P30_flashFMD"
"LoadFlags"=dword:1
"Order"=dword:0
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\P30_flashFMD]
"Dll"="P30_flash.dll"
"Order"=dword:2
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;Start file system at a 21MB offset to allow for image in flash
"MemBase"=dword:BBE00000
"MemLen"=dword:00900000
The problem is, during file copy operation, if power goes off, the
FAT corruption is observed.
The device stops booting on next power cycle.
The log is
Booting image from partition 0. Redundancy disabled
+Windows CE Kernel for ARM (Thumb Enabled) Built on Feb 8 2007 at
23:36:51
ProcessorType=0411 Revision=7
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
8010706c
Version Number: 2.0.0.5
Sp=ffffc7cc
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
INFO: FMD_Init: Flash Address=0xbbe00000 Length=0x900000.
FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
===> hangs here.
Tried turning on debug prints from read/write routines of FMD
driver. It looks like the read routine is called infinite times from
upper layer.
Can anyone suggest what could be going wrong?... It's appreciated
for any advises.
Thanks in advance.
Suvarna. Tag: Tools for analyzing content of WiNCE PE files Tag: 114856
Build all extra projects "clean" when doing a Sysgen and Make Image
Hello. First off, I am using Platform Builder for Windows CE 5.0.
Our pbxml workspace file includes multiple pbpxml project files for
our custom drivers. When a sysgen is performed with "Build OS ->
Clean before building", everything works as expected except the pbpxml
projects are not cleaned before being built. This occurs even when
"Build Project -> Clean Before Building" is set before the sysgen.
The pbpxml projects are cleaned before building when "Build Project ->
Build all projects" is performed.
Digging into the build tools, I see that blddemo.bat has the line
PBXmlUtils /generatebuildfiles, which creates the batch file
PBPostSysgenProjects.bat among other things. This
PBPostSysgenProjects.bat file is what builds the pbpxml projects, but
calls build.exe with the flag -nmake cleantgt&&build. To work as I
want, I think it should call build.exe with the flag -c.
How can I get the sysgen process to perform a clean and build on the
pbpxml projects?
Thanks and best regards,
Jerel Tag: Tools for analyzing content of WiNCE PE files Tag: 114852
Iamge download - Serial
All,
We are thinking of using serial port for image download. I browsed
this group for some pointers but I was not able to find any.
Can I download the nk.bin using serial port ? What are all the changes
that I should be doing ?
Any help guys.
Reg,
Venkatesh Tag: Tools for analyzing content of WiNCE PE files Tag: 114848
USB HOST Suspend
I'm currently working in PXA270 based board.
Whether WinCE6.0 supports USB Selective Suspend(Suspending particular port)
functoinality?
If yes please give me some tips about how to do that? Tag: Tools for analyzing content of WiNCE PE files Tag: 114847
flashing eboot makes the image downloading failed
I have flashed the eboot.nb0 on intel pxa27x in windows ce 5.0 platform
builder. If i attach the target device, it keeps on downloading and at one
stage it is disconnecting automatically.could u anyone clarify wat is
happening in this case.
thanks in advance.,
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200808/1 Tag: Tools for analyzing content of WiNCE PE files Tag: 114846
Does WinCE 5.0 supports Cyrillic Font ?
Does WinCE 5.0 support Cyrillic fonts ? I could not find it in the font
catalog. Should I have to install any patch for the wince 5.0 to get
this ? How do I go about getting this font for my embedded device ?
Regards
Esha Tag: Tools for analyzing content of WiNCE PE files Tag: 114841
When Copying EXE file, the default icon is shown instead of actual
1. Please copy EXE file to any place
2. The actual program ICON of this EXE file is not displayed, but
instead the Default ICON(IDI_APPLICATION) is shown
3. After re-booting the device, the correct program icon is shown
repeating above steps reproduces same issue
after copying it to anyplace, when i rename the file, the correct icon
is shown
When copying in IconCach.cpp, it seems that ExtractIconEX does not get
the value of the correct icon
Could you please tell me what i should do to solve this issue
The OS is Windows CE 6.0 Tag: Tools for analyzing content of WiNCE PE files Tag: 114839
Wavedev2 loading problem
Hiii
Using Ensonic sample i have built wavedev2 driver for my audio codec.
i have Waveform Audio, Waveform Audio Renderer , Wave File Parser component
from the catalog in my image.Am able to load the driver for my ARM11 target
platform on wince6. At the end of the bring up am expecting WAV_Open getting
invoked but it fails to do so~~~~~.
Meanwhile if sample application calls createfile("WAV1:") invokes the driver
call WAV_Open successfully.
These are my registry settings.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev]
"Prefix"="WAV"
"Dll"="osk_wavedev2.dll"
"Index"=dword:1
"Order"=dword:14
"Priority256"=dword:60
"AudioDMAAreaBase"=dword:8BE7F000
"AudioDMAAreaSize"=dword:00002000
[HKEY_LOCAL_MACHINE\Audio\SoftwareMixer]
"Buffers"=dword:4
Any sugestion or pointers is apreciated.
Thanks in advance.
--
Vikram
Bangalore Tag: Tools for analyzing content of WiNCE PE files Tag: 114838
Flashed eboot issue on Intel pxa27x
I have flashed the eboot.nbo(192.29.8.102) previously it was (192.29.8.101)
using Jflash on intel PXA27X. But if i try to download the image it keeps on
downloading and at one time,the downloading stops.Anyone can tell me the
reason and the solution for this issue.
Thanks in advance.
--
Message posted via http://www.pocketpcjunkies.com Tag: Tools for analyzing content of WiNCE PE files Tag: 114837
Want to save data
hi,
i have a flash on my board.On power up it start downloading image from FLASH
to RAM and then run WINCE5.0 from there.In this way each time when i power up
the system it start downloading fresh image from FLASH, so i am not able to
save data through my .NETCF application.
so is there any way to save data through my application.
--
Software Developer
Johari Digital Healthcare LTD.
INDIA Tag: Tools for analyzing content of WiNCE PE files Tag: 114836
Remote Performance Monitor - update very slow
Whenever I use Remote Performance Monitor it seems that selecting the cpu %
usage creates a huge lag in the display update. When monitoring other
metrics, such as memory load, etc. the display refresh is very regular at ~
1000 milliseconds. The cpu % metric is update about every 10 seconds making
it barely useful. Is this a know/expected behavior? Is there something I
can do to remedy this?
Thank you,
- eepcat Tag: Tools for analyzing content of WiNCE PE files Tag: 114825
My file system driver does not expose DSK1: in the Control Panel
Hello,
I have a "self-made" file system driver. Unfortunately, I cannot see a
corresponding "DSK1:" entry in the Storage Manager Control Panel
applet. I am using the following autoload registry keys:
[HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\MYFSD]
"Flags"=dword:1000
"Dll"="myfsd.dll"
"Paging"=dword:1
"Bootphase"=dword:0
"LoadFlags"= dword:1
"MountAsBootable"=dword:1
What is missing in order to see "DSK1:" in the Control Panel?
Peter Tag: Tools for analyzing content of WiNCE PE files Tag: 114809
Embedding external DLL in NK.bin
When I try to add an external DLL into the run-time image NK.bin, adding
a line in project.bib like this one:
MyDLL.dll (Mypath)\MyDLL.dll NK C
I get this error when PB calls MakeImage: "Runtime Error! Program
C:\WinCE600\public\common\oak\Bin\i386\romimage.exe, this application
has requested the Runtime to terminate it in an unusual way. Please
contact the application's support team for more information."
Instead, I never get that error if I include DLLs created by PB
projects. The one I want to include is created under a Windows for
desktop (2k, XP), but it should be compatible (it's a tool downloaded
from Internet, and it says it's CE compatible). Tag: Tools for analyzing content of WiNCE PE files Tag: 114805
Can I expose SD and internal NAND as separate drives on USB host?
Hello all,
I have a WinCE 5.0 BSP for a device on which the customer wants to access
the internal NAND flash and an attached SD card simultaneously from a host PC
as individual disk drives. I've added the blocks to platform.reg mentioned
in the online help and various examples I've seen (reproduced below), but the
two cannot be seen at the same time. I have noticed that the "DeviceName"
key is described in the singular as identifying "the name of the store to
expose to the USB host." Do I infer from this that it is not possible to
expose more than one store in this manner? If this can be done, what would
the registry keys look like?
Also, can anyone provide a citation of Microsoft literature discussing this
area, so that I can better explain if there exists a design limitation
preventing simultaneous visibility of more than one store.
Thanks,
Craig Blome
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"DeviceName"=- ; erase previous default
"DeviceName"="DSK1:"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
; "DefaultClientDriver"="Serial_Class"
"DefaultClientDriver"="Mass_Storage_Class" Tag: Tools for analyzing content of WiNCE PE files Tag: 114804
Location of Frame Buffer
Hi,
I am working on an ICOP x86 300 Mhz based deviced with Windows CE 6.0. We
generated the OS image. I would like to reach directly the VGA memory to
make some fact graphic operations. VGA controller is XGI Volari Z9s. I
worked with s3c2410 before, this unit has source code for the LCD and also
headers for memory area that the LCD frame buffer use. How can I find the
memory area for VGA for this unit?
in config.bib the memory are as:
DMA 80100000 00030000 RESERVED ; Native DMA reserved.
BOOTARGS 801FFF00 00000100 RESERVED ; Boot arguments
EDBG_DMA 80200000 00020000 RESERVED ; EDBG DMA buffer
FRAMEBUF 800A0000 00020000 RESERVED
in startup.asm
_OEMAddressTable:
dd 80000000h, 0
Any idea wellcomes.
Best regards, Tag: Tools for analyzing content of WiNCE PE files Tag: 114798
LCD Display
i have 320x240 LCD but i want to use only 300x200 display area.
can any tell where i have to change in display driver.
--
Software Developer
Johari Digital Healthcare LTD.
INDIA Tag: Tools for analyzing content of WiNCE PE files Tag: 114796
MMC card write error - dropping bit 7
We have a strange error with some MMC cards.
OS is CE5
PXA255
MMC card formatted with FAT.
With some MMC cards, currently the issue with with 1 1GB "MMCplus"
card, the writes to the card do not work correctly.
I have turned on FATFS_VERIFY_WRITES but still the problem persists. I
would have hoped this would have ensured the writes occur correctly?
It is only ever a byte or two within a file and it is always the top
bit (bit 7) which is dropped from 1 to 0.
(e.g it should be C5 but is actually 45).
It is not always the same byte in the file, not always the same file
(for example when extracting a CAB file different files get corrupted
on different attempts)
This happens for files written by CE5 on the device. If I remove the
MMC card and read it in a card reader on a PC it shows the missing
bit(s) in the file(s). If I write to the card using the card reader
the write is successful
I have tried reducing the maximum MMC clock speed from 10MHz to 5MHz
but still the same effect.
Any other ideas?
Any ideas how we can figure out why its failing?
Thanks
Andrew Tag: Tools for analyzing content of WiNCE PE files Tag: 114788
Program memory usage in Windows CE 5.0
Hi there,
I have a question on Program memory usage in Windows CE 5.0. When I
copy a file from one location to another on the device I see incerase
in program memory usage. (For example from MyDocuments to Desktop).
But if I delete the same file from desktop and recycle bin, I don't
get back the memory allotted during the copy. Is this memory leak in
Windows CE 5.0 filesystem? If not why Windows CE behaves like this?
Who uses that memory? How to avoid this happening?
Any inputs will be helpful!
Thanks Tag: Tools for analyzing content of WiNCE PE files Tag: 114787
How to change USB function driver endpoint address ?
Hi
I tried to modify USB Serial function driver PDD usbfndrv.cpp
#define USB_VERSION 0x220 -----> 0x110
#define BULK_IN_ENDPOINT_ADDRESS 0x81 ----> 0x84
#define BULK_OUT_ENDPOINT_ADDRESS 0x02 ----> 0x04
Then I use USBView to see new description, but only VERSION info change .
How can I change the endpoints for Bulk mode in and out ?
Thank you . Tag: Tools for analyzing content of WiNCE PE files Tag: 114786
Windows CE 5.0 Internet Explorer
We currently build Internet explorer 6.0 into our Wince500 OS, selecting
view->option allows me to set various options in the following Tabs,
General, Connection, Security, Privacy, Popups, for some bizarre reason I
cannot check/uncheck the boxes in the advanced TAB. These are options such
as Disable automatic sip, enable stylesheets, play sounds in web pages,
security->use ssl 2.x, 3.x etc.
Regards Tag: Tools for analyzing content of WiNCE PE files Tag: 114785
C# DeviceApplication how to add Windows Media Player component?
Hi all,
I'm using VS 2005 and target device (OS Design : Custom Design)Windows CE 6.0
I'm new create a project VS 2005 >> C# >> Smart Device >> Windows CE 5.0
>>Device Application template.
Toolbox rigt click > Choose items > Com components > WMP wmp.dll add
I cannot see media player controls in the toolbox...However if I choose C# >
Windows > Windows application template i can see the control and use it.
Thank You... Tag: Tools for analyzing content of WiNCE PE files Tag: 114780
does R2 FLASH MDD/PDD supports MBR?
As the doc says, MDD/PDD won't support MBR, is it right? If so, how can I
create multi partitions in bootloader?
In FAL/FMD, I use bootloader to create MBR to support BINFS & FATFS on one
NAND chip, if MBR doesn't work, could you give me a way to implement this?
thanks Tag: Tools for analyzing content of WiNCE PE files Tag: 114777
Unresolve externals while building OAL.
Hello,
I m implenting RTC logic for Davinci(Dm6446)....
for RTC logic communicates with davinci via I2C protocol...
So in RTC logic sources file i have included I2C lib. and in OAL i have link RTC.lib......
but while building OAL i m facing with unresolved external sumbols--> closehandle,getlasterror,WaitForSingleObject,ReleaseMutex and like some others which are declared inside i2C.lib which are declared inside I2C code... but OAL layer does not support the above functions...thats why getting that errors...
So do u have any idea ???how to resolve this OAL level issues??? Tag: Tools for analyzing content of WiNCE PE files Tag: 114776
How to get LAN icon in Intel PXA27X using Windows CE 5.0 Platform
I am working with Intel PXA27X using Windows CE 5.0. What should i do
to get LAN icon in the (Network and Dialup Connection in the board).
Thanks in advance.. Tag: Tools for analyzing content of WiNCE PE files Tag: 114773
Hi, Does anyone know of any tools available for analyzing content of WinCE
PE ARM executables.
eg viewing exports, imports looking at resources included.
Re: Tools for analyzing content of WiNCE PE files by Helge
Helge
Thu Aug 21 06:37:20 PDT 2008
"dave_t" <---> wrote in message
news:OAy83q3AJHA.4528@TK2MSFTNGP05.phx.gbl...
> Hi, Does anyone know of any tools available for analyzing content of
> WinCE PE ARM executables.
> eg viewing exports, imports
see: dumpbin
looking at resources included.
see: VS2005, open file (as resource)
"dave_t" <---> wrote in message
news:OAy83q3AJHA.4528@TK2MSFTNGP05.phx.gbl...
> Hi, Does anyone know of any tools available for analyzing content of WinCE
> PE ARM executables.
> eg viewing exports, imports looking at resources included.
>
> Thanks
>