Notices

X50 / X51 Forums Talk about anything related to the X50 / X51 series.

Reply
 
LinkBack Thread Tools
Old 09-04-05, 04:58 PM   #16 (permalink)
Aximsite Rookie
 
Join Date: Sep 2004
Posts: 37
Thanked 0 Times in 0 Posts
Great information that is what we need. I can help someone setup the driver for use with this driver. Dont have my drive yet.
ravic is offline   Reply With Quote
Sponsor Ads
Old 09-04-05, 05:00 PM   #17 (permalink)
Aximsite Rookie
 
lynx_deb's Avatar
DAP Freshman
 
Join Date: Aug 2005
Location: Rome, Italy
Posts: 95
Thanked 0 Times in 0 Posts
i've installed WM5.0 emulator..but with the standard file explorer i cannot view dlls files..
i cannot install any application because i cant sync with hosts :(
if anyone help me to sync i can get the atadisk.dll files
lynx_deb is offline   Reply With Quote
Old 09-04-05, 05:03 PM   #18 (permalink)
Aximsite Rookie
 
lynx_deb's Avatar
DAP Freshman
 
Join Date: Aug 2005
Location: Rome, Italy
Posts: 95
Thanked 0 Times in 0 Posts
i can ask my brother to give me her 4GB pocket-drive (it's a Magicstor ATA-IDE drive..)
so we can try with this..

here you can found the specification

http://www.gs-magic.com/english/prod...t_01_40ATA.htm
lynx_deb is offline   Reply With Quote
Old 09-04-05, 05:05 PM   #19 (permalink)
Aximsite Rookie
 
Join Date: Sep 2004
Posts: 37
Thanked 0 Times in 0 Posts
See this on how to copy file to and from the emulator.
http://www.ianywhere.com/developer/t...al_studio.html
ravic is offline   Reply With Quote
Old 09-04-05, 05:26 PM   #20 (permalink)
Aximsite Rookie
 
Join Date: Sep 2004
Posts: 37
Thanked 0 Times in 0 Posts
anothey way to copy files from the emulator is to use "cefilevw.exe" from the folder "C:\Program Files\Common Files\Microsoft Shared\Windows CE Tools\Platman\bin"
ravic is offline   Reply With Quote
Old 09-05-05, 03:04 AM   #21 (permalink)
Aximsite All Star
 
Join Date: Dec 2004
Posts: 558
Device: Samsung Blackjack II
Carrier: AT&T
Thanked 0 Times in 0 Posts
Originally Posted by lynx_deb
i can ask my brother to give me her 4GB pocket-drive
Your brother is a her? :)
AdamaDBrown is offline   Reply With Quote
Old 09-05-05, 06:02 AM   #22 (permalink)
Aximsite Rookie
 
lynx_deb's Avatar
DAP Freshman
 
Join Date: Aug 2005
Location: Rome, Italy
Posts: 95
Thanked 0 Times in 0 Posts
sorry for my bad english ^_^
i'm italian..
lynx_deb is offline   Reply With Quote
Old 09-05-05, 06:29 AM   #23 (permalink)
Aximsite Rookie
 
lynx_deb's Avatar
DAP Freshman
 
Join Date: Aug 2005
Location: Rome, Italy
Posts: 95
Thanked 0 Times in 0 Posts
i've tried the drive..
nothing to do with atapi or atadisk (i've not found atapi.dll on my Windows directory!)
lynx_deb is offline   Reply With Quote
Old 09-05-05, 07:37 AM   #24 (permalink)
Aximsite Rookie
 
Join Date: Sep 2004
Posts: 37
Thanked 0 Times in 0 Posts
I am assuming it did not work.
Is "atapi.dll" not in the emulator \windows folder.

I do not have Visual Studio 2005 setup yet. So i cannot install the WM5 SDK yet. Which emulator are you running ?

Also, i would like to see what it shows for the "Registry" in the PHM Device Manager for that disk drive.
ravic is offline   Reply With Quote
Old 09-05-05, 10:12 AM   #25 (permalink)
Aximsite Major League
 
biohzrd's Avatar
Senior Member
 
Join Date: Jan 2005
Location: Cbus, OH
Posts: 465
Device: Motorola RAZR V3C
Carrier: VZW
Thanked 0 Times in 0 Posts
While yer at it, maybe you could make some touchscreen drivers for external LCDs with touchscreens coming in via serial?
biohzrd is offline   Reply With Quote
Old 09-05-05, 11:13 AM   #26 (permalink)
Aximsite Rookie
 
Join Date: Mar 2004
Location: Montreal
Posts: 30
Thanked 0 Times in 0 Posts
For anyone who is interested, I've attached the debug and release compile of atapi.dll (ARM4I) from WM5.
Attached Files:
File Type: zip atapi.zip (77.4 KB, 66 views)
Guid is offline   Reply With Quote
Old 09-05-05, 11:24 AM   #27 (permalink)
Aximsite Rookie
 
Join Date: Sep 2004
Posts: 37
Thanked 0 Times in 0 Posts
Thanks for the file. I found the reg entries needed for using the atapi.dll block driver to use IDE drive.

http://msdn.microsoft.com/library/de...ockdrivers.asp

The part we are interested in is here


ATAPI Block Device Driver Registry Keys
The ATAPI.dll file is a block driver that replaces the ATAdisk.dll driver and allows for support of both ATA as well as ATAPI functionality. This is from increased support for IDE and PCMCIA. The increase in IDE and PCMCIA support allows for greater compatibility with low-level device functionality such as DVD encryption and CD-ROM audio playback. For the ATAPI driver to function correctly, you must make an addition to the Platform.reg file.

The following registry key example shows the registry key to add to the Platform.ref file if the ATAPI device is located on the primary controller:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Atapi00]
"Dll"="ATAPI.DLL"
"Prefix"="XXX"
"Ioctl"=dword:4
"DeviceId"=dword:2
"IOBaseAddress"=dword:1F0
"Interrupt"=dword:0E
"FSD"="fatfs.dll"

The following registry key example shows the registry key to add to the Platform.reg file if the ATAPI device is located on the secondary controller:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Atapi00]
"Dll"="ATAPI.DLL"
"Prefix"="XXX"
"Ioctl"=dword:4
"DeviceId"=dword:2"
"IOBaseAddress"=dword:170
"Interrupt"=dword:0F
"FSD"="fatfs.dll"


Still waiting for my microdrive to arrive. If someone wants to try it let me know.

1. You need to copy one of the atapi.dll to the \windows folder on Axim.
2. Figure out the registry path for Microdrive using PHM Device Manager.
3. Create that registry key in HKEY_LOCAL_MACHINE\Drivers area
4. Add the above listed registry entries in the new key

I will help install if someone wants to try it.

Last edited by ravic; 09-05-05 at 11:28 AM.
ravic is offline   Reply With Quote
Old 09-05-05, 12:21 PM   #28 (permalink)
Aximsite Rookie
 
Join Date: Mar 2004
Location: Montreal
Posts: 30
Thanked 0 Times in 0 Posts
I've tried it yesterday, and I think the problem is that WM5's atapi.dll has different dependencies than WM4's, because it wouldn't even load. I'll try to compile it with Platform Builder 4.2 tomorrow. It should work, because I know that 4.2 inclues driver for "PC Card ATA disks".
Guid is offline   Reply With Quote
Old 09-05-05, 12:46 PM   #29 (permalink)
Aximsite Rookie
 
Join Date: Sep 2004
Posts: 37
Thanked 0 Times in 0 Posts
Thanks Guid. It seems like atapi.dll is originally part of WCE 4.0 also.
But seems like our PPCs do not include it.

There is also another German company who wrote a enahanced version but download link is broken
http://www.pfaadtsoft.de/atapi.htm

Edit:
Actually the links here work fine. They do have a 4.2 version here. Can you try these
http://www.pfaadtsoft.de/downloads.htm

Just noticed that it might not be ARM though.

Last edited by ravic; 09-05-05 at 12:50 PM.
ravic is offline   Reply With Quote
Old 09-06-05, 09:00 PM   #30 (permalink)
Aximsite Rookie
 
Join Date: Sep 2004
Posts: 37
Thanked 0 Times in 0 Posts
Guid any luck with that atapi.dll compiled in 4.2.
Seems like this driver was part of the CE.NET from 4.0.
Is Platform Builder no longer part of MSDN ?. I have not searched my disks yet. But i thought it was available for download.
ravic is offline   Reply With Quote
Reply

Tags
building, driver, microdrives, trueide

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:33 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC