Forums

Cannot start dsk3d on Win2000 :((

Started by m bastan October 17, 2003

Hi,

When I invoke dsk3d I always get:

TESTING TMS320DSK RESET AT PORT 0x378 (LPT1)
>>>>>HPACK (ERROR pin)did not go high during reset

SELECT 1)LPT1 0x378
2)LPT2 0x278
3)LPT3 0x3BC
4)H (help)
...............
...............

What is the problem???
Could anyone please help?



Hello M Bastan

You need to be using DSK3DW.EXE (DSK3 Debugger for Windows)

The bottom line is that the old console programs that need to access the PC
IO-ports are blocked in the NT kernel derived versions of windows. The
windows programs that are usable with the NT-kernel are

DSK3DW Windows Debugger for C31/VC33 DSK
DSK3WIN3 Spectrum Analyzer/Oscilloscope for VC33 DSK/PCM3003 stereo codec
DSK3WIN Spectrum Analyzer/Oscilloscope for C31 DSK/TLC3204 codec
WINWAV3 Wav file play/record for VC33 DSK

Notes:

The command line tools, DSK3A, FILECVRT etc... that do not communicate with
the DSK hardware will run in all versions of Windoze.

Another option is to use something like DIRECTIO (look this up with Google).
This program is supposed to block the IOPM mechanism that the Windows NT
kernel uses to prevent programs (and programmers) from using the PC IO channel.

The principle behind DIRECTIO is that beginning with the x386 a interrupt
enable mask was added that would, just like on the C3x, enable and disable
an interrupt whenever an IO access was made for a particular address.
Therefor, if the proper bits are disabled, no interrupts will occur and the
old applications come back to life. The problem however is that M-S in
their infinite wisdom decided that this was too good, and no apparantly in
the newer OS's continually updates the IOPM from the kernel. So, unless you
have a way to modify this process at the kernel level (that is make the
change in the original and not the copy), you are %&*%&*(.

If you are wondering how the Windows applications get around this, it is was
accomplished by using a third party driver. In this case, the entry point
of an IO routine contained in the third party DLL is found, and data is
transferred by using an indirect call to that DLL. Two publicly available
DLL's are supported, and you can at least in one case get the source code
(if you want to look at how this is done). The console based applications,
that dont know how to do this (though I wonder if I might not be able to
hack in), therefor no longer have IO access.

Another supposed trick for XP users is to put the OS in its Win98
copatability mode... whatever that is.

Or... Linux is looking better and better!

Best regards,
Keith Larson

=============================================
At 02:14 PM 10/17/03 -0000, you wrote:
Hi,

When I invoke dsk3d I always get:

TESTING TMS320DSK RESET AT PORT 0x378 (LPT1)
>>>>>HPACK (ERROR pin)did not go high during reset

SELECT 1)LPT1 0x378
2)LPT2 0x278
3)LPT3 0x3BC
4)H (help)
...............
What is the problem???
Could anyone please help?
+-----------+
|Keith Larson |
|Member Group Technical Staff |
|Texas Instruments Incorporated |
| |
| 281-274-3288 |
| |
| www.micro.ti.com/~klarson |
|-----------+
| TMS320C3x/C4x/VC33 Applications |
| |
| TMS320VC33 |
| The lowest cost and lowest power 500 w/Mflop |
| floating point DSP on the planet! |
+-----------+