OpenOcd Bug in Windows XP

HI Mr SparkFun members

I m a beginner in working in OpenOCD, but, i have to do some simple work(obviously, simple for you ) but too urgent.

I need some help…

I need only to program into chips lpc2212 and its external flash some soft images (elf and bin) by windows prompt console launching (.bat+.cfg)

I installed openOCD 0.4.0 through the windows installer (file openocd.msi here joined),

I m using one LPT wiggler interface to connect to the LPC2212 nxp micro

I begin to write my firsts .cfg file :

“openocd.cfg” :

#daemon configuration

telnet_port 4444

gdb_port 3333

#interface

interface parport

parport_port 0x378

parport_cable wiggler

shutdown

when I write in the console window openocd.exe command i obtaion the following :

C:\Program Files\OpenOCD\0.4.0\bin>openocd.exe -f openocd.cfg

Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

parport port = 0x378

shutdown command invoked

Error: missing privileges for direct i/o

Command handler execution failed

C:\Program Files\OpenOCD\0.4.0\bin> ls

libftdi.dll openocd.cfg.bak openocd_lpc2212_cfi_pp_mdf.cfg

libusb0.dll openocd.exe

C:\Program Files\OpenOCD\0.4.0\bin>

What is missing in my software installation?

Thank you to help me to correct this Error Message.

My objects are to just download some .elf file in an lpc2212 internal flash and .bin in its spansion external flash, by using OpenOCD and LPT wiggler interface.

Thank you very much.

Yours sincerly

Kamel Mahjoub

test engineer

Yours sincerly