sjf2410wiggler

所属分类:处理器开发
开发工具:Visual C++
文件大小:562KB
下载次数:73
上传日期:2006-09-29 18:31:24
上 传 者ericbin
说明:  支持wiggler的sjf2410工具,可以使用wiggler来烧写2410的flash
(support the wiggler sjf2410 tools, wiggler can be used to the flash of burning 2410)

文件列表:
sjf2410wiggler (0, 2005-11-09)
sjf2410wiggler\2410loader.bin (2392, 2002-04-25)
sjf2410wiggler\2410mon.bin (20528, 2002-08-19)
sjf2410wiggler\GIVEIO (0, 2005-11-09)
sjf2410wiggler\GIVEIO\giveio.INI (195, 2000-05-16)
sjf2410wiggler\GIVEIO\giveio.inf (1654, 2000-05-14)
sjf2410wiggler\GIVEIO\GIVEIO.SYS (2200, 2000-05-13)
sjf2410wiggler\GIVEIO\GIVEIO.zip (48710, 2002-05-07)
sjf2410wiggler\GIVEIO\Giveio (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\POKEIO.C (2441, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\POKEPROC.C (652, 1995-09-12)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\MAKEFILE (267, 1994-09-04)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\SOURCES (97, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\TOTALIO.C (4040, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\I386 (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\I386\FREE (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\I386\FREE\TOTALIO.SYS (1760, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\OBJ (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\OBJ\_OBJECTS.MAC (254, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\OBJ\I386 (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\TOTALIO\OBJ\I386\TOTALIO.OBJ (1227, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO\GIVEIO.C (5754, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO\MAKEFILE (267, 1994-09-04)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO\SOURCES (95, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO\I386 (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO\I386\FREE (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO\OBJ (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\GIVEIO\OBJ\I386 (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\TSTIO (0, 2005-11-09)
sjf2410wiggler\GIVEIO\Giveio\TSTIO\TSTIO.C (2377, 1995-09-11)
sjf2410wiggler\GIVEIO\Giveio\TSTIO\TSTIO.EXE (33792, 1996-04-03)
sjf2410wiggler\GIVEIO\Giveio\TSTIO\TSTIO.OBJ (34118, 1997-08-07)
sjf2410wiggler\S3C2410_mod.bsd (37260, 2002-05-30)
sjf2410wiggler\sjf2410 (0, 2005-11-09)
sjf2410wiggler\sjf2410\jtag.c (8502, 2002-06-21)
sjf2410wiggler\sjf2410\sjf.ncb (140288, 2005-11-09)
sjf2410wiggler\sjf2410\sjf.dsw (529, 2002-06-10)
... ...

Author: Dale Roberts, Direct I/O and Windows NT Here are two helpful hints to get you going with GIVEIO. The first section below mentions the INSTDRV utility that is provided with the Microsoft DDK. If you do not have access to the DDK, you can use Paula Tomlinson's program LOADDRV instead. She describes it in her May 1995 article in Windows/DOS Developer's Journal (now Windows Developer's Journal). You can get the program from their FTP site at: ftp://ftp.mfi.com/pub/windev/1995/may95.zip. ------------------------------------------------------------------ Device Driver Installation Made Easy The Microsoft NT Device Driver Kit documentation implies in several places that there are several steps involved in installing a device driver and making it accessible to a Win32 application. It explains that you should edit the registry manually and then reboot the system. But device drivers are dynamically loadable and unloadable in NT, and the DDK comes with a very handy utility called INSTDRV that demonstrates this facility in a very practical manner. INSTDRV is a console application that will register, load, and start a kernel mode device driver. It does not require you to edit the registry manually or reboot the computer. On the command line you simply give the name of your device driver and the complete path to the .SYS file (which does not need to be in the system's DRIVERS directory). After this command is executed, you will find that the driver has been registered with the system and appears in the Devices applet in the control panel. If you give the word remove instead of the path, the driver is removed from the system and taken out of the driver database. Once the driver is loaded and started, you can use the control panel's Devices applet to start and stop it, or you can use the net start and net stop commands (these are much faster) from a console window. When a kernel mode device is stopped, it is in also unloaded from memory. The next time you start the device, a fresh copy of the driver is read from the hard drive, if it has been modified. This makes it very convenient to develop device drivers, since you can go through the modify, stop, start cycle repeatedly without ever needing to reboot. If you need your driver to load at boot time, you can go into the Devices applet and change its startup mode to boot. The other component that is needed to make the driver visible to user mode applications, so they can use CreateFile() calls to access the driver, is registering the name in the DOS Devices name space. This can be done, as documented in the DDK, by editing the registry manually and rebooting. Or, much more simply, the kernel mode driver can call the IoCreateSymbolicLink() function to register the name itself. The GIVEIO driver shown in Listing Four uses the later technique. Once the name is registered, user mode applications can get a file handle to the device driver by calling CreateFile() with the driver name as the file parameter, but preceding the driver name with the special cookie \\.\. The TESTIO application in Listing Five uses this technique. ------------------------------------------------------------------ Quick Trick: Using DEBUG With Port I/O Sometimes you just need to do a quick I/O operation to a port. In DOS, you could use the DEBUG program to accomplish this. In NT, once you have the GIVEIO device driver up and running, you can once again use DEBUG for port I/O. If you look at the source code for the test application, you'll see that all it does is open and close the GIVEIO device driver. It uses the special cookie \\.\ before the driver name in order to access it. Without modifying DEBUG, you can have it open this device driver by simply typing debug \\.\giveio in an NT console window. You will get an error message complaining that the file \\.\giveio is not found, but it will give DEBUG I/O access anyway. Subsequent DOS applications that are run from this console window will also have I/O access. WIN32 applications executed from this console window will still cause exceptions. This is because DEBUG (and any other DOS application) runs in the context of the VDM (Virtual DOS Machine) process of the console box, whereas each WIN32 application gets its own process. The VDM process stays active as long as the console window is open, but each WIN32 application creates a brand new process with the IOPM offset initialized to point beyond the end of the TSS.

近期下载者

相关文件


收藏者