A library of over 250,000 device drivers, firmware, BIOS and utilities for Windows. Konica Minolta Bizhub 3602P MFP Universal Print Driver 3.8.0.0 1 download. Printer / Scanner Konica Minolta. Windows 10, Windows 8.1, Windows 8, Windows 7. February 8th, 10:42 GMT. Using the USB drivers that are built into the microcontroller hardware.
- Download Coocox Port Devices Driver Printer
- Download Coocox Port Devices Driver Updater
- Download Coocox Port Devices Drivers
- Download Coocox Port Devices Driverpack
- Uninstalling drivers. Uninstalling drivers is the most difficult part of the process, and it’s still not that hard. It’s a necessary step to take in order to install Bluetooth Driver Installer. You’ll need to navigate to your Device Manager through the Windows start menu. Then, you’ll right-click on the device you want and click.
- Colinkex usb download version of program will found coocox ide. Colinkex is a hardware debugging adapter which supports jtag & sw debugging with arm cortex m devices in coocox software and keil realview mdk. Since setting up an external usb device is different in each. This was the last driver for the tp-link wireless usb adapter listed below.
- An unknown device isn’t just unknown — it’s not functioning until you install the right driver. Windows can identify most devices and download drivers for them automatically. When this process fails — or if you disable automatic driver downloads — you’ll have to identify the device and hunt the driver down on your own.
This is the Article to introduce the programming of ARM Cortex-M3 LPC1768 Microcontroller. First step in this journey is to get yourself introduced to the programming Environment. For programming LPC1768 plenty of free software are available online. For ARM based Microcontrollers it is suggested to go with Keil µVision4. For the beginner, Demo version of Keil is more than enough to start with. Let’s start with the brief introduction to the LPC1768 ARM cortex M3 based Microcontroller.
The LPC 1768 is ARM Cortex- M3 based Microcontrollers for embedded application features in low power consumption and a high level of integration. The ARM Cortex M3 is designed in a such way to enhance debug features and a higher level of system integration. It clocks at a CPU frequency of 100 MHz, and incorporates a 3-stage pipeline and uses a Harvard architecture with separate local instruction and data buses for third bus peripherals. The ARM Cortex- M3 CPU have an internal pre-fetch unit to support speculative branching. The peripheral components include 512KB of flash memory, 64kb of data memory, Ethernet MAC, USB OTG, 4 UART’s, 8-channel general purpose DMA controller, 2 SSP Controllers, 10-bit DAC, Quadrature encoder interface, SPI interface, 3 I2C bus interface, 2 input plus 2 outputs I2S bus interface, 4 general purpose timers, ultra-low power Real-Time Clock (RTC) with separate battery supply, and up to 70 general purpose I/O pins, 6-output general purpose PWM. The LPC1768/66/65/64 are pin-compatible with the 100-pin LPC236x ARM7-based Microcontroller series.
Setting up of Programming and debugging Environment:
First step in this process is to install Keil MDK (Microcontroller Development Kit).In the following series of tutorial we are going to use Keil µVision4 integrated with CooCox Debugger. You can download the Keil IDE from the below link.
Step by Step installation guide is explained in this video.
In the following tutorials we will be using CoLinkEx ARM-JTAG Programmer which is USB programmer.

This Debugger is an open source you can also make one for you. It is very easy to use we have to do two things before starting.
Install Drivers for the Debugger.
Install Plugin for the Keil IDE.
Install the Driver of CoLinkEx:
You can download the driver from http://www.coocox.org/wiki/coocox/CoLinkEx/CoLinkEx-Support#Software.
Install the driver and then plug in the debugger to the computer USB and check whether it is working properly by seeing the Device manager of the Computer.
Fig. 1: Installing Driver of CoLinkEx for Setting up Programming and debugging Environment in ARM
Install the plugin and integrate with Keil MDK:
You can download the driver from http://www.coocox.org/book/coocox/stop-maintanance-product/MDKPlugin/MDKPlugin
Scroll down to the bottom and download the MDKPlugin.
Open the Setup file and install the Plugin in the Directory where Keil is installed.
Fig. 2: Installing Plugin and integrate with Keil MDK in ARM Cortex M3
Register Configuration (lpc17xx.h):
As LPC1768 is 32-bit architecture which is memory mapped to the location 0x2009 C000 to 0x2009 FFFF. Special Function registers of LPC1768 are defined in lpc17xx.h which can be included in the beginning of the project. Ports (PORT0 – PORT4) are available in LPC1768. Even though every PORT will not have 32 physical pins. A structure is defined in the System file LPC_GPIOn(n= 0,1,2,3) contains all the registers for required for GPIO operation. Refer lpc17xx.h file for more info on the registers.
PINSEL: GPIO Pins Select Register:
PINSEL register is to be configured before using the PIN since almost all the pins has a max of four functions. Below table explains the function for a particular pin using two bits of the PINSEL register.
Value | Function | Enumeration |
00 | Primary (default) function, typically GPIO port | PINSEL_FUNC_0 |
01 | First alternate function | PINSEL_FUNC_1 |
10 | Second alternate function | PINSEL_FUNC_2 |
11 | Third alternate function | PINSEL_FUNC_3 |
Fig. 3: Bit Values of PINSEL Register to select GPIO in ARM Cortex M3
Download Coocox Port Devices Driver Printer
FIODIR:Fast GPIO Direction Control Register.
This register individually controls the direction of each port pin.
Values | Direction |
0 | Input |
1 | Output |
Fig. 4: Bit Values of FIODIR Register to Control Direction in ARM Cortex M3
FIOSET:Fast Port Output Set Register.
This register controls the state of the output pins. Writing 1s produces highs at the corresponding port pins. Writing 0s has no effect. Reading this register returns the current contents of the port output register not the physical port value.
Values | FIOSET |
0 | No Effect |
1 | Sets High on Pin |
Fig. 5: Bit Values of FIOSET Register to Control state of Pin in ARM Cortex M3

FIOCLR:Fast Port Output Clear Register.
This register controls the state of the output pins. Writing 1s produces lows at the corresponding port pins. Writing 0s has no effect.
Values | FIOCLR |
0 | No Effect |
1 | Sets Low on Pin |
Fig. 6: Bit Values of FIOCLR Register to Control Output Pins in ARM Cortex M3
FIOPIN:Fast Port Pin Value Register.
This register is used for both reading and writing data from/to the PORT.
Output: Writing to this register places corresponding values in all bits of the particular PORT pins.
Input: The current state of digital port pins can be read from this register, regardless of pin direction or alternate function selection (as long as the pins are not configured as an input to ADC).
Note:It is recommended to configure the PORT direction and pin function before using it.
Create a project using Keil uvision4 for LPC1768 Microcontroller:
In this section, we will start creating a project in Keil MDK we have already installed Keil µVision and Co-MDK Plug-in + CoLinkEx Drivers required for the CoLinkEx programming adapter. Let’s get started to create a new µVision project to running LED by adding a simple delay between each LED connected to PORT 2 of LPC1768.
Here I am using third party board which consists of four on-board LEDs connected to PORT 2.
The first thing you have to do is download these files and put together in a folder.
Open “Keil µVision4” default workplace and then go to “Project” –> “New µVision Project” and then browse to the folder you created and give it name as blink and hit on “save”.
Fig. 7: Image Showing Keil µVision4 Default Workplace to Create Project for LPC1768 Microcontroller
Fig. 8: Saving Project Name as Blink in Keil µVision4 for LPC1768 Microcontroller
Popup window will show there we have to select “LPC1768” from NXP and then hit on “ok”
Fig. 9: Selecting LPC1768 from Device Target Window in Keil µVision4
Now it ask you to copy “Startup_LPC1768xx.s” and hit on “Yes”
Fig. 10: Image Showing message on µVision4 Window for Copying LPC1768 to Project Folder
Now right click on “Target 1” in the project pane and click on “Add Existing files to the project”

Fig. 11: Image Showing Source Group Window to Add Files in KEIL uVision Software to program LPC1768
Fig. 12: Selecting Existing File Blink from Source Group Window in KEIL to program LPC1768
At this point we need to configure programming adapter CoLinkEx. So click on “Options for Target” on the menu bar and then go to “Debug” –> select “CooCox Debugger” from drop down menu.

Fig. 13:Image Showing Window to Select the Debugger Options to Configure Programming Adapter CoLinkEx.
then hit on Setting –> choose SYSRESETREQ from drop down menu –> hit on “Ok”
Fig. 14: Selecting SYSRESETREQ from Debugger Options
Now go to “Utilities” –> uncheck “Use Debug Driver” and then choose “CooCox Debugger” from drop down menu.
Here again we have to go to “Setting” –> click on “Add” –> and choose “LPC17xx IAP 512kB Flash” from list and hit on “ok”
Hit on “Build” icon on main menu and once we build successfully without any error. Then simply hit on “Load”.
Now we can see that 4 LED connected to P2 is Running. In the next tutorial we would discuss about a program which includes some Input Function.
Code Description:
ARM programming requires good handling of Bit manipulation in C language. Here is the small note in the introduction of Bit manipulation to a newbie.
C has direct support for bitwise operations that can be used for bit manipulation. In the following examples, n is the index of the bit to be manipulated within the variable bit_fld, which is an unsigned char being used as a bit field. Bit indexing begins at 0, not 1. Bit 0 is the least significant bit.
Set a bit
bit_fld |= (1 << n)
Clear a bit
bit_fld &= ~(1 << n)
Toggle a bit
bit_fld ^= (1 << n)
Test a bit
bit_fld & (1 << n)
LPC_GPIO2->FIODIR = 0x000000FF; /* P2.xx defined as Outputs */
LPC_GPIO2->FIOCLR = 0x000000FF; /* turn off all the LEDs */
The above two lines is to SET the PORT 2 pins as output and clearing it. LPC_GPIO2 structure consists of FIODIR,FIOCLR and FIOSET members.
for(i = 0; i < 8; i++)
{
LPC_GPIO2->FIOSET = 1 << i;
for(j = 1000000; j > 0; j–);
}
Project Source Code
Project Components
Project Video
-->A minidriver or a miniport driver acts as half of a driver pair. Driver pairs like (miniport, port) can make driver development easier. In a driver pair, one driver handles general tasks that are common to a whole collection of devices, while the other driver handles tasks that are specific to an individual device. The drivers that handle device-specific tasks go by a variety of names, including miniport driver, miniclass driver, and minidriver.
Microsoft provides the general driver, and typically an independent hardware vendor provides the specific driver. Before you read this topic, you should understand the ideas presented in Device nodes and device stacks and I/O request packets.
Every kernel-mode driver must implement a function named DriverEntry, which gets called shortly after the driver is loaded. The DriverEntry function fills in certain members of a DRIVER_OBJECT structure with pointers to several other functions that the driver implements. For example, the DriverEntry function fills in the Unload member of the DRIVER_OBJECT structure with a pointer to the driver's Unload function, as shown in the following diagram.
The MajorFunction member of the DRIVER_OBJECT structure is an array of pointers to functions that handle I/O request packets (IRPs), as shown in the following diagram. Typically the driver fills in several members of the MajorFunction array with pointers to functions (implemented by the driver) that handle various kinds of IRPs.
An IRP can be categorized according to its major function code, which is identified by a constant, such as IRP_MJ_READ, IRP_MJ_WRITE, or IRP_MJ_PNP. The constants that identify major function code serve as indices in the MajorFunction array. For example, suppose the driver implements a dispatch function to handle IRPs that have the major function code IRP_MJ_WRITE. In this case, the driver must fill in the MajorFunction[IRP_MJ_WRITE] element of the array with a pointer to the dispatch function.
Typically the driver fills in some of the elements of the MajorFunction array and leaves the remaining elements set to default values provided by the I/O manager. The following example shows how to use the !drvobj debugger extension to inspect the function pointers for the parport driver.
In the debugger output, you can see that parport.sys implements GsDriverEntry, the entry point for the driver. GsDriverEntry, which was generated automatically when the driver was built, performs some initialization and then calls DriverEntry, which was implemented by the driver developer.
You can also see that the parport driver (in its DriverEntry function) provides pointers to dispatch functions for these major function codes:
- IRP_MJ_CREATE
- IRP_MJ_CLOSE
- IRP_MJ_READ
- IRP_MJ_WRITE
- IRP_MJ_QUERY_INFORMATION
- IRP_MJ_SET_INFORMATION
- IRP_MJ_DEVICE_CONTROL
- IRP_MJ_INTERNAL_DEVICE_CONTROL
- IRP_MJ_CLEANUP
- IRP_MJ_POWER
- IRP_MJ_SYSTEM_CONTROL
- IRP_MJ_PNP
The remaining elements of the MajorFunction array hold pointers to the default dispatch function nt!IopInvalidDeviceRequest.
In the debugger output, you can see that the parport driver provided function pointers for Unload and AddDevice, but did not provide a function pointer for StartIo. The AddDevice function is unusual because its function pointer is not stored in the DRIVER_OBJECT structure. Instead, it is stored in the AddDevice member of an extension to the DRIVER_OBJECT structure. The following diagram illustrates the function pointers that the parport driver provided in its DriverEntry function. The function pointers provided by parport are shaded.
Making it easier by using driver pairs
Download Coocox Port Devices Driver Updater
Over a period of time, as driver developers inside and outside of Microsoft gained experience with the Windows Driver Model (WDM), they realized a couple of things about dispatch functions:
- Dispatch functions are largely boilerplate. For example, much of the code in the dispatch function for IRP_MJ_PNP is the same for all drivers. It is only a small portion of the Plug and Play (PnP) code that is specific to an individual driver that controls an individual piece of hardware.
- Dispatch functions are complicated and difficult to get right. Implementing features like thread synchronization, IRP queuing, and IRP cancellation is challenging and requires a deep understanding of how the operating system works.
To make things easier for driver developers, Microsoft created several technology-specific driver models. At first glance, the technology-specific models seem quite different from each other, but a closer look reveals that many of them are based on this paradigm:
- The driver is split into two pieces: one that handles the general processing and one that handles processing specific to a particular device.
- The general piece is written by Microsoft.
- The specific piece may be written by Microsoft or an independent hardware vendor.
Suppose that the Proseware and Contoso companies both make a toy robot that requires a WDM driver. Also suppose that Microsoft provides a General Robot Driver called GeneralRobot.sys. Proseware and Contoso can each write small drivers that handle the requirements of their specific robots. For example, Proseware could write ProsewareRobot.sys, and the pair of drivers (ProsewareRobot.sys, GeneralRobot.sys) could be combined to form a single WDM driver. Likewise, the pair of drivers (ContosoRobot.sys, GeneralRobot.sys) could combine to form a single WDM driver. In its most general form, the idea is that you can create drivers by using (specific.sys, general.sys) pairs.
Function pointers in driver pairs
In a (specific.sys, general.sys) pair, Windows loads specific.sys and calls its DriverEntry function. The DriverEntry function of specific.sys receives a pointer to a DRIVER_OBJECT structure. Normally you would expect DriverEntry to fill in several elements of the MajorFunction array with pointers to dispatch functions. Also you would expect DriverEntry to fill in the Unload member (and possibly the StartIo member) of the DRIVER_OBJECT structure and the AddDevice member of the driver object extension. However, in a driver pair model, DriverEntry does not necessarily do this. Instead the DriverEntry function of specific.sys passes the DRIVER_OBJECT structure along to an initialization function implemented by general.sys. The following code example shows how the initialization function might be called in the (ProsewareRobot.sys, GeneralRobot.sys) pair.

The initialization function in GeneralRobot.sys writes function pointers to the appropriate members of the DRIVER_OBJECT structure (and its extension) and the appropriate elements of the MajorFunction array. The idea is that when the I/O manager sends an IRP to the driver pair, the IRP goes first to a dispatch function implemented by GeneralRobot.sys. If GeneralRobot.sys can handle the IRP on its own, then the specific driver, ProsewareRobot.sys, does not have to be involved. If GeneralRobot.sys can handle some, but not all, of the IRP processing, it gets help from one of the callback functions implemented by ProsewareRobot.sys. GeneralRobot.sys receives pointers to the ProsewareRobot callbacks in the GeneralRobotInit call.
Download Coocox Port Devices Drivers
At some point after DriverEntry returns, a device stack gets constructed for the Proseware Robot device node. The device stack might look like this.
As shown in the preceding diagram, the device stack for Proseware Robot has three device objects. The top device object is a filter device object (Filter DO) associated with the filter driver AfterThought.sys. The middle device object is a functional device object (FDO) associated with the driver pair (ProsewareRobot.sys, GeneralRobot.sys). The driver pair serves as the function driver for the device stack. The bottom device object is a physical device object (PDO) associated with Pci.sys.
Notice that the driver pair occupies only one level in the device stack and is associated with only one device object: the FDO. When GeneralRobot.sys processes an IRP, it might call ProsewareRobot.sys for assistance, but that is not the same as passing the request down the device stack. The driver pair forms a single WDM driver that is at one level in the device stack. The driver pair either completes the IRP or passes it down the device stack to the PDO, which is associated with Pci.sys.
Example of a driver pair
Suppose you have a wireless network card in your laptop computer, and by looking in Device Manager, you determine that netwlv64.sys is the driver for the network card. You can use the !drvobj debugger extension to inspect the function pointers for netwlv64.sys.
In the debugger output, you can see that netwlv64.sys implements GsDriverEntry, the entry point for the driver. GsDriverEntry, which was automatically generated when the driver was built, performs some initialization and then calls DriverEntry, which was written by the driver developer.
In this example, netwlv64.sys implements DriverEntry, but ndis.sys implements AddDevice, Unload, and several dispatch functions. Netwlv64.sys is called an NDIS miniport driver, and ndis.sys is called the NDIS Library. Together, the two modules form an (NDIS miniport, NDIS Library) pair.
This diagram shows the device stack for the wireless network card. Notice that the driver pair (netwlv64.sys, ndis.sys) occupies only one level in the device stack and is associated with only one device object: the FDO.
Available driver pairs
The different technology-specific driver models use a variety of names for the specific and general pieces of a driver pair. In many cases, the specific portion of the pair has the prefix 'mini.' Here are some of (specific, general) pairs that are available:
- (display miniport driver, display port driver)
- (audio miniport driver, audio port driver)
- (storage miniport driver, storage port driver)
- (battery miniclass driver, battery class driver)
- (HID minidriver, HID class driver)
- (changer miniclass driver, changer port driver)
- (NDIS miniport driver, NDIS library)
Note As you can see in the list, several of the models use the term class driver for the general portion of a driver pair. This kind of class driver is different from a standalone class driver and different from a class filter driver.