Hi,
I would like to use OpenOCD on a desktop computer which only has an additional parallel port PCI card. Thus the I/O base adresses for the parallel port are not the well known 0x278 / 0x378 but 0x9c00 / 0xa400 or similar. Is this possible in general with ioperm? Anybody running such a setup successfully? On my PC it does not work yet (btw: ioperm_status.bat reports ok, but starting OpenOCD it says missing privileges for direct i/o).
Thanks
Georg
FritzBrause:
Hi,
I would like to use OpenOCD on a desktop computer which only has an additional parallel port PCI card. Thus the I/O base adresses for the parallel port are not the well known 0x278 / 0x378 but 0x9c00 / 0xa400 or similar. Is this possible in general with ioperm? Anybody running such a setup successfully? On my PC it does not work yet (btw: ioperm_status.bat reports ok, but starting OpenOCD it says missing privileges for direct i/o).
Thanks
Georg
I use the Yagarto version of OpenOCD, which does not use ioperm, but the ioperm man page at the link below tells you how to configure ioperm for the IO address range that you need.
http://man.he.net/man2/ioperm
– Dave
I don’t think this is going to work. On Unix, ioperm is limited to ports below 0x400, and afaik that’s an architectural limit. I don’t think iopl works on Windows, but you’d have to check the yourself. Using giveio like Yagarto could work, as giveio is said to unconditionally give access to all i/o.
Regards,
Dominic
Ok, giveio seems to work fine.
Thanks,
Georg