Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. PC104 driver with Windows

PC104 driver with Windows

Scheduled Pinned Locked Moved Hardware & Devices
hardwaretutorialdesignquestion
2 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dannygilbert3
    wrote on last edited by
    #1

    Hi ! I am looking for an example (sample code) about how to write a PC104 (ISA bus with new hardware form factor for embedded system) for Windows OS. Any windows can do the work. Windows XP Embedded, Windows CE or Windows 98. I am new in driver design. I understand the WDM model but I saw that we cannot (or is very difficult) to design a driver (based on WDM) for ISA bus (or PC104) because it is not PNP. Some site suggest NT4 kernel mode driver. What to do ??? Another thing, I know that writting driver for WinCE is different than other Windows Driver. Thanks a lot.:wtf: Danny Gilbert Montréal, Canada

    L 1 Reply Last reply
    0
    • D dannygilbert3

      Hi ! I am looking for an example (sample code) about how to write a PC104 (ISA bus with new hardware form factor for embedded system) for Windows OS. Any windows can do the work. Windows XP Embedded, Windows CE or Windows 98. I am new in driver design. I understand the WDM model but I saw that we cannot (or is very difficult) to design a driver (based on WDM) for ISA bus (or PC104) because it is not PNP. Some site suggest NT4 kernel mode driver. What to do ??? Another thing, I know that writting driver for WinCE is different than other Windows Driver. Thanks a lot.:wtf: Danny Gilbert Montréal, Canada

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The NT4 kernel contained most of what is known as WDM (win2k is just NT5 and XP is NT5.1). Almost everything except the plug and play stuff in fact. You can still use the old NT4 API, it is still there, your driver might fail WHQL though as some of these calls are 'disallowed' these days. The cals in question are the ones that access the hardware, these days it is supposed to be done through one of the system bus drivers. However, you can still wirte your own bus driver, we do, and still pass WHQL, so it is a little murky in this respect. Also, 2k and XP (NT 5 and 5.1) still run NT4 drivers, so you will have no problem if you use the NT4 DDK to write the driver. If the device is a network device, and you just stick to using the NDIS api, then it will run on CE (and linux too as there is an NDIS wrapper for linux). If you need to call any of the standard API funcs though your driver will not run on CE. Windows 98 supports a subset of WDM. What sort of device is it, because it is fairly straight forward to write a monolithic (hardware to IO manager) driver of the ISA bus on NT4. Nunc est bibendum!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups