Greetings to list members.
I have a binary driver (that is, no source code to it available) for an old ISA device that I need to debug. This is an Interface device used to communicate with an DSP Board via mapped IO on the ISA bus.
The Hardware is mostly similar to this reference implementation from freescale:
http://www.freescale.com/files/dsp/doc/inactive/APR10.pdf?fsrch=1&WT_TYPE=Application%20Notes&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation
My job is to redesign this device to use the USB bus instead. A Prototype is working, but has some problems. Thus I want to compare it to the original driver regarding to how it accesses the device, and for that I need to find out the exact order of reads/writes, the addresses and the data that was passed.
There will only be a handful of accesses, so manual step-through would be possible.
I assume setting a Breakpoint on HAL.dll!WRITE_PORT_UCHAR and HAL.dll!READ_PORT_UCHAR should do the trick. But before I go into the troubles of setting up a debug target system (having only a single development machine right now, debugging the local Kernel wouldn’t let me set mentioned breakpoint) I wanted to ask experts if this is sound.
Also, when capturing such event with a breakpoint, will I be able to see what is passed to the called function (port and address in this case)?
Are there any better/easier alternatives? I have searched for an ISA bus sniffer tool, but wasn’t lucky.
You answers will be greatly appreciated.
Best regardsm
Fabian Cordes