I am trying to build openocd r 516 in order to program the flash on my imote2 (PXA271) using a wiggler. I installed giveio and did the following:
-./bootstrap
-./configure --enable-parport --disable-parport-ppdev --enable-parport-giveio
-make
Make doesn’t succeed, it returns the following errors (in parport.c):
ERROR(“missing privileges for direct i/o”);
return ERROR_JTAG_INIT_FAILED;
With openOCD version 3.1, the make succeeds, but version 3.1 has some issues with imote2, imote2 community recommended using openOCDr 516.
Any ideas?
Samer