Google
  Web www.gpspassion.com


GpsPasSion LIVE!
www.flickr.com
This is a Flickr badge showing public photos from GpsPasSion Live !. Make your own badge here.

www.NaviBlog.com



Versions

Links/Liens




Portal/Portail
Rechercher

- -

Polls/Sondages
Sondage
Pour vous guider sur la Route :
GPS Mobile (SEM)
GPS Intégré
Smartphone
Autre
Voter  -  Résultat des votes
Votes : 1348




Club GpsPasSion
Soutenez le site!

USA: (US$)
EUROPE: (€)
Guide Paypal


GpsPasSion Forums
Home | Profile | Register/Enregist. | Active Topics | Search/Recherche | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GPS Programming
 Programming Hints and Tips
 CAN Bus driver
 New Topic  Reply/Répondre
 Printer Friendly
Author Previous Topic Topic Next Topic  

Northy

3 Posts

Posted - 10 juil. 2012 :  13:11:18  Show Profile  Reply with Quote
I'm trying to develop software for a no-name chinese all in one device, as an experiment (This is my first time) and want to read and write to the CAN Bus. The problem is I cant work out which driver to use and I was really hoping someone could give me some advice.

The devices I have listed from the Active section in the registry are :

;Name=LGC3: ;Key=Drivers\INNOIF101\LGC3
;Name=LGC2: ;Key=Drivers\INNOIF101\LGC2
;Name=LGC1: ;Key=Drivers\INNOIF101\LGC1
;Name=VGD1: ;Key=Drivers\BuiltIn\VGD
;Name=SCR1: ;Key=Drivers\BuiltIn\SCR
;Name=DSP1: ;Key=Drivers\BuiltIn\DSP
;Name=SIP0: ;Key=Drivers\BuiltIn\SIP
;Name=UTL0: ;Key=Drivers\BuiltIn\UTLDRV
;Name=INO1: ;Key=Drivers\BuiltIn\INNOIF101
;Name=COM8: ;Key=\Drivers\USB\FunctionDrivers\Serial_Class
;Name=LPC1: ;Key=Services\LPCD
;Name=OTG1: ;Key=Drivers\BuiltIn\USBOTG1
;Name=SHC2: ;Key=Drivers\BuiltIn\SDIOStandardHC
;Name=SHC1: ;Key=Drivers\BuiltIn\SDIOStandardHC1
;Name=SCA1: ;Key=Drivers\BuiltIn\SmartCard
;Name=NFY0: ;Key=Notify
;Name=WAM1: ;Key=Drivers\BuiltIn\WAPIMAN
;Name=SDC1: ;Key=Drivers\BuiltIn\SDBusDriver
;Name=SPI1: ;Key=Drivers\BuiltIn\SPI0
;Name=PWM1: ;Key=Drivers\BuiltIn\PWM
;Name=SSP0: ;Key=Drivers\BuiltIn\NTLMSSP_SVC
;Name=COM1: ;Key=Drivers\BuiltIn\Serial3
;Name=WSS1: ;Key=Drivers\BuiltIn\Ws2Serv
;Name=WAV1: ;Key=Drivers\BuiltIn\WaveDev
;Name=PWR1: ;Key=Drivers\BuiltIn\PWRBUTTON
;Name=BKL1: ;Key=Drivers\BuiltIn\Backlight
;Name=DSK2: ;Key=\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class
;Name=NTP0: ;Key=Services\TIMESVC
;Name=DCM1: ;Key=Services\DCOMSSD
;Name=NPW1: ;Key=Drivers\BuiltIn\NdisPower
;Name=V6H1: ;Key=Drivers\BuiltIn\ipv6hlp
;Name=ARS1: ;Key=Drivers\BuiltIn\autoras
;Name=COM2: ;Key=Drivers\BuiltIn\GPS
;Name=DP60: ;Key=Comm\Devices\TCPIP6\DHCPV6L
;Name=IP60: ;Key=Comm\Devices\TCPIP6\IPDevice
;Name=TCP0: ;Key=Comm\Devices\TCPIP\TCPDevice
;Name=IPD0: ;Key=Comm\Devices\TCPIP\IPDevice
;Name=NDS0: ;Key=Drivers\BuiltIn\NDIS
;Name=CRD0: ;Key=Drivers\BuiltIn\credsvc
;Name=I2C1: ;Key=Drivers\BuiltIn\I2C1
;Name=I2C2: ;Key=Drivers\BuiltIn\I2C2
;Name=DSK4: ;Key=Drivers\BuiltIn\FlashDrv

Thanks

Ads


jwoegerbauer

1821 Posts

Posted - 10 juil. 2012 :  13:42:38  Show Profile  Visit jwoegerbauer's Homepage  Reply with Quote
Windows CE does NOT provide a CAN bus driver by default, hence if ever, it is always a 3rd party solution.
Example:
http://www.softing.com/home/en/automotive-electronics/products/can-bus/driver/windows-ce.php
http://e2e.ti.com/support/embedded/wince/f/353/t/159222.aspx

Typical registry entry is:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CANBus]
"Prefix"="CAN"
"Dll"="CANBus.dll"
"Order"=dword:1
"Index"=dword:1

Edited by - jwoegerbauer on 10 juil. 2012 16:44:17
Go to Top of Page

Northy

3 Posts

Posted - 12 juil. 2012 :  11:26:21  Show Profile  Reply with Quote
Thanks. I understand this, but none of the drivers have an entry that looks anything like CAN. There are only the entries shown above and I was hoping someone would recognize one of them as CANBUS driver.

Alternatively I dont know if sometimes serial drivers or other drivers are used ?

I'm a bit at a loss.

Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply/Répondre
 Printer Friendly
Jump To:
GpsPasSion Forums © 2002-2013_GpsPasSion/Manzanite Go To Top Of Page
This page was generated in 0,38 seconds. Powered By: Snitz Forums 2000 Version 3.4.05