Hi Chris,
I've just downloaded the latest windows installer, and I'm afraid I still
have problems. It seems to me that the binaries do not use the new HIL.dll.
I have been testing first by trying to get lpt1 working when giving the port
number explictly as 0x378:
msp430-jtag -r --lpt=0x378
or
msp430-gdbproxy msp430 0x378
Neither works - they give "Could not initialize the library (port: 0x378)"
and "Could not initialize device interface" respectively.
For further testing, I tried using _parjtag.pyd (which I used a while ago to
make a simple program updater for a customer) along with the new HIL.dll.
This time I had more success - the Python code:
_parjtag.connect("0x378")
_parjtag.reset(1, 1)
worked perfectly.
However, trying on my lpt2 with address "0xb000" failed ("IOError: Can't
open interface"). This leaves me a bit stuck - either there is something
wrong with my second parallel port or its cable (always a possibility),
there is some limitation in the range of I/O addresses that can be used in
HIL.c or giveio.sys (I can't see any problem there), or my parallel port
card can't be accessed in this way. Either way, it's going to take a bit
more time before I can trace the problem - I'll have to do some low-level
testing on the parallel port to see if I can get anything out of it at all.
It's something I'll do when I get the chance - having the second port usable
would be very nice - but I can't make time just at the moment.
As for msp430-jtag and msp430-gdbproxy - I don't know why they don't work
given "0x378" as a parameter, HIL.dll works as expected from _parjtag.
Regards,
David
> David Brown wrote:
> > I believe, but can't be sure, that my PCI parallel port card *is* mapped
to
> > IO. Windows (w2k) device manager reports it as using IO ports
> > 0xb000..0xb007, which looks to me like it could be accessed as a
standard
> > parallel port at a non-standard address.
> ...
> > When I get the chance, I'll try some bit-banging on my lpt2 and report
any
> > results back to you.
>
> the HIL sources in the CVS now accept a an address. it must start with
> "0x" to be an address, "1" .. "3" works as ususal for lpt1 ... lpt3.
>
> i can mail you an updated HIL.dll only, if you want, and i'll upload a
> new win32 installer later.
>
> chris
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
>