xds510_win
所属分类:并口编程
开发工具:C/C++
文件大小:43KB
下载次数:139
上传日期:2005-08-05 15:23:25
上 传 者:
winxin
说明: 一个老外写的用软件模拟ti公司的dsp硬件仿真器。
(a foreigner to write software simulation of the dsp ti hardware simulator.)
文件列表:
patch (0, 2003-01-12)
patch\patch.cpp (829, 2003-01-12)
patch\patch.dsp (3898, 2003-01-12)
patch\patch.dsw (533, 2003-01-12)
patch\patch.exe (45056, 2003-01-12)
patch\StdAfx.cpp (292, 2003-01-12)
patch\StdAfx.h (667, 2003-01-12)
xdsload (0, 2003-01-12)
xdsload\GIVEIO.SYS (5248, 2003-01-12)
xdsload\loaddrv.cpp (4931, 2003-01-12)
xdsload\LOADDRV.H (440, 2003-01-12)
xdsload\res (0, 2003-01-12)
xdsload\resource.h (731, 2003-01-12)
xdsload\res\xdsload.ico (1078, 2003-01-12)
xdsload\res\xdsload.rc2 (399, 2003-01-12)
xdsload\StdAfx.cpp (209, 2003-01-12)
xdsload\StdAfx.h (999, 2003-01-12)
xdsload\xds510 (0, 2003-01-12)
xdsload\xds510\xds510.cpp (15907, 2003-01-12)
xdsload\xds510\xds510.h (1052, 2003-01-12)
xdsload\xds510\xds510_io.cpp (2826, 2003-01-12)
xdsload\xds510\xds510_io.h (1046, 2003-01-12)
xdsload\xdsload.cpp (1465, 2003-01-12)
xdsload\xdsload.dsp (4436, 2003-01-12)
xdsload\xdsload.dsw (537, 2003-01-12)
xdsload\xdsload.h (1193, 2003-01-12)
xdsload\xdsload.rc (4002, 2003-01-12)
xdsload\xdsloadDlg.cpp (15832, 2003-01-12)
xdsload\xdsloadDlg.h (1595, 2003-01-12)
XDS510 simulator Win32 port
2002 Lorenzo Lutti (lorenzo.lutti@tiscalinet.it)
This is a port for the Win32 platform of the original Linux XDS510 simulator by Blaise Gassend:
http://www.mit.edu:8001/people/gassend/xds510/xds510.html
It works under Windows NT/2000/XP and must be tested (and probably adapted) for the other versions of Windows.
Under ./xdsload subfolder you can find the Visual C++ 6 project of a Code Composer Studio loader, that "intercepts" the I/O calls to the XDS510 interface and passes them to the Blaise's state machine code. It is basically a simple user-mode debugger and code patcher.
Under ./patch subfolder you can find the project (as well as the compiled executable) of the patch for x***ast1.sys driver. I have just disabled the I/O permission grant done with the undocumented NT function Ke386SetIoAccessMap() (you need a disassembler - I suggest W32DSM89 - to check the differences). Since I didn't want to distribute copyrighted material, I've left to you the task of modifying your own copy. If you don't patch the driver, the Code Composer I/O accesses won't throw an exception and the loader won't work.
Some notes:
-This code "works", i.e. it intercepts the Code Composer I/O calls, passes them to Blaise's code and passes back the results to the Code Composer correctly. That's all. I don't know if it is actually able to flash 24x and 28x devices, I haven't tested it. I've tested it only on a TMS320VC54xx platform (my goal was to do some in-circuit debugging, not only flashing the code) and apparently it doesn't work for this purpose. Maybe it's enough to add some functions to Blaise's state machine, I don't have enough time to do it by myself but I will be very happy to know if someone is going to try this way.
-You have to put GIVEIO.SYS in the work directory of the loader. This driver is needed to do I/O from/to the simplified JTAG interface.
-I have just adapted the Blaise's code in order to make it compilable with Visual C++. No new functions have been added.
-This isn't a really straightforward code. It is needed good knowledge of Win32 and assembly programming.
近期下载者:
相关文件:
收藏者: