Re: PPC 2003 PDA COM PORT open failed

Tech-Archive recommends: Fix windows errors by optimizing your registry



Questions about programming are far more likely to get useful answers
if asked in a newsgroup for programmers. In this case, you should
specifically look for a newsgroup for folks who write drivers. This
newsgroup is primarily for users.

I just used google (http://groups.google.com/advanced_group_search) to
look up
com port driver pocket pc 2003
and got 1060 hits. I didn't look at the contents of any, but sure saw
several likely newsgroups.


On 12 Jan 2007 18:59:25 -0800, "Ramesh.R" <ramesh.kvp@xxxxxxxxx>
wrote:


Hi all
Greetings,

We are involved in developing a driver for Pocket PC 2003 PDAs,

Here the problem is COM PORT open failed for Toshiba e800.

work environment :
for Driver : WinCE 4.20 platform Builder.
SDIO based GPS driver.
But this driver is work well for Windows mobile 2003 SE edition to this
same PDA and all other higher versions.

1. Toshiba PPC2003 is not worked for our SDIO-UART based GPS driver.
Failed to open the COM_PORT. We use the SD-COMBO card( SD I/O +
SD-Memory )
Its details are Toshiba E800 -- Pocket PC 2003, version 4.20.1081
(Build 13100)

2. But the same driver is worked well for Toshiba E800 PPC2003 SE. Its
version is 4.21.1088(Build 14132).

3. After we Upgrading the mobile OS from PPC2003 to PPC2003SE, it is
worked well..
But, Our customers wants the SDIO-UART driver only for the Pocket PC
2003. They have no interest to upgrade their Mobile-OS..
Is there any way to fix this issue, with out upgrading the OS.. i.e
by means of any registry-setting changes, coding changes, IRQs or any
other ways.

Our development environment is WinCE 4.20
If you need, I will list the codings....
From the test_log file, Read & Write registers are get failed after
initialization.
So immediately De-initialization are also done. These read & write
registers related to the reading & writing of UART modem registers...

While Seeing the Log files, Read & Write registers get failed is come
to attention.
code for this module is given below


BOOL READ_REGISTER(PSER_INFO pHDevice, DWORD REG_ADDR, UCHAR *Val)
{
SD_API_STATUS status;
status = SDReadWriteRegistersDirect(pHDevice->hDevice,
SD_IO_READ,
pHDevice->Function,
REG_ADDR,
FALSE,
Val,
1);
if (!SD_API_SUCCESS(status))
{
return FALSE;
}
return TRUE;
}

BOOL WRITE_REGISTER(PSER_INFO pHDevice, DWORD REG_ADDR, UCHAR Val)
{
SD_API_STATUS status;
status = SDReadWriteRegistersDirect(pHDevice->hDevice,
SD_IO_WRITE,
pHDevice->Function,
REG_ADDR,
FALSE,
&Val,
1);
if (!SD_API_SUCCESS(status))
{
return FALSE;
}
return TRUE;
}
Regards
Ramesh.R

_______________________________________________________________________________

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.



Relevant Pages

  • Re: Auto Launch an application from Storage Card
    ... Questions about programming are far more likely to get useful answers ... SetEvent from driver once storage card is mounted. ... remove the underscores from my email address (and please indicate which newsgroup and message). ...
    (microsoft.public.pocketpc)
  • RE: SBS 2003 Wont print to local printer
    ... think the root cause can be a hardware conflict or an incompatible driver. ... Microsoft Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... To turn on spooler error event logging to the system log file, ...
    (microsoft.public.windows.server.sbs)
  • Re: Linking errors when use evc++4.0 to build ndis driver
    ... Questions about programming are far more likely to get useful answers ... if asked in a newsgroup for programmers. ... Actually, I'm pretty sure eVC ... I have successfully built my ndis51 intermediate driver using pb42. ...
    (microsoft.public.pocketpc)
  • Re: backup wizzard error
    ... Let me clarify it first, we could not use NT driver on SBS 2003, it might ... cause a lot of uncompatible issue, if the Dcom error can not resolved after ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: WAN problem - LIST IN DIRECTORY is bad, but so is dropping the printer...
    ... I have discussed with other experienced engineer and we recommend you do as ... Go to the "print" server, open the print dialog box, click Server ... click the driver tab and remove the driver Windows NT x86 ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)